vadrian89 / cumulus-qt

Qt port for Cumulus
GNU General Public License v3.0
40 stars 10 forks source link

Does not load weather data on start on application #3

Open kd8bny opened 7 years ago

kd8bny commented 7 years ago

broke

qml: WeatherWindow >> update started
WeatherType::getWeatherData >> Weather data request.
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 EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
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 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
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
Network Error:  "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
qml: WeatherWindow >> update started
WeatherType::getWeatherData >> Weather data request.
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
Network Error:  "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
vadrian89 commented 7 years ago

Might have been an issue with Open weather map. Can You confirm If the issue still persist and If it happens to yahoo api aswell?

Thanks

Pe 13 apr. 2017 5:43 a.m., "Daryl Bennett" notifications@github.com a scris:

[image: broke] https://cloud.githubusercontent.com/assets/3519843/24988046/07702b86-1fc9-11e7-9ba3-ae55ba041fd9.png

qml: WeatherWindow >> update started WeatherType::getWeatherData >> Weather data request. 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 EVP_CIPHER_CTX_cleanup qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init 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 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 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 Network Error: "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))" qml: WeatherWindow >> update started WeatherType::getWeatherData >> Weather data request. 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 Network Error: "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vadrian89/cumulus-qt/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzIhs-NnKg7VA8i2ZHSvhfIuIdtw4W8ks5rvYvYgaJpZM4M8Mnj .

kd8bny commented 7 years ago

Actually as of this moment it seem that the issues is with the yahoo api. Open weather map is working fine. Ill do some digging and keep you posted

vadrian89 commented 7 years ago

Ok, I will keep this issue open until you say otherwise :)

vadrian89 commented 7 years ago

Daryl I have updated the application, can you update to the latest version and check again? Thanks

kd8bny commented 7 years ago

Will do!

kd8bny commented 7 years ago

Here's what we got

In OwmWeatherController::saveWeatherToDb
qml: WeatherWindow >> update started
WeatherType::getWeatherData >> Weather data request.
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
Network Error:  "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))"
qml: WeatherWindow >> update started

While switching to yahoo weather api and back

vadrian89 commented 7 years ago

I think I found a fix, but need to look more into it when I have the time. It is possible because difference between Openssl version on your distro and mine but still not 100% sure and hopefully I can tackle this issue in the upcoming week

kd8bny commented 7 years ago

Ahhh that would makes sense (running debian sid)

Package: openssl
Version: 1.1.0e-2
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
vadrian89 commented 7 years ago

You have 1.1.0, mine has: 1.0.2g

Dependencies: libc6 (2 2.15) libssl1.0.0 (2 1.0.2g)

kd8bny commented 7 years ago

So openweather just use http? Whereas Yahoo use https?

vadrian89 commented 7 years ago

Daryl, yes. Forgot to answer, sorry, I have lot going on.

kd8bny commented 7 years ago

no worries! Im going to install on my Arch laptop soon. Ill try to lower the openssl version when I do that (because Arch==power and control) and hopefully get a better answer to you

vadrian89 commented 7 years ago

Hello Daryl, any luck with the app working? Alternatively you can try the AppImage package to check it out.

kd8bny commented 7 years ago

I havent tried it since the openssl error awhile back. Ill give it a shot tonight (about 6 hrs from now) I really want to check out your apk too very cool

kd8bny commented 7 years ago

For some reason yahoo still acts up...but the others work fine

qml: WeatherWindow >> update started
WeatherType::getWeatherData >> Weather data request.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 16635, resource id: 48234748, major code: 40 (TranslateCoords), minor code: 0
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                                                                                                                                                                                                                    
Network Error:  "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))" 

It looks to be openssl -> version

kd8bny@dunkelweizen:~$ sudo pacman -Qi openssl
Name            : openssl
Version         : 1.1.0.f-2
Description     : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Architecture    : x86_64
URL             : https://www.openssl.org
Licenses        : custom:BSD
Groups          : None
Provides        : None
Depends On      : perl
Optional Deps   : ca-certificates [installed]
Required By     : coreutils  curl  git  iputils  ldns  libarchive  libcurl-compat  libevent  libgit2  libmariadbclient  libsasl  libshout  libssh2  libvncserver  mariadb-clients  net-snmp  nmap  openslp  openssh  openvpn  pkcs11-helper  podofo  python  python2  s-nail
                  socat  virtualbox  w3m
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6.35 MiB
Packager        : Jan de Groot <jgc@archlinux.org>
Build Date      : Wed 19 Jul 2017 03:34:49 AM CDT
Install Date    : Sat 09 Sep 2017 01:16:37 PM CDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
vadrian89 commented 7 years ago

Ok, thanks, guess I need to look into deploying openssl along.

Pe 13 sept. 2017 3:50 a.m., "Daryl Bennett" notifications@github.com a scris:

For some reason yahoo still acts up...but the others work fine

qml: WeatherWindow >> update started WeatherType::getWeatherData >> Weather data request. QXcbConnection: XCB error: 3 (BadWindow), sequence: 16635, resource id: 48234748, major code: 40 (TranslateCoords), minor code: 0 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 Network Error: "Error creating SSL context (error:140A90C4:SSL routines:func(169):reason(196))" ```

It looks to be openssl -> version

Name : openssl Version : 1.1.0.f-2 Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security Architecture : x86_64 URL : https://www.openssl.org Licenses : custom:BSD Groups : None Provides : None Depends On : perl Optional Deps : ca-certificates [installed] Required By : coreutils curl git iputils ldns libarchive libcurl-compat libevent libgit2 libmariadbclient libsasl libshout libssh2 libvncserver mariadb-clients net-snmp nmap openslp openssh openvpn pkcs11-helper podofo python python2 s-nail socat virtualbox w3m Optional For : None Conflicts With : None Replaces : None Installed Size : 6.35 MiB Packager : Jan de Groot jgc@archlinux.org Build Date : Wed 19 Jul 2017 03:34:49 AM CDT Install Date : Sat 09 Sep 2017 01:16:37 PM CDT Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vadrian89/cumulus-qt/issues/3#issuecomment-329025314, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzIhpqHFXpdqCPjHY4mgKblXOn5LfiNks5shya3gaJpZM4M8Mnj .