Handler com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler did not publish the artifact
Asked by Mavin Hofmann:

```
INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,048 INFO [2-BAM::XXX::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier'INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,048 INFO [2-BAM::XXX::Agent:pool-5-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: MINECOL-JAR8-JOB1-14INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,049 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [MineColonies Build] for MINECOL-JAR8-JOB1-14: 1 file(s) matching [**/*.jar] in directory /XXX/bamboo-agent-home/xml-data/build-dir/MINECOL-JAR8-JOB1/build/libsINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,050 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandlerINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,154 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [ArtifactStreams] Error during artifact transfer, total bytes written: 2146304, total requested: 2630050, latest request: 2630050INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,154 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}-&gt;http://localhost:8085: Connection resetINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,155 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] Retrying request to {}-&gt;http://localhost:8085INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,245 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [ArtifactStreams] Error during artifact transfer, total bytes written: 2146304, total requested: 2630050, latest request: 2630050INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,245 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}-&gt;http://localhost:8085: Connection resetINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,245 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] Retrying request to {}-&gt;http://localhost:8085INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,333 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [ArtifactStreams] Error during artifact transfer, total bytes written: 2146304, total requested: 2630050, latest request: 2630050INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,333 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}-&gt;http://localhost:8085: Connection resetINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,333 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] Retrying request to {}-&gt;http://localhost:8085INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,431 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [ArtifactStreams] Error during artifact transfer, total bytes written: 2146304, total requested: 2630050, latest request: 2630050INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,431 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}-&gt;http://localhost:8085: Connection resetINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,432 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] Retrying request to {}-&gt;http://localhost:8085INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,518 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [ArtifactStreams] Error during artifact transfer, total bytes written: 2146304, total requested: 2630050, latest request: 2630050INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,521 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}-&gt;http://localhost:8085: Connection resetINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,521 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RetryExec] Retrying request to {}-&gt;http://localhost:8085INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,640 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [BambooArtifactHttpTransport] Finished writing the artifact to the output stream, time elapsed: 115,6 msINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,642 ERROR [2-BAM::xXX::Agent:pool-5-thread-1] [BambooArtifactHttpTransport] Unexpected HTTP status code: HTTP/1.1 500 Internal Server ErrorINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,642 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [AbstractArtifactManager] Handler com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler did not publish the artifactINFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,642 WARN [2-BAM::xXX::Agent:pool-5-thread-1] [AbstractArtifactManager] Unable to publish artifact [MineColonies Build]:INFO   | jvm 1    | 2016/02/11 12:32:54 | 2016-02-11 12:32:54,642 INFO [2-BAM::xXX::Agent:pool-5-thread-1] [RemoteExecutionPhaseServiceImpl] Minecolonies - Create Jar - MINECOL-20-farmer - Build Jar #14 (MINECOL-JAR8-JOB1-14) execution finished
```

Artifact get's not published. Worked on local agent and remote agent (on same machine) gets this log output.


Answers:
author: GHFOC IT Infrastructure
body: I have the same issue.

WARN \[2-BAM::bamboo-agent01::Agent:pool-5-thread-1\] \[ArtifactStreams\] Error during artifact transfer, total bytes written: 2134016, total requested: 99962188, latest request: 99962188   

INFO \[2-BAM::bamboo-agent01::Agent:pool-5-thread-1\] \[RetryExec\] I/O exception (java.net.SocketException) caught when processing request to {}-\>http://bamboo:8085: Connection reset


author: Mohan Kaliyannan
body: Anyone suggest solution please ? I have the same issue !


Tags: bamboo-administration