Error uploading artifact the storage: Unable to read data from the transport connection: The connection was closed.

Steven Salter's Avatar

Steven Salter

11 Feb, 2021 08:43 PM

We've had sporadic build failures on the artifact upload step:

Error uploading artifact the storage: Unable to read data from the transport connection: The connection was closed.

This has occurred a few times a day for the past few weeks or so. A subsequent 're-build commit' often works. While rebuilding the commit is thus a workaround, it causes a significant delay that we'd like to avoid.

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Feb, 2021 09:10 PM

    Feodor Fitsner's Avatar

    Hi Steven,

    Could you drop a link to a build please?

  2. 2 Posted by Steve Salter on 11 Feb, 2021 10:13 PM

    Steve Salter's Avatar
  3. Support Staff 3 Posted by Feodor Fitsner on 12 Feb, 2021 03:44 AM

    Feodor Fitsner's Avatar

    We've done some maintenance of virtualization servers and it should be better now.

  4. 4 Posted by Ian on 17 Feb, 2021 10:10 AM

    Ian's Avatar

    We are still seeing this issue intermittently. It just happened this morning.

    A retry of the upload if it fails sounds like it would be a good idea.

  5. Support Staff 5 Posted by Feodor Fitsner on 17 Feb, 2021 07:41 PM

    Feodor Fitsner's Avatar

    Could you please try defining the following environment variable on project settings UI or in appveyor.yml:

    APPVEYOR_UPLOAD_DOWNLOAD_BUFFER: 1024
    

    It will increase upload chunks to 1 MB. Before implementing retries I'd like to check if that makes uploads more stable.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screenshot_2021-02-11_144131.png 10.4 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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