question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection timeout too long

See original GitHub issue

What 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).

  1. When using ChocolateyGUI, I try to update a package.
  2. The update process starts, and choco.exe is invoked.
  3. Then it tries to fetch the package details from chocolatey.org.
  4. 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:open
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
corbobcommented, Jun 13, 2022

@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.

0reactions
AdmiringWormcommented, Jun 30, 2022

Since this is a Chocolatey GUI issue, I’ll move this issue over to the correct repository.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found