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

HipChat Server fails to integrate with JIRA without internet connection

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • None
    • None

    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

            Unassigned Unassigned
            nmarques Nagila Marques (Inactive)
            Archiver:
            mandreacchio Michael Andreacchio

            Dates

              Created:
              Updated:
              Resolved:
              Archived: