Uploading artifacts from Remote Agent to Bamboo Cloud fails


We're using Bamboo Cloud with Remote Agent (not Elastic Agent) for building our project. The build step succeeds fine in the remote agent. However, uploading artifacts to Bamboo cloud fails with 403 Forbidden error. I've verified that outgoing connections from the agent to the internet is open on all ports. Please let me know how to troubleshoot this issue.

Logs from remote agent:

2015-12-16 13:18:21,077 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier'
2015-12-16 13:18:21,078 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: ES-CI-JOB1-8
2015-12-16 13:18:21,425 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [AbstractArtifactManager] Publishing [EventStore Artifacts] for ES-CI-JOB1-8: 4 file(s) matching [**/build/distributions/*.zip] in directory /home/ec2-user/bamboo-agent-home/xml-data/build-dir/ES-CI-JOB1
2015-12-16 13:18:21,425 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler
2015-12-16 13:18:46,803 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] Finished writing the artifact to the output stream.
2015-12-16 13:18:46,804 ERROR [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 403 Forbidden
2015-12-16 13:18:46,804 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [AbstractArtifactManager] Handler com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler did not publish the artifact
2015-12-16 13:18:46,804 WARN [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [AbstractArtifactManager] Unable to publish artifact [EventStore Artifacts]:
2015-12-16 13:18:46,804 INFO [0-BAM::ip-x-x-x-x.ec2.internal::Agent:pool-3-thread-1] [RemoteExecutionPhaseServiceImpl] EventStore - CI - Default Job #8 (ES-CI-JOB1-8) execution finished


Agent version: atlassian-bamboo-agent-installer-5.10-OD-10-008.jar




3 answers

0 votes

Hello @Karthikeyan Marudhachalam,

Please create request at support.atlassian.com. Our Support engineers will be happy to help you

0 votes

We are aware of this issue. It's an infrastructure problem on our side, the request to fix it has been submitted to the infra team.

0 votes
Mauro Badii Atlassian Team Dec 20, 2015

The bug report for this recent problem can be found at https://jira.atlassian.com/browse/BAM-17040

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira Service Desk

What's new in Jira Service Desk Server: Introducing 4.0 & more - Feb 2019

Hello Atlassian Community!  I'm Teresa, the Product Marketing Manager   for Jira Service Desk Server at Atlassian. I'm excited to announce two exciting releases for Jira Service De...

45 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you