AppVeyor Deployment Agent - Slow artifact download

Kristian Andersen's Avatar

Kristian Andersen

10 Mar, 2017 10:06 AM

The download of the arrtiface package is very slow on my server.
Downloading artifact package (30mb) takes 2 minutes.

Is there an option to enable additional logging for the deployment agent so i can track down the issue?
Sounds like a network issue to me.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 10 Mar, 2017 07:01 PM

    Ilya Finkelshteyn's Avatar

    Hi Kristian,

    I think that first simple test you can run is to simple download an artifact from permalink or simple from Artifacts tab for successful build.

    Also to better reproduce what AppVeyor is doing, please try to download file with Invoke-WebReques command (instead of browser) -- it is using the same underlying .NET client as AppVeyor deployment agent.

    Thanks,
    Ilya.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 13 Mar, 2017 09:58 PM

    Ilya Finkelshteyn's Avatar

    Hi Kristian,

    Another option is to try alternate artifact storage. By default we store artifacts in Azure datacenter which maybe pretty "far" from your server's location. Alternative is Google cloud storage, please try it. For that add the following into your YAML configuration (or add variable at Environment tab in UI).

    environment:
      APPVEYOR_BUILD_ARTIFACT_STORAGE: gce-artifacts-us
    

    Please let us know if it works faster for you.

    Thanks!
    Ilya.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

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