Hipchat4 client no longer starts on Ubntu 16.10

Hipchat4 sed to work for me, no longer.  Even after a complete uninstall/reinstall and removal of ~/.Hipchat all I see is:

image.png

I find no reference to this anywhere, and yes, we do have an internet connection that works!

Startup logs:

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...
[0629/134642:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/lib/qtwebengine_devtools_resources.pak
Some features may not be available.
[0629/134642:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[0629/134642: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.653038
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...
[0629/134642:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/bin/qtwebengine_devtools_resources.pak
Some features may not be available.
[0629/134642:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[12:46:42][void HipChatApplication::initialize(HipChatApplication::Configuration&):393] datapath "/opt/HipChat4/lib"
[12:46:42][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():38] org.freedesktop.NetworkManager interface is valid
[12:46:42][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state =  false
[12:46:42][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[12:46:42][void AbstractOnlineStatus::doSecondaryCheck(bool):259] onlineStatusUrl is empty
[12:46:42][void AbstractOnlineStatus::handleOnlineStatusResult(bool):179] handleOnlineStatusResult no change :  false
[12:46:42][void AbstractOnlineStatus::handleOnlineStatusResult(bool):184] initCheckComplete
[12:46:42][void HipChatApplication::onInitialOnlineCheck(bool):307] HCA isInitOnline:  false
[12:46:42][void HipChatApplication::startOfflineWindow():143] start Offline Window
[12:46:42][int main(int, char**):447] RestartNumber= 0

2 answers

dont know if its a workaround but it works for me: (debian 9)
see https://jira.atlassian.com/browse/HCPUB-324?focusedCommentId=1007566&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1007566

# install qtwebengine
apt-get install qtwebengine5-dev                    
# copy the folders that are requestet by the message above (https://jira.atlassian.com/browse/HCPUB-324?focusedCommentId=1007566&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1007566)
cp /usr/share/qt5/resources /opt/HipDhat4/lib/
cp /usr/share/qt5/translations /opt/HipDhat4/lib/
# apply this KB article: https://confluence.atlassian.com/hipchatkb/hipchat4-debian-client-doesn-t-connect-859526103.html
ln -sf /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 /opt/HipChat4/lib/
ln -sf /opt/HipChat4/lib/libssl.so.1.0.2 /opt/HipChat4/lib/libssl.so

... after that HipChat 4.29.4.1662 start

A good start but alas, Ubuntu 16.04 doesnt have qtwebengine or qtwebengine5.  I can't upgrade to latest for compatbility reasons with Postgresql and JIRA.  I linked in the libssl.so, but also no go.

 

Guess I have to rely on a phone ;)

hrm, sorry - maybe this way, somehow: https://wiki.qt.io/How_to_Try_QtWebEngine

Nah, even tried the quoted 16.04 dependency install, its a bust, thanks anyway.  Looks like some recent package update broke it (it was working reasonably reliably for a long time).

mp@blackhole ~ $ hipchat4 --verbose
hello 0.482866
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...
[0711/095048:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/lib/qtwebengine_devtools_resources.pak
Some features may not be available.
[0711/095048:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[0711/095048: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.252656
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...
[0711/095048:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/bin/qtwebengine_devtools_resources.pak
Some features may not be available.
[0711/095048:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale 
[07:50:48][void HipChatApplication::initialize(HipChatApplication::Configuration&):393] datapath "/opt/HipChat4/lib"
[07:50:48][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():63] could not get dbus interface: org.freedesktop.NetworkManager
[07:50:48][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state =  true
[07:50:48][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[07:50:48][void AbstractOnlineStatus::doSecondaryCheck(bool):259] onlineStatusUrl is empty
[07:50:48][void AbstractOnlineStatus::handleOnlineStatusResult(bool):171] newOnlineState:  true
[07:50:48][void AbstractOnlineStatus::handleOnlineStatusResult(bool):184] initCheckComplete
[07:50:48][void HipChatApplication::onInitialOnlineCheck(bool):307] HCA isInitOnline:  true
[07:50:48][void HipChatApplication::onInitialOnlineCheck(bool):310] doAuth
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_num_locks
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_id_callback
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve CRYPTO_set_locking_callback
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve ERR_free_strings
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve EVP_CIPHER_CTX_init
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_new_null
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_push
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_free
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_num
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_pop_free
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve sk_value
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_library_init
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_load_error_strings
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSL_get_ex_new_index
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_client_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv3_client_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_client_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_server_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv3_server_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv23_server_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve X509_STORE_CTX_get_chain
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot resolve SSLeay_version
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [07:50:48][qt.network.ssl][:0] QSslSocket: cannot call unresolved function sk_num
Warning: [07:50:48][:0] 
WARNING: This project is using the experimental QML API extensions for QtWebEngine and is therefore tied to a specific QtWebEngine release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

[07:50:48][qml][onCompleted:7] QML localContentCanAccessRemoteUrls true
[07:50:48][qml][onCompleted:9] QML localStorageEnabled true
[07:50:48][qml][onCompleted:11] QML accessFileUrls true
[07:50:48][void AuthWindow::init():124] Resizing AuthWindow based on calulated initial zoom to  QSize(500, 700)
[07:50:48][void NativeWebWindow::centerWindowOnScreen(QScreen*):153] Centering Window on screen :  QPoint(1470,370)
[07:50:48][void AuthWindow::authenticate():182] No previous login detected
[07:50:48][QUrl WebBridge::createLocalURL(QString) const:38] url =  QUrl("file:///opt/HipChat4/share/localweb/modules/service_selector/service_selector.html")
[07:50:48][void AuthWindow::routeToLandingPage(bool):221] routeToLandingPage show
[07:50:48][int main(int, char**):447] RestartNumber= 0
[07:50:48][qml][onUrlChanged:190] onUrlChanged: file:///opt/HipChat4/share/localweb/modules/service_selector/service_selector.html
[07:50:48][virtual void AuthBridge::controlChannelReady():26] AuthBridge Control Channel signaled ready from HJSC
[07:50:48][QString AuthBridge::getLastServerUrl():75] lastServerUrl =  ""
[07:50:48][qml][zoomFactorChange:38] ***QML Zoom factor changed 1
[07:50:59][void AuthBridge::loginType(bool):56] AuthBridge::loginType =  true
[07:50:59][void AuthWindow::onCloudSelected():417] cloud login selected
[07:50:59][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[07:50:59][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[07:50:59][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check:  "https://api.hipchat.com/v2/health-check"
Warning: [07:50:59][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: [07:50:59][qt.network.ssl][:0] QSslSocket: cannot call unresolved function SSL_library_init
[07:50:59][void AbstractOnlineStatus::handleReplyFinished(QNetworkReply*):131] errors from onlineStatusCheck found. ErrorStr =  "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
[07:50:59][void AbstractOnlineStatus::handleOnlineStatusResult(bool):171] newOnlineState:  false
Warning: [07:51:04][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: [07:51:04][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: [07:51:04][qt.network.ssl][:0] QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: [07:51:04][qt.network.ssl][:0] QSslSocket: cannot call unresolved function ERR_free_strings

This is still relevant issue !

I'd log a bug but I cannot do that any more.

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...

482 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