Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not load weather data on start on application #3

Open
kd8bny opened this issue Apr 13, 2017 · 16 comments
Open

Does not load weather data on start on application #3

kd8bny opened this issue Apr 13, 2017 · 16 comments

Comments

@kd8bny
Copy link
Contributor

kd8bny commented Apr 13, 2017

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
Copy link
Owner

vadrian89 commented Apr 13, 2017 via email

@kd8bny
Copy link
Contributor Author

kd8bny commented Apr 16, 2017

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
Copy link
Owner

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

@vadrian89
Copy link
Owner

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

@kd8bny
Copy link
Contributor Author

kd8bny commented May 3, 2017

Will do!

@kd8bny
Copy link
Contributor Author

kd8bny commented May 3, 2017

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
Copy link
Owner

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
Copy link
Contributor Author

kd8bny commented May 7, 2017

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
Copy link
Owner

You have 1.1.0, mine has: 1.0.2g

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

@kd8bny
Copy link
Contributor Author

kd8bny commented May 8, 2017

So openweather just use http? Whereas Yahoo use https?

@vadrian89
Copy link
Owner

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

@kd8bny
Copy link
Contributor Author

kd8bny commented May 16, 2017

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
Copy link
Owner

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

@kd8bny
Copy link
Contributor Author

kd8bny commented Sep 12, 2017

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
Copy link
Contributor Author

kd8bny commented Sep 13, 2017

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 <[email protected]>
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
Copy link
Owner

vadrian89 commented Sep 13, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants