Toggldesktop: Login with Google on Linux just shows empty window

Created on 20 Jun 2018  路  6Comments  路  Source: toggl-open-source/toggldesktop

Starting TogglDesktop and press button to log in with Google opens a new, empty window.

My os is: Debian buster/sid

Output from terminal:

$ /opt/toggldesktop/TogglDesktop.sh 
Log path  "/home/vikahl/.local/share/Toggl/Toggl Desktop/toggldesktop.log"
DB path  "/home/vikahl/.local/share/Toggl/Toggl Desktop/toggldesktop.db"
OAuth2::startLogin, token from Settings ""
Login URL "https://accounts.google.com/o/oauth2/auth?client_id=426090949585.apps.googleusercontent.com&redirect_uri=http://www.google.com/robots.txt&response_type=token&scope=profile email"
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: QSslSocket: cannot resolve SSLeay_version
qt.network.ssl: QSslSocket: cannot call unresolved function SSLeay
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function sk_num
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
We got a connection error when networkLayerState is Unknown

Last lines in Toggl Desktop/toggldesktop.log

2018-06-20 11:09:58.363 [4029 4]:HTTPSClient:D:Request sent. Receiving response..
2018-06-20 11:09:58.406 [4029 4]:HTTPSClient:D:Response status code 200, content length 35, content type image/gif, unknown content encoding
2018-06-20 11:09:58.406 [4029 4]:HTTPSClient:D:Access-Control-Allow-Origin: *
2018-06-20 11:09:58.406 [4029 4]:HTTPSClient:D:Date: Thu, 14 Jun 2018 18:00:52 GMT
2018-06-20 11:09:58.406 [4029 4]:HTTPSClient:D:Pragma: no-cache
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Expires: Mon, 01 Jan 1990 00:00:00 GMT
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Last-Modified: Sun, 17 May 1998 03:00:00 GMT
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:X-Content-Type-Options: nosniff
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Content-Type: image/gif
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Server: Golfe2
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Content-Length: 35
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Cache-Control: no-cache, no-store, must-revalidate
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Age: 493746
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Alt-Svc: quic=":443"; ma=2592000; v="43,42,41,39,35"
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:Connection: close
2018-06-20 11:09:58.407 [4029 4]:HTTPSClient:D:35 characters transferred with download
2018-06-20 11:09:58.437 [4029 4]:HTTPSClient:D:Sending request to https://ssl.google-analytics.com/collect?v=1&tid=UA-3215787-27&cid=d095b77b-3764-4758-a067-d26f91be037f&t=event&ec=settings&ea=settings/pomodoro_break-0 ..
2018-06-20 11:09:58.607 [4029 4]:HTTPSClient:D:GET /collect?v=1&tid=UA-3215787-27&cid=d095b77b-3764-4758-a067-d26f91be037f&t=event&ec=settings&ea=settings/pomodoro_break-0 HTTP/1.1
Connection: Close
User-Agent: linux_native_app/7.4.122
Host: ssl.google-analytics.com
Accept-Encoding: gzip


2018-06-20 11:09:58.607 [4029 4]:HTTPSClient:D:Request sent. Receiving response..
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Response status code 200, content length 35, content type image/gif, unknown content encoding
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Access-Control-Allow-Origin: *
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Date: Thu, 14 Jun 2018 18:00:52 GMT
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Pragma: no-cache
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Expires: Mon, 01 Jan 1990 00:00:00 GMT
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Last-Modified: Sun, 17 May 1998 03:00:00 GMT
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:X-Content-Type-Options: nosniff
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Content-Type: image/gif
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Server: Golfe2
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Content-Length: 35
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Cache-Control: no-cache, no-store, must-revalidate
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Age: 493746
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Alt-Svc: quic=":443"; ma=2592000; v="43,42,41,39,35"
2018-06-20 11:09:58.645 [4029 4]:HTTPSClient:D:Connection: close
linux

Most helpful comment

I was still experiencing problems on PopOS like @bendichter. I figured I'd try building from source which still caused some of these same errors. I installed libssl-dev but that didn't fix the errors. The final fix came from installing libssl-dev:i386 (the 32-bit package).

Edit/Side note: This got the Google login to show, but I have two factor authentication. My phone showed me three numbers where one was supposed to be shown by the TogglDesktop application but wasn't. I luckily guessed the right number and was logged in.

All 6 comments

I'm unable to replicate this. Might it be that it was an one time connectivity issue or are you seeing this every single time you try to open google login?

I had the same problem in Debian Stretch, and I solved it by installing libssl1.0-dev package as suggested in this link

Now the login dialog box for Google account appears as expected.

I switched from Google login, but a quick testing shows that @paulaksm solution probably solved my problem as well.

this problem is persisting for me on Pop_OS

I was still experiencing problems on PopOS like @bendichter. I figured I'd try building from source which still caused some of these same errors. I installed libssl-dev but that didn't fix the errors. The final fix came from installing libssl-dev:i386 (the 32-bit package).

Edit/Side note: This got the Google login to show, but I have two factor authentication. My phone showed me three numbers where one was supposed to be shown by the TogglDesktop application but wasn't. I luckily guessed the right number and was logged in.

I ended up going back to Mac but I appreciate you sharing the wisdom

Was this page helpful?
0 / 5 - 0 ratings