Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-995

HipChat Server fails to integrate with JIRA without internet connection

    XMLWordPrintable

    Details

    • Last commented by user?:
      true
    • Platform:
      HipChat Server

      Description

      Problem

      HipChat Server fails to integrate with JIRA without internet connection. This wasn't the case before.

      Environment

      • HipChat Server v2.0 build 1.4.1
      • JIRA 7.1.4
      • Both servers are not connected to the internet but are in the same network

      Steps to reproduce

      1. Deploy JIRA 7.1.4 and HipChat Server v2.0 build 1.4.1 on a machine that has no connection to the internet
      2. Generate HipChat Server's self-signed certificate following the workaround mentioned here
      3. Import HipChat Server's self-signed certificate into JIRA's key store:
        keytool -importcert -alias hipchat -keystore <MY_KEYSTORE_FILENAME> -file <MY_CERTIFICATE_FILENAME>
        
      4. Restart JIRA server for the changes to take effect
      5. Follow the steps in the 'Connect JIRA and HipChat' portion of the Using HipChat and Confluence together documentation to complete the installation.

      Expected Result

      Integration installation completed successfully. HipChat Server should be able to integrate with JIRA successfully without internet connection as long as the servers are able to contact each other on internal network.

      Actual Result

      Integration isn't successful and user will see the error below:

      The integration is trying to reach out to marketplace.atlassian.com.

      In JIRA logs we can see the following:

      www.hipchat.com com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: www.hipchat.com
      2016-06-07 13:31:52,537 http-nio-8080-exec-18 WARN paul 811x915x1 u7lgqw 192.168.150.130 /rest/hipchat/integration/latest/installation/ping [c.a.p.hipchat.rest.HipChatLinkResource] com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: www.hipchat.com com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: www.hipchat.com

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                2 years, 17 weeks, 6 days ago