Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't install Summary For HipChat

Oleh Kostrubin November 18, 2015

Hi,

I can't install Summary For HipChat addon to our HipChat server.
All other addons are installed correctly but this returns error message:

Unable to install integration
The add-on rejected the installation: 500 Internal Server Error

 Снимок экрана 2015-11-18 в 16.02.21.png

Please advise

 

4 answers

1 accepted

0 votes
Answer accepted
Dipanjan Nag November 25, 2015

Hello everyone,

The problem is with response header returned by the server when accessing /api/install for registering OAuth token. That issue is fixed, but due to the inconvenience caused by everyone I don't want to take any risk. I'll be testing installation with every possible configuration and create a detailed manual for the purpose.

In the meantime the the add on will not be available for HipChat server. This will take 2-3 weeks. After that the add on will be available again.

Thank you for your patience.

0 votes
Oleh Kostrubin November 20, 2015

1. Go to room addon admin panel
https://<servername>/rooms/addons/15
2. Press Install on Summary for HipChat plugin. Install Room Integration windows appears.
3. Press Install. Unable to install integration, The add-on rejected the installation: 500 Internal Server Error message appears.

From error log:

2015-11-20T14:44:56.076421+01:00 hipchat coral-0: [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Exception
 calling &lt;function perform_addon_http_request at 0x6e497d0&gt;: 
Traceback (most recent call last):\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 382, in callback\n self._startRunCallbacks(result)\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 490, in _startRunCallbacks\n self._runCallbacks()\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 577, in _runCallbacks\n current.result = callback(current.result, 
*args, **kw)\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 1155, in gotResult\n _inlineCallbacks(r, g, deferred)\n--- 
&lt;exception caught here&gt; ---\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 1099, in _inlineCallbacks\n result = g.send(result)\n File 
"/hipchat-scm/coral/vendor/virtualenv/local/lib/python2.7/site-packages/txhipchat/addons/addon_manager.py",
 line 795, in perform_addon_http_request\n raise 
UnexpectedResponseError("500 Error", 
response)\ntxhipchat.helpers.http.UnexpectedResponseError: 500 Error\n
2015-11-20T14:44:56.076439+01:00 hipchat coral-0: [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] after completion of call to None: 0
2015-11-20T14:44:56.076899+01:00 hipchat coral-0: /addon#REQ91AE60WARN: Validation error installing add-on: The add-on rejected the installation: 500 Internal Server Error


I can send you full error log if it's needed.

 

0 votes
Dipanjan Nag November 19, 2015

Thank you for contacting.

For installing the plugin hipchatimpulse.azurewebsites.net should be reachable from your network. Anyway I don't think that's the reason for your problem. If that was your case the error should be 40x series, not 50x. The error was probably caused because of a unscheduled maintenance break.

If the problem is not solved we'd request you to please provide some more information about the problem e.g. steps to reproduce it. 

hsuhailah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2015

The server is on build 1.3.5 which isn't compatible with the integration (it's only for HipChat Server 1.2.8 - 1.3.4), could this be a problem?

Oleh Kostrubin November 24, 2015

Ping is not okay, wget is okay, openssl is not okay without -CApath, and ok with -CApath ping hipchatimpulse.azurewebsites.net PING waws-prod-ch1-015.cloudapp.net (65.52.217.59) 56(84) bytes of data. ^C — waws-prod-ch1-015.cloudapp.net ping statistics — 24 packets transmitted, 0 received, 100% packet loss, time 23152ms wget hipchatimpulse.azurewebsites.net -2015-11-24 15:31:34- http://hipchatimpulse.azurewebsites.net/ Resolving hipchatimpulse.azurewebsites.net (hipchatimpulse.azurewebsites.net)... 65.52.217.59 Connecting to hipchatimpulse.azurewebsites.net (hipchatimpulse.azurewebsites.net)|65.52.217.59|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4997 (4.9K) [text/html] Saving to: `index.html' 100%[====================================================================================================================================================================================================================================>] 4,997 --.-K/s in 0s 2015-11-24 15:31:35 (423 MB/s) - `index.html' saved [4997/4997] openssl s_client -connect hipchatimpulse.azurewebsites.net:443 -debug Verify return code: 20 (unable to get local issuer certificate) openssl s_client -CApath /etc/ssl/certs/ -connect hipchatimpulse.azurewebsites.net:443 -debug Verify return code: 0 (ok)

0 votes
Conor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2015

Oleh,

The problem is likely to be that the addon calls back to HipChat to retrieve some information during the installation process. For this to work, your HipChat Server instance would need to be reachable from the server providing the addon.

Anatoli
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2015

If it is the case the add-on author should look into the client side installation flow to avoid this problem: https://ecosystem.atlassian.net/wiki/display/HIPDEV/Client-side+installation+flow

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events