Hipchat Data Center / Hipchat Server: Troubleshooting Jira Integration

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

 

 

問題

While we have the convenience of integrating Hipchat Data Center / Server with Jira for collaboration and faster resolution to issues, we might run into roadblocks when setting them up or even maintaining it. Some of the common known issues include:

  1. We couldn't reach your server error on the web interface

  2. Can't integrate two Jira instances with the same Hipchat Data Center / Server

  3. Jira issues in private projects are previewed in Hipchat

診断

Issue #1

  • Verify connectivity between Hipchat Data Center / Server with the Jira instance via telnet on port 443 from the machine hosting Jira and you will be presented with the following error:

    $ echo | telnet hipchat.example.com 443
    Trying 111.11.11.111...
    telnet: connect to address 111.11.11.111: Connection refused
    telnet: Unable to connect to remote host


    At the same time, the installation will fail right away when you enter the Hipchat FQDN in the installation screen.

  • Hipchat is running on a non-signed SSL certificate. If you enter the URL preceded by https, Jira will report the same error as when it's unable to reach Hipchat on 443. A closer look at the Jira logs will show an SSLHandshakeException. which is similar to the Cannot integrate Hipchat Server with Confluence or Jira with SSLHandshakeException KB

    If you enter the URL preceded by http, Jira will connect fine since NGINX on the Hipchat side will handle the redirection. The user will confirm the installation on the Hipchat side but it will fail later at the time of installing the integration on the Jira side because it will try connecting via SSL. The same SSLHandshakeException will be visible in the logs. 

  • Java is using an old TLS version. Starting from version 2.0.7, Hipchat Data Center / Server does not support TLSv1. If Jira tries to connect using TLSv1, it will fail and report that Hipchat is unreachable. 

    More details can be found in 

Issue #2

The symptom of this issue is that the Hipchat integration with Jira-A will be removed when you integrate Jira-B with Hipchat. 

 

Issue #3

The Hipchat integration disregards the Jira security model. If you have the integration enabled, you run the risk that you could expose ticket names to users who have the link but might not have permissions to see the actual ticket. 

原因

  • Issue #1

    Connection between the 2 applications are blocked because port 443 is not opened, which is an essential requirement for integration to properly as mentioned in the Troubleshooting Failed Integration Installations

  • Issue #2

    The integration is installed in Hipchat Server based on the plugin key, which is a function of the server ID. It's not possible to integrate two Jira instance with the same server ID to Hipchat Server.

    One will overwrite the other once it finds the plugin key in the database is the same. 

  • Issue #3

    This is the current limitation of the integration where you do not have the ability to limit the visibility of issues according to the Issue Security Level

ソリューション

Issue #1

Issue #2

Change the Jira server ID and re-install the two integrations on the 2 Jira instances.

Issue #3

Feature requests to fix this behaviour are logged in the public bug tracker: 

  • HCPUB-1551 - Hipchat integration "Enable issue preview" - per room TO BE REVIEWED
  • HCPUB-2616 - Filter Jira to Hipchat notifications based on issue security level TO BE REVIEWED
最終更新日 2018 年 11 月 2 日

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

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