Open the software root directory logs
Folder, open the log txt file, and see the following error log content
Server: ; StatusCode: 0(0); Length: or failed to get the encoding: Unable to connect to the remote server
1. Unable to connect to the server
2. Long response time
3. The returned content is null
1. Copy the URL to the browser and test whether it opens normally.
2. It can be opened normally. If the URL jumps, such as http jumping to https, or the root domain jumping to the www domain, the address entered into the software must be the address after the browser jumps as the input address.
Why do you need to set a timeout? For any request, as long as the server does not return data or wait for the server to respond, no matter how long the response takes, it will not be automatically disconnected.
What is the role of the timeout setting? Every request must be completed before the specified time. If it is not completed, it will be treated as a failed link to avoid too long connection time.
What is the processing mechanism? If the download fails once, it will retry once. If the download fails twice, it will completely abandon the download of the link.