HipChat limited connectivity in Bitbucket Server

お困りですか?

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

コミュニティに質問

問題

On the global configuration screen for the HipChat integration the connection status is showing up as LIMITED

原因

This is caused because HipChat cannot make a direct connection to Bitbucket Server.

There are three possible connection states 

  • NOT CONNECTED Bitbucket Server cannot make a connection to HipChat (https://api.hipchat.com/, or your HipChat Server instance).
  • LIMITED Bitbucket Server can make a connection to HipChat but HipChat cannot make a connection back to Bitbucket Server.
  • CONNECTED Bitbucket Server can make a connection to HipChat and HipChat can make a connection back to Bitbucket Server.

Bitbucket Server only sends notifications to HipChat and so will function correctly in LIMITED mode, however future versions of Bitbucket Server might require CONNECTED to offer full functionality.

There are two common causes of Limited mode:

  1. Bitbucket Server is behind a firewall that is preventing HipChat from being able to contact Bitbucket Server.
  2. HipChat was configured with the wrong base URL.

ソリューション

Bitbucket Server is behind a firewall

If you are hosting Bitbucket Server behind a firewall you won't be able to get Bitbucket Server into the CONNECTED state without putting Bitbucket Server on the other side of the firewall.

Because the current version of Bitbucket Server doesn't need HipChat to be able to connect to it you can leave Bitbucket Server operating in the LIMITED mode.

Bitbucket Server isn't behind a firewall

It is likely that the hostname HipChat is using to contact Bitbucket Server is wrong, You can check what hostname is being used by going to the integrations admin screen in HipChat https://www.hipchat.com/admin/addons, When you find Bitbucket Server in the list of addons you should be able to see the hostname of Bitbucket Server in the integration name.

If you weren't using a fully qualified domain name when you connected the integration HipChat will be trying to use that URL to contact Bitbucket Server.

To fix this you need to follow the instructions for changing your baseURL that HipChat is using that are documented here: Unable to log in to HipChat from Bitbucket Server

最終更新日: 2016 年 2 月 19 日

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

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