autoDANE icon indicating copy to clipboard operation
autoDANE copied to clipboard

QSslSocket Errors

Open Kaicastledine opened this issue 8 years ago • 7 comments

Hello,

Here are the results when using this app -Kali Rolling (Debain) -wkhtmltopdf --version 0.12.3 (with patchedqt)

QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_library_init
Exit with code 1 due to network error: UnknownNetworkError
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback

Seems to be the same issue as reported here,

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3001

Kaicastledine avatar Jul 06 '17 10:07 Kaicastledine

Resolved by installing libssl1.0-dev

Kaicastledine avatar Jul 06 '17 10:07 Kaicastledine

Still getting QSslSocket: cannot resolve SSLv3_server_method This appears when trying to get screenshots of servers

Kaicastledine avatar Jul 06 '17 10:07 Kaicastledine

When updating to wkhtmltopdf 0.12.4, the screenshots are taken of the servers and the errors messages can be ignored.

Tripex48 avatar Nov 17 '17 11:11 Tripex48

Hi guys, I am trying to generate pdf getting error.

PDF could not be created: "Loading pages (1/6)\n[> ] 0%\r[======> ] 10%\rQSslSocket: cannot resolve CRYPTO_num_locks\nQSslSocket: cannot resolve CRYPTO_set_id_callback\nQSslSocket: cannot resolve CRYPTO_set_locking_callback\nQSslSocket: cannot resolve sk_free\nQSslSocket: cannot resolve sk_num\nQSslSocket: cannot resolve sk_pop_free\nQSslSocket: cannot resolve sk_value\nQSslSocket: cannot resolve SSL_library_init\nQSslSocket: cannot resolve SSL_load_error_strings\nQSslSocket: cannot resolve SSLv3_client_method\nQSslSocket: cannot resolve SSLv23_client_method\nQSslSocket: cannot resolve SSLv3_server_method\nQSslSocket: cannot resolve SSLv23_server_method\nQSslSocket: cannot resolve X509_STORE_CTX_get_chain\nQSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf\nQSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf\nQSslSocket: cannot resolve SSLeay\nQSslSocket: cannot call unresolved function CRYPTO_num_locks\nQSslSocket: cannot call unresolved function CRYPTO_set_id_callback\nQSslSocket: cannot call unresolved function CRYPTO_set_locking_callback\nQSslSocket: cannot call unresolved function SSL_library_init\nQSslSocket: cannot call unresolved function SSLv23_client_method\nQSslSocket: cannot call unresolved function sk_num\n[===========> ] 19%\rQSslSocket: cannot call unresolved function SSLv23_client_method\nQSslSocket: cannot call unresolved function SSL_library_init\nQSslSocket: cannot call unresolved function SSLv23_client_method\nQSslSocket: cannot call unresolved function SSL_library_init\nQSslSocket: cannot call unresolved function SSLv23_client_method\nQSslSocket: cannot call unresolved function SSL_library_init\nQSslSocket: cannot call unresolved function SSLv23_client_method\nQSslSocket: cannot call unresolved function SSL_library_init\nWarning: Failed to load http://localhost/corporate/public/images/landmark.png (ignore)\n[============> ] 21%\r[============================================================] 100%\rCounting pages (2/6) \n[============================================================] Object 1 of 1\rResolving links (4/6) \n[============================================================] Object 1 of 1\rLoading headers and footers (5/6) \nPrinting pages (6/6)\n[> ] Preparing\r[==============================> ] Page 1 of 2\r[============================================================] Page 2 of 2\rDone \nExit with code 1 due to network error: UnknownNetworkError\nQSslSocket: cannot call unresolved function CRYPTO_num_locks\nQSslSocket: cannot call unresolved function CRYPTO_set_id_callback\nQSslSocket: cannot call unresolved function CRYPTO_set_locking_callback\n"

dprb123456 avatar Dec 16 '17 08:12 dprb123456

@dprb123456 You need to install openssl-dev packages or change assets loaded from https to http (option 1 sometimes require additional steps)

robregonm avatar Dec 18 '17 13:12 robregonm

Having the same issue on debian:jessie with wkhtmltopdf 0.12.4. Openssl and libssl-dev are installed.

When i execute "wkhtmltopdf-amd64 https://www.google.com test.pdf" am getting the following errors:

QSslSocket: cannot resolve CRYPTO_num_locks                  ] 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_library_init
Error: Failed loading page https://www.google.com (sometimes it will work just to ignore this error with --load-error-handling ignore)
Exit with code 1 due to network error: UnknownNetworkError
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback

The error that i am trying to resolve in my case is image not loaded because its https. The above is just an example.

Any help is much appreciated. Thanks.

kalemdzievski avatar Nov 22 '18 11:11 kalemdzievski

Still getting QSslSocket: cannot resolve SSLv3_server_method This appears when trying to get screenshots of servers

QSslSocket: cannot resolve SSLv3_server_method

have you already got any solutions?

gimebreak avatar Jan 17 '21 01:01 gimebreak