Hubot stopped working on Hipchat Server v2.0.7 and later

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

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.

 

問題

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.

原因

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

回避策

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

 

 

最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.