Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bamboo build error. Unable to publish artifact, from bamboo remote agent

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)

1 answer

0 votes
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 20, 2018

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:

  • Stop Bamboo
  • Open the <installation-directory>/conf/server.xml file
  • Increase the "connectionTimeout=" parameter to at least "600000":

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"
/>
  • Start bamboo
  • Try to run the build again. 

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events