Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

195 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you