Details
-
Suggestion
-
Resolution: Timed out
-
None
-
0
-
Description
Summary
1. Issue
According to Securing your remote agents under Step 3. Configure your Bamboo server to use SSL section only the Broker URL needs to be updated from tcp to ssl. However, it is required to update Broker Client URL and Broker URL to ssl.
2. Expected Results
<bamboo-home>/bamboo.cfg.xml
<!-- please, notice 'broker.client' and 'broker' are setup as 'ssl' --> <property name="bamboo.jms.broker.client.uri">failover:(ssl://127.0.0.1:54663?wireFormat.maxInactivityDuration=300000)?initialReconnectDelay=15000&maxReconnectAttempts=10</property> <property name="bamboo.jms.broker.uri">ssl://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property>
The below exception is thrown in the "<bamboo-agent-home>/atlassian-bamboo.agent.log file:
INFO | jvm 1 | 2015/11/18 12:26:51 | 2015-11-18 12:26:51,295 INFO [Thread-0] [AgentRegistrationBean] Definition from the server: com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl@1c2ade40[7438337,127.0.0.1]
3. Actual Results
<bamboo-home>/bamboo.cfg.xml
<!-- please, notice only 'broker' is setup as 'ssl' --> <property name="bamboo.jms.broker.client.uri">failover:(tcp://127.0.0.1:54663?wireFormat.maxInactivityDuration=300000)?initialReconnectDelay=15000&maxReconnectAttempts=10</property> <property name="bamboo.jms.broker.uri">ssl://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property>
The below exception is thrown in the "<bamboo-agent-home>/atlassian-bamboo.agent.log file:
INFO | jvm 1 | 2015/11/18 12:31:54 | 2015-11-18 12:31:53,991 WARN [ActiveMQ Transport: tcp://broker.client.url/127.0.0.1:54663@52829] [FailoverTransport] Transport (tcp://127.0.0.1:54663) failed, reason: java.io.EOFException, attempting to automatically reconnect