microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
747 stars 709 forks source link

Azure Devops: gzip: stdin: unexpected end of file #456

Closed patelriki13 closed 9 months ago

patelriki13 commented 9 months ago

When run following command in dockerfile (azure devops >> - task: Docker@2)

RUN curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh

If I run command in WSL command prompt locally then working fine.

Error:

#18 [prebuild 14/19] RUN curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh
#18 0.260   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#18 0.265                                  Dload  Upload   Total   Spent    Left  Speed
#18 0.265 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2728  100  2728    0     0  49600      0 --:--:-- --:--:-- --:--:-- 49600
#18 0.317 sh: 15: [[: not found
#18 0.317 sh: 15: INFO: Creating the nuget plugin directory (i.e. /root/.nuget/plugins). 
#18 0.317 [[: not found
#18 0.317 sh: 28: [[: not found
#18 0.321 Downloading from https://github.com/Microsoft/artifacts-credprovider/releases/latest/download/Microsoft.NuGet.CredentialProvider.tar.gz
#18 0.357 curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to github.com:443 
#18 0.363 
#18 0.363 gzip: stdin: unexpected end of file
#18 0.364 tar: Child returned status 1
#18 0.364 tar: Error is not recoverable: exiting now
#18 ERROR: process "/bin/sh -c curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh" did not complete successfully: exit code: 1
------

Extra info:

rronen10 commented 9 months ago

same issue

patelriki13 commented 9 months ago

Next day automatically issue fixed.... Anyone have any clue what was the issue... because its whole day stop our development processs due to pipeline not working....

phil-hodgson commented 9 months ago

Closing. Seems like an intermittent github outage on the day. Please reopen if you're still hitting this.