Hi,
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
Thanks,
Karthi