Artifacts Not Transferred, Jobs Fail with 302 HTTP Status

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. Shared artifacts are not always successfully transferred and, as such, plans cannot complete with the following error message being logged: 

    java.io.IOException: Unexpected HTTP status code: 302 Moved Temporarily
  2. Remote agent fail to download artifact with the following error message: 

    java.lang.RuntimeException: Unexpected HTTP status code: HTTP/1.1 302 Found

Cause

  1. The option Wait for jobs to complete isn't selected in the Scheduled Backup settings.
  2. Remote agent configured with HTTP URL that will be auto redirected to HTTPS URL.

Resolution

  1. Select the option Wait for jobs to complete in the Scheduled Backup settings.
  2. Configured remote agent wrapper.conf file to use HTTPS URL.
Last modified on Nov 5, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.