hipchat4 openssl error

hipchat4 does not connect.

 

debian testing, 

$ dpkg -l | grep hipchat
ii hipchat4 4.29.4.1662 amd64 Hipchat - persistent group chat using XMPP.
$ hipchat4 --disable-gpu
hello 0.539492
PackageLocation: "/opt/HipChat4/share/localweb/package.json"
package.json opened
package.json valid
package.json object
package.json version value = "4.29.4"
Reading config.ini file
force_server= false value= ""
Qt WebEngine ICU data not found at /opt/HipChat4/lib/resources. Trying parent directory...
Installed Qt WebEngine locales directory not found at location /opt/HipChat4/lib/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/lib/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /opt/HipChat4/lib/resources. Trying parent directory...
[0116/093407:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/lib/qtwebengine_devtools_resources.pak
Some features may not be available.
[0116/093407:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[0116/093407:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
--type=zygote
hello 0.360762
Qt WebEngine ICU data not found at /opt/HipChat4/resources. Trying parent directory...
Installed Qt WebEngine locales directory not found at location /opt/HipChat4/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/lib/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /opt/HipChat4/resources. Trying parent directory...
[0116/093407:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/qtwebengine_devtools_resources.pak
Some features may not be available.
[0116/093407:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[08:34:07][void HipChatApplication::initialize(HipChatApplication::Configuration&):393] datapath "/opt/HipChat4/lib"
[08:34:07][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():63] could not get dbus interface: org.freedesktop.NetworkManager
[08:34:07][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state = true
[08:34:07][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[08:34:07][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[08:34:07][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check: "https://api.hipchat.com/v2/health-check"
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_num_locks
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_id_callback
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_locking_callback
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve ERR_free_strings
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_init
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_new_null
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_push
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_free
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_num
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_pop_free
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve sk_value
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_library_init
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_load_error_strings
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_get_ex_new_index
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_client_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv3_client_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_client_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_server_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv3_server_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_server_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve X509_STORE_CTX_get_chain
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay_version
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function sk_num
[08:34:07][int main(int, char**):447] RestartNumber= 0
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [08:34:07][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
[08:34:07][void AbstractOnlineStatus::handleReplyFinished(QNetworkReply*):131] errors from onlineStatusCheck found. ErrorStr = "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
[08:34:07][void AbstractOnlineStatus::handleOnlineStatusResult(bool):179] handleOnlineStatusResult no change : false
[08:34:07][void AbstractOnlineStatus::handleOnlineStatusResult(bool):184] initCheckComplete
[08:34:07][void HipChatApplication::onInitialOnlineCheck(bool):307] HCA isInitOnline: false
[08:34:07][void HipChatApplication::startOfflineWindow():143] start Offline Window
Warning: [08:34:13][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: [08:34:13][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: [08:34:13][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: [08:34:13][qt.network.ssl][:0] QSslSocket: cannot call unresolved function ERR_free_strings

4 answers

1 accepted

3 votes
Accepted answer

Hi there,

 

This is a known bug which has been raised before at:

https://jira.atlassian.com/browse/HCPUB-2224

 

Now the workaround is to run the following commands:

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

 

Hope this helps!

wonderful! I confirm that the workaround actually solves the problem.

It wonderfully works. I've been searching around the internet, and this is the only one solution that works. Big thanks !

Worked for me too under Debian 9 Stretch.  Thank you.

Debian 9 testing, working like a charm. Thanks.

FWIW, on Debian 9 stretch, the initial workaround of just symlinking libssl (per https://confluence.atlassian.com/hipchatkb/hipchat4-debian-client-doesn-t-connect-859526103.html ) didn't work, but linking libcrypto (or installing libssl1.0-dev) worked.

 

Unfortunately I don't seem to be able to submit feedback anymore to that article.

for Ubuntu 18.04 I used following:

sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /opt/HipChat4/lib/libssl.so --force

sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /opt/HipChat4/lib/libcrypto.so --force

 

I believe this is because Debian Testing includes OpenSSL 1.1.0, while HipChat is built to use OpenSSL 1.0.0, and the two versions are not compatible.

Like @Massimo Corà, I've got both versions installed, and I still get this problem.  What's interesting is that I tried the steps at https://confluence.atlassian.com/hipchatkb/hipchat4-debian-client-doesn-t-connect-859526103.html, and stuff like LD_PRELOAD, and neither worked.

I got it to work by using these commands:

sudo ln -s /usr/lib64/libssl.so.1.0.2j  /opt/HipChat4/lib/
sudo ln -s /usr/lib64/libssl.so.1.0.2j  /opt/HipChat4/lib/libssl.so

But seriously, this should be fixed by Atlassian. Not everyone should have to do this fix!

 

yeah, but I've both installed.

 

$ dpkg -l | grep libssl
ii libssl1.0.0:amd64 1.0.2a-1 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.0.2:amd64 1.0.2j-4 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:amd64 1.1.0c-2 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:i386 1.1.0c-2 i386 Secure Sockets Layer toolkit - shared libraries

 

I get the same kind of error on Fedora 26 (Alpha).

 

Here is the output from hipchat4:

hello 0.315736
PackageLocation: "/opt/HipChat4/share/localweb/package.json"
package.json opened
package.json valid
package.json object
package.json version value =  "4.29.4"
Reading config.ini file
force_server= false  value= ""
Qt WebEngine ICU data not found at /opt/HipChat4/lib/resources. Trying parent directory...
Installed Qt WebEngine locales directory not found at location /opt/HipChat4/lib/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/lib/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /opt/HipChat4/lib/resources. Trying parent directory...
[0406/205655:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/lib/qtwebengine_devtools_resources.pak
Some features may not be available.
[0406/205655:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[0406/205655:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
--type=zygote
hello 0.695496
Qt WebEngine ICU data not found at /home/tm/Qt/5.7/gcc_64/resources. Trying parent directory...
Qt WebEngine ICU data not found at /home/tm/Qt/5.7/gcc_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location /home/tm/Qt/5.7/gcc_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /home/tm/Qt/5.7/gcc_64/resources. Trying parent directory...
Qt WebEngine resources not found at /home/tm/Qt/5.7/gcc_64. Trying application directory...
[0406/205655:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/bin/qtwebengine_devtools_resources.pak
Some features may not be available.
[0406/205655:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[18:56:55][void HipChatApplication::initialize(HipChatApplication::Configuration&):393] datapath "/opt/HipChat4/lib"
[18:56:55][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():38] org.freedesktop.NetworkManager interface is valid
[18:56:55][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state =  true
[18:56:55][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[18:56:55][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[18:56:55][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check:  "https://api.hipchat.com/v2/health-check"
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_num_locks
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_id_callback
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_locking_callback
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve ERR_free_strings
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_init
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_new_null
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_push
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_free
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_num
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_pop_free
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve sk_value
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_library_init
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_load_error_strings
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_get_ex_new_index
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_client_method
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_client_method
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_server_method
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_server_method
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve X509_STORE_CTX_get_chain
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay_version
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [18:56:55][qt.network.ssl][:0] QSslSocket: cannot call unresolved function sk_num

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

501 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you