PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

Timeouts

Open potatoqualitee opened this issue 4 years ago • 4 comments

For the past couple months, I've had timeouts on both a Windows 10 workstation in the EU and on GitHub Linux runners, somewhere in the world.

Publish takes forever for dbatools, which is fine, but sometimes it says it times out then i'll get an email saying that there's a new release. Is this expected behavior for larger modules?

If so, can a -Timeout parameter be added to Publish-Module and passed down to Publish-PSArtifactUtility

Publish-PSArtifactUtility : Failed to publish module 'dbatools': 'nuget.exe failed to push A task was canceled.
  Pushing took too long. You can change the default timeout of 300 seconds by using the -Timeout <seconds> option with 

Right now, I'm trying to take care of it by using PSDefaultParameterValues

Thanks, Chrissy

potatoqualitee avatar Jul 13 '21 09:07 potatoqualitee

@potatoqualitee thanks for reaching out, is your work around sufficient for the time being? We are working on getting a release for PowerShellGet out in the next few weeks and perhaps you could kindly test it out and see if it's still presenting that issue?

Also, that is not expected behavior for larger modules, but we have been having latency issues with the PowerShellGallery recently so may be related.

anamnavi avatar Jul 22 '21 20:07 anamnavi

Cool, thanks. Yes, my workaround works. Looking forward to a resolution!

potatoqualitee avatar Jul 22 '21 21:07 potatoqualitee

image

Been also experiencing timeouts while trying to install modules from PSGallery lately

iammerus avatar Jul 30 '21 05:07 iammerus

yeah, this is very impactful and has been going on a surprisingly long time :/

potatoqualitee avatar Jul 30 '21 05:07 potatoqualitee