jesperhh
jesperhh

Reputation: 377

AppVeyor build script file downloads fail intermittently

I am currently using AppVeyor to build a small Qt Creator plugin. As part of the build, I am downloading the Qt Creator sources and install package.

This used to work fine, but at some point it stopped working. Now, sometimes the first download succeeds, but at least one of the downloads never succeed.

I have tried both the installed curl binary, as well as the appveyor DownloadFile command, but they both fail.

The curl error is as follows:

curl: (18) transfer closed with 31294991 bytes remaining to read

The appveyor DownloadFile command does not generate an error, but unpacking the resulting archive fails instead:

ERROR: qt-bin.7z
qt-bin.7z
Open ERROR: Can not open the file as [7z] archive
ERRORS:
Unexpected end of archive

An example of a failing build can be seen here https://ci.appveyor.com/project/jesperhh/teamfoundation/build/3.6.49

Upvotes: 1

Views: 166

Answers (1)

Feodor Fitsner
Feodor Fitsner

Reputation: 2354

Try enabling proxy - this should help: http://www.appveyor.com/docs/how-to/http-proxy

Upvotes: 2

Related Questions