Bamboo IM server client failed to startup

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

After adding a IM server in Bamboo, it fails to send a test message with the following message:

1 XMPP Error encountered while attempting to send message as [bamboo] using [xxx], error message is: No response from the server.

The following appears in the atlassian-bamboo.log

1 2 3 4 5 6 7 8 2015-08-06 10:05:42,227 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-3] [InitialiseSmackOnStartup] Bamboo IM server client failed to startup. No response from the server.: at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:73) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:252) at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.createNewConnection(BambooSmackClient.java:209) at com.atlassian.bamboo.xmpp.BambooSmackClient.connect(BambooSmackClient.java:78) at com.atlassian.bamboo.xmpp.BambooSmackClient.connect(BambooSmackClient.java:83) at com.atlassian.bamboo.xmpp.InitialiseSmackOnStartup.handleEvent(InitialiseSmackOnStartup.java:31)

Diagnosis

Check the error message in IM server log, for example ejabberd:

  1. IM server using TLS 1.1 and 1.2 only:

    1 2015-08-04 12:42:00.089 [error] <0.25286.10>@ejabberd_receiver:handle_info:248 TLS error = SSL_do_handshake failed: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
  2. IM server using certain cipher only:

    1 2015-08-04 12:42:00.089 [error] <0.25286.10>@ejabberd_receiver:handle_info:248 TLS error = SSL_do_handshake failed: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher

Cause

  1. Bamboo started up with JDK 1.7 that disable TLS 1.1 and 1.2 by default.

  2. Java does not have that specific cipher by default.

Solution

Resolution

  1. Start up Bamboo with JDK 1.8

  2. List the cipher known by Java as shown in List ciphers used by JVM

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.