microsoft/artifacts-credprovider

Azure Devops: gzip: stdin: unexpected end of file

patelriki13 opened this issue · 3 comments

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:

  • Till date working fine and there is no change
  • Azure devops both agent have same issue |
    • self hosted
    • microsoft hosted

same issue

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

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