Agent disconnected: "java.net.ConnectException: Connection timed out"
問題
The remote agent is dropping out due to errors similar to:
java.net.ConnectException: Connection timed out
ソリューション
Firewall/Router: Ensure that you don't have a firewall/router which might be closing network connections due to inactivity.
- Low Network Throughput: The error can also occur, whilst sending large messages over slow network link:
This problem arises because the ActiveMQ message broker continuously checks for activity on a socket, and whilst building a large message in the TCP socket buffer, the inactivity monitor will time out
As the document suggests, edit your <Bamboo_Home>/bamboo.cfg.xml
file and update the section below. Set the maxInactivityDuration
value to a number > 300000:
<property name="bamboo.jms.broker.client.uri">failover:(tcp://192.168.35.128:54663?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&initialReconnectDelay=15000</property>
最終更新日 2018 年 6 月 1 日
Powered by Confluence and Scroll Viewport.