Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Exit with code 1 due to network error: UnknownNetworkError #3923

Closed
alagiyanirav opened this issue May 19, 2018 · 6 comments
Closed

Exit with code 1 due to network error: UnknownNetworkError #3923

alagiyanirav opened this issue May 19, 2018 · 6 comments

Comments

@alagiyanirav
Copy link

Command: wkhtmltopdf https://google.com google.pdf

Loading pages (1/6)
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://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

wkhtmltopdf 0.12.4 (with patched qt)
wkhtmltopdf : wkhtmltopdf 0.12.4 (with patched qt)

@ashkulz
Copy link
Member

ashkulz commented May 19, 2018

Duplicate of #3001

@ashkulz ashkulz closed this as completed May 19, 2018
@alagiyanirav
Copy link
Author

Hi Ashish,
Thanks for your valuable feedback.
I have already gone through #3001 but unable to find steps for the solution in Ubuntu 18.04.
I really appreciate your help.
Thanks

@pla1
Copy link

pla1 commented Nov 21, 2018

@alagiyanirav sudo apt install libssl1.0-dev on Ubuntu 18.04 worked for me.

@ljromero
Copy link

ljromero commented Apr 2, 2019

@pla1 This works for me too on Debian Stretch

@visahardik
Copy link

I have same problem after installing sudo apt install libssl1.0-dev.
Is there any other option. I am using h4cc/wkhtmltopdf-amd64 to print PDF in ubuntu lamp localhost.

@ashkulz
Copy link
Member

ashkulz commented Jun 12, 2020

Please use the latest version of wkhtmltopdf. If you're using some wrapper, please ask them to update their package, can't help you there.

@wkhtmltopdf wkhtmltopdf locked as resolved and limited conversation to collaborators Jun 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants