Hubot stopped working on Hipchat Server v2.0.7 and later

Still need help?

The Atlassian Community is here for you.

Ask the community

This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.

This is for an outdated version of Hipchat Server

 This article applies to a version of Hipchat Server which will be deprecated soon. After that period the version will no longer be supported.

When will my version be deprecated?

The following versions have been deprecated:

  • Hipchat Server 1.3 (EOL Date: Aug 17, 2017)
  • Hipchat Server 2.0 (EOL Date: Jun 17, 2018)
  • Hipchat Server 2.1 (EOL Date: Dec 8, 2018)

The following version will be deprecated soon:

  • Hipchat Server 2.2 (EOL Date: May 30, 2019)

You can read more about Atlassian's End of Life policy here.

You should upgrade to a more recent version of Hipchat Server as soon as you can to take advantage of new features, and security and bug fixes.

 

Problem

Hubot (with hubot-hipchat 2.12.0-6) stopped working on Hipchat Server v2.0.7 and later.  The following is seen in Hubot logs:

[Sat Dec 31 2016 05:04:32 GMT+0000 (UTC)] INFO Connecting HipChat adapter...
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] DEBUG Disconnecting here
[Sat Dec 31 2016 05:05:33 GMT+0000 (UTC)] INFO Connection went offline

You would see the same message above when testing Hubot connection to a single room, or all rooms.

Cause

Hubot is utilising hubot adapter which uses XMPP and in Hipchat Server v2.0.7 and later, we have disabled XMPP over 5222 and 5223 by default. To learn more about this, see: External XMPP ports 5222, 5223 disabled by default in Hipchat Server 2.0.7

Workaround

Enable XMPP over ports 5222 and 5223 on Hipchat Server through the server's terminal/command line via hipchat network --enable-xmpp-ports 

 

 

Last modified on Nov 2, 2018

Was this helpful?

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