chocolatey timeout when installing openssh

Craig Rodrigues's Avatar

Craig Rodrigues

17 Aug, 2017 04:03 PM

I have had an appveyor config working for about a year now.
In the past 24 hours, I suddenly started seeing random timeout errors when installing chocolatey:

https://ci.appveyor.com/project/adiroiban/twisted/build/trunk-3718/...

choco install openssh -confirm
Chocolatey v0.10.7
Installing the following packages:
openssh
By installing you accept licenses for the packages.
Progress: Downloading openssh 0.0.18.0... 71%openssh not installed. An error occurred during installation:
 The operation has timed out.
openssh package files install completed. Performing other installation steps.
The install of openssh was NOT successful.
openssh not installed. An error occurred during installation:
 The operation has timed out.
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
 - openssh (exited 1) - openssh not installed. An error occurred during installation:
 The operation has timed out.

Any ideas what the problem might be?
The timeout errors seem to be random and intermittent, but their frequency is growing.
This is blocking my commits, because in our workflow, we need to have appveyor passing
before a commit is allowed.

  1. 1 Posted by Ilya Finkelshte... on 18 Aug, 2017 01:18 AM

    Ilya Finkelshteyn's Avatar

    Hi Graig, it was temporary network issue connected to our expansion to the new datacenter. Should be OK now. Sorry for the trouble.

    But to be on the safe side, consider adding retry to this command, for example appveyor-retry choco install openssh -confirm

  2. 2 Posted by Ralf on 19 Aug, 2017 10:22 AM

    Ralf's Avatar

    The issue seems to be far from solved: Currently, every single Rust PR is failing to get merged because the AppVeyor CI fails to download things via chocolatey. See for example https://ci.appveyor.com/project/rust-lang/rust/build/1.0.4327 and https://ci.appveyor.com/project/rust-lang/rust/build/1.0.4331.

  3. 3 Posted by Craig Rodrigues on 19 Aug, 2017 03:24 PM

    Craig Rodrigues's Avatar

    This seemed to be fixed for a few hours, but same as Ralf,
    I am again seeing timeout errors with chocolatey:

    'https://ci.appveyor.com/project/adiroiban/twisted/build/trunk-3740/...

  4. 4 Posted by ferventcoder on 22 Aug, 2017 06:21 PM

    ferventcoder's Avatar

    Howdy, I'm from Chocolatey - it is very strange to see Chocolatey start downloading a package and stop midstream with an operation timeout. We'd love to investigate what is causing this issue but we may need some more information - if you could provide the chocolatey.log file from where this occurred, that would be extremely beneficial. You can go a couple of routes here - easiest is to just add it to the appveyor artifacts - c:\programdata\chocolatey\logs\chocolatey.log is the default location). Otherwise you could set up RDP and get it from the machine.

  5. 5 Posted by ferventcoder on 22 Aug, 2017 06:30 PM

    ferventcoder's Avatar

    It's definitely not normal and not something we are seeing anywhere else that a download would be cut off right in the middle. Has anything changed with AppVeyor infra lately that may have caused this?

  6. 6 Posted by Ilya Finkelshte... on 22 Aug, 2017 06:57 PM

    Ilya Finkelshteyn's Avatar

    Yes, we expanded into another datacenter (Liquid Web). This issue happens only with VMs in that location, and even there it happens intermittently. We are working with Liquid Web networking people too.

  7. 7 Posted by ferventcoder on 22 Aug, 2017 07:19 PM

    ferventcoder's Avatar

    Just a note, with 0.10.7, you can add --trace and the output from Chocolatey will have quite a bit more. I would suggest another way to see more verbose output, call the installs/upgrades with the following:

    choco install <id> -y -dv --trace. Note that this will fill up a log extremely fast. If you install the 0.10.8 prerelease, there is even more output that trace outputs.

    You may also want to turn off download progress --no-progress (available in 0.10.4+).

  8. 8 Posted by Ilya Finkelshte... on 22 Aug, 2017 09:54 PM

    Ilya Finkelshteyn's Avatar

    We are working closely with Liquid Web support now, I will do more choco traces if they convince me that this is on your side.

  9. 9 Posted by ferventcoder on 24 Aug, 2017 10:42 PM

    ferventcoder's Avatar
  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

17 Aug, 2024 09:06 AM
15 Aug, 2024 09:17 AM
13 Aug, 2024 03:12 PM
10 Aug, 2024 02:42 PM
09 Aug, 2024 10:48 PM

 

06 Aug, 2024 08:03 PM
01 Aug, 2024 04:26 PM
30 Jul, 2024 06:33 PM
25 Jul, 2024 01:07 PM
24 Jul, 2024 02:37 PM
20 Jul, 2024 07:44 AM