Java I/O SocketException

Hi Atlassian,

I'm experiencing some issues running a cloned plan. The original plan works perfectly.
Whenever I try running the cloned plan it fails upon publishing the artifact and throws a Java I/O error. 

The agent is connected to the internet, and can build other plans (such as the one which this clone originated from). I tried to ping to our Bamboo server, which was succesfull. 

The agent is running Windows 7 Enterprise Service Pack 1.

This is the log: 

2015-08-28 10:03:00,529 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier'
2015-08-28 10:03:00,529 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: FLTEST-RCW-CHEC-4
2015-08-28 10:03:00,903 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] Publishing [SOURCE CODE] for FLTEST-RCW-CHEC-4: 2282 file(s) matching [**/*] in directory C:\Projects\FLTEST-RCW-CHEC
2015-08-28 10:03:00,950 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler
2015-08-28 10:03:18,750 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:03:18,750 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:03:34,116 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:03:34,116 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:04:00,542 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:04:00,542 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:04:19,059 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:04:19,059 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:04:37,498 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:04:37,498 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:04:56,577 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:04:56,577 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:05:29,353 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:05:29,353 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:05:45,062 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:05:45,062 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:06:06,200 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:06:06,200 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:06:31,222 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:06:31,222 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:06:51,331 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:06:51,331 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:07:10,534 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:07:10,534 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:07:28,053 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:07:28,053 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:07:49,082 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:07:49,082 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:08:09,643 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:08:09,643 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:08:31,093 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:08:31,093 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:08:54,602 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:08:54,602 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:09:09,890 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:09:09,890 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:09:29,671 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:09:29,671 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:09:49,108 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:09:49,108 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:10:07,563 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:10:07,563 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:10:40,198 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:10:40,214 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:11:00,073 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:11:00,073 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:11:19,760 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:11:19,760 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:11:41,304 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:11:41,304 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:12:01,880 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:12:01,880 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:12:18,790 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:12:18,790 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:12:35,919 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Connection reset by peer: socket write error
2015-08-28 10:12:35,919 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:12:53,859 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:12:53,859 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:13:09,194 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] I/O exception (java.net.SocketException) caught when processing request to {}->http://bamboo.wimionline.local:8085: Software caused connection abort: socket write error
2015-08-28 10:13:09,194 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [DefaultHttpClient] Retrying request to {}->http://bamboo.wimionline.local:8085
2015-08-28 10:13:28,429 ERROR [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [HttpMessageSender] Failed to send message.
java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:159)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:179)
	at org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:123)
	at org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:181)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown Source)
	at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
	at java.io.ObjectOutputStream.writeObject(Unknown Source)
	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender$1.writeTo(HttpMessageSender.java:66)
	at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
	at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
	at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
	at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
	at org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:203)
	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:115)
	at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:43)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$1.call(AbstractArtifactManager.java:214)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$1.call(AbstractArtifactManager.java:207)
	at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:132)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:206)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:107)
	at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:82)
	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159)
	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:122)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:114)
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:113)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
	at java.lang.Thread.run(Unknown Source)
2015-08-28 10:13:28,491 WARN [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] Unable to publish artifact Shared artifact: [SOURCE CODE], pattern: [**/*] for FLTEST-RCW-CHEC-4 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@29ddd146
java.lang.RuntimeException: java.net.SocketException: Connection reset by peer: socket write error
	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:135)
	at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:43)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$1.call(AbstractArtifactManager.java:214)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$1.call(AbstractArtifactManager.java:207)
	at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:132)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:206)
	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:107)
	at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:82)
	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159)
	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:122)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:114)
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:113)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:159)
	at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:179)
	at org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:123)
	at org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:181)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown Source)
	at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
	at java.io.ObjectOutputStream.writeObject(Unknown Source)
	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender$1.writeTo(HttpMessageSender.java:66)
	at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
	at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
	at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
	at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
	at org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:203)
	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:115)
	... 20 more
2015-08-28 10:13:28,538 INFO [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] Handler com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler did not publish the artifact
2015-08-28 10:13:28,538 ERROR [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] Unable to publish artifact [SOURCE CODE]: Unable to publish artifact Shared artifact: [SOURCE CODE], pattern: [**/*] for FLTEST-RCW-CHEC-4 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@29ddd146 
2015-08-28 10:13:28,538 ERROR [0-BAM::UnityWindowsBuildAgent::Agent:pool-3-thread-1] [AbstractArtifactManager] The artifact is required for down stream Stages and Jobs, build will now fail.

 

 

Do you have any suggestions?
Thanks in advance!
 

Best regards,
LW

2 answers

1 accepted

Hi @Przemyslaw Bruski,

 

Thanks for taking the time to answer my question.
Apparantly this error was thrown by the build server because the disk was full.
No idea why this error had to be this cryptic. 

 

Kind regards,

L W

0 vote

Can you connect to port 8085 from that agent? E.g. using curl?

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
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