Bamboo IM server client failed to startup

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

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

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

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:

    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:

    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.

Resolution

  1. Start up Bamboo with JDK 1.8
  2. List the cipher known by Java as shown in List ciphers used by JVM
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.