Connection timeout too long
See original GitHub issueWhat You Are Seeing?
The remote server (chocolatey.org) response request times out, after a very, very long time.
What is Expected?
Choco should have a much shorter timeout (something like 10 seconds, maybe?) and then try again (since it’s a very temporary problem), and fail only after trying a few times.
How Did You Get This To Happen? (Steps to Reproduce)
This bug happens irregularly, depending on network conditions (which could be anything between chocolatey.org, the ISP, and the computer).
- When using ChocolateyGUI, I try to update a package.
- The update process starts, and choco.exe is invoked.
- Then it tries to fetch the package details from chocolatey.org.
- If there is a minor hiccup in the network that causes the response to not reach choco for whatever reason, it keeps waiting for a response, when it could just request it again (and it would work).
Output Log
I’ll include the logs the next time it happens.
Full Log Output
PLACE LOG CONTENT HERE - WE NEED _ALL_ DETAILED OUTPUT BASED ON THE ABOVE TO BE ABLE TO PROVIDE SUPPORT (YOU WILL FIND THAT IN THE $env:ChocolateyInstall\logs\chocolatey.log between the `=====`)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Fix the ERR_CONNECTION_TIMED_OUT Error
An ERR_CONNECTION_TIMED_OUT error typically means there is something wrong with your local network connection. However, that's not always the ...
Read more >How to Fix the ERR_CONNECTION_TIMED_OUT Error
ERR_CONNECTION_TIMED_OUT, also called the timeout error, means a website took too long to respond to the browser's request. Generally, a site ...
Read more >11 Ways to Fix the ERR_CONNECTION_TIMED_OUT Error
This error usually occurs when there is an issue with the internet connection and the website does not load. The name of this...
Read more >What You Will Learn
An 'err connection timed out' error is something that can be easily fixed by updating your system's network adapter driver. We recommend using ......
Read more >How to Fix the "err_connection_timed_out" Error
An ERR CONNECTION TIMED OUT error usually indicates that there is a problem with your local network connection. That is not always the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@opusforlife2 can you confirm that this does not happen with
choco.exe
? Based on the description this sounds like a Chocolatey GUI issue, and I’d like to confirm this before moving the issue to that repository.Since this is a Chocolatey GUI issue, I’ll move this issue over to the correct repository.