HipChat4 Debian client doesn't connect

This article and its contents are not supported by Atlassian.

It is meant to assist in an issue with the Debian HipChat client that's not impacting any of the other operating systems.

Problem

The HipChat client fails to connect to either HipChat Server or hipchat.com, in order to get more details about, stop HipChat and run it again as follows:

hipchat4 > ~/Desktop/hipchat.log

The above step will be re-directing all logs to ~/Desktop/hipchat.log and the following error is thrown:

Warning: [12:57:35][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [12:57:35][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
[12:57:35][void AuthHelper::handleReplyFinished(QNetworkReply*):315] oAuth Token error: QNetworkReply::NetworkError(UnknownNetworkError) : "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
[12:57:35][void AuthHelper::handleReplyFinished(QNetworkReply*):359] throwing away the login data and going back to landing page

Cause

This issue is caused  by a discrepancy between the OpenSSL version the QT library is compiled against vs the Debian OpenSSL. 

Resolution

  1. Install version 1.0.x of OpenSSL: 

    sudo apt-get install libssl1.0.2 

    Alternatively, download the OpenSSL 1.0.2 Debian package from https://packages.debian.org/sid/amd64/libssl1.0.2/download and install it manually: 

    sudo apt install /path/to/libssl1.0.2_1.0.2l-2_amd64.deb
  2. Force Hipchat to use the newly installed version of OpenSSL: 

     ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 /opt/HipChat4/lib/libssl.so

 

Last modified on Oct 20, 2017

Was this helpful?

Yes
No
Provide feedback about this article

Not finding the help you need?

Ask the community

Powered by Confluence and Scroll Viewport.