Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Installation › Issues with OpenSSL version

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20953

    Javier

    Hello

    I recently installed Felgo in openSUSE Tumbleweed. First, I had this error from MaintenanceTool

    MaintenanceTool: relocation error: MaintenanceTool: symbol SSL_get0_next_proto_negotiated version OPENSSL_1.0.1 
    not defined in file libssl.so.1.0.0 with link time reference
    

    I investigated a bit, and my libopenssl1_0_0 was labeled as 1.0.2q version, After a lot of effort, I managed to downgrade  it to libopenssl1_0_0 (1.0.1g). Now, MaintenanceTool is working, although I see these errors or warnings, I am not sure.

    MaintenanceTool: /usr/lib64/libssl.so.1.0.0: no version information available (required by MaintenanceTool)
    MaintenanceTool: /usr/lib64/libssl.so.1.0.0: no version information available (required by MaintenanceTool)
    MaintenanceTool: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by MaintenanceTool)
    

    The problem is that I cannot do https requests (http requests work fine), the result is always xhr.status = 0. For example, the following simple request works in Qt – Qt Creator 4.8.0, but it doesn’t work in Felgo – Qt Creator 4.7.0.

    var xhr = new XMLHttpRequest
    
    xhr.onreadystatechange = function() {
      if (xhr.readyState === XMLHttpRequest.DONE) {
        console.log(xhr.status)
        console.log(xhr.statusText)
        console.log(xhr.responseText)
      }
    }
    xhr.open("GET", "https://api.nasa.gov/EPIC/api/natural/date/2018-10-11?api_key=DEMO_KEY")
    xhr.send()

    So, I think this issue is directly related to the version of my libopenssl1_0_0 library. Any hints or ideas to solve this problem? thanks.

    #20954

    Javier

    Having a look at VPlay – Qt Creator 4.7.0 errors I discovered that my OpenSSL version is incompatible. I also tried the steps given in this post but it didn’t work.

    https://felgo.com/cross-platform-development/install-v-play-on-fedora

    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 SSLv3_client_method
    qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_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: Incompatible version of OpenSSL
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    We got a connection error when networkLayerState is Unknown
    SOFT ASSERT: "!d->m_needsSetup" in file /work/build/qt-creator/src/plugins/coreplugin/helpmanager.cpp, line 285
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qrc:/qml/LoginPage.qml:489:3: QML Image: Error creating SSL context ()
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    We got a connection error when networkLayerState is Unknown
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    

     

    #20955

    Javier

    Ok, I made it work in OpenSUSE Tumbleweed. From this repository

    http://download.opensuse.org/repositories/home:/flichtenheld/openSUSE_Factory/

    I installed these packages (version 1.0.1g).

    openssl1
    libopenssl1_0_0
    libopenssl1-devel

    I am still getting these messages in Qt Creator, but it seems to be working.

    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_new
    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_free
    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_ssl_ctx
    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_flags
    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_finish
    qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_cmd
    qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
    qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
    qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
    

     

     

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded