We installed bamboo agent on linux server, and seems all working fine.. except sending artifacts..
While sending artifacts we are getting this following error.
[ArtifactStreams] Error during artifact transfer, total bytes written: 2248704, total requested: 13209258, latest request: 13209258
2018-07-19 17:37:17,734 ERROR [0-BAM:::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] Failed to send artifact.
java.net.SocketException: Broken pipe (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
Hi Mohan,
This seems to be related to your network. Tomcat might be timing out the http connection before the agent finishes the transfer.
You can try to increase the connection timeout in Tomcat connector to see if this fix the artifact transfer issue:
e.g.
<Service name="Catalina">
<Connector
protocol="HTTP/1.1"
port="8085"
maxThreads="150" minSpareThreads="25"
connectionTimeout="600000"
disableUploadTimeout="true"
acceptCount="100"
enableLookups="false"
maxHttpHeaderSize="8192"
useBodyEncodingForURI="true"
URIEncoding="UTF-8"
redirectPort="8443"
/>
Please let us know the result.
thanks
Hi @Gabriel Ribeiro- Thanks for your response. I tried with above but doesn't help. I increase timeout 800,000. still the same....
Error during artifact transfer, total bytes written: 3239936, total requested: 13221452, latest request: 13221452
18-07-20 14:00:18,463 WARN [ArtifactStreams] Error during artifact transfer, total bytes written: 3371008, total requested: 13221452, latest request: 13221452
2018-07-20 14:00:18,464 INFO [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}Connection reset
2018-07-20 14:00:18,464 INFO [RetryExec] Retrying request to {}->
2018-07-20 14:00:25,024 WARN [ArtifactStreams] Error during artifact transfer, total bytes written: 2977792, total requested: 13221452, latest request: 13221452
2018-07-20 14:00:25,024 INFO [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {}Connection reset
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.