Search code examples
reportodoowkhtmltopdf

QSslSocket: cannot resolve SSLv2_server_method "Wkhtmltopdf " odoo


when i print my report i get this error , i don't know how to solve it this is the error

Rapport (PDF Wkhtmltopdf a échoué (code d'erreur : -11). Message : QSslSocket: cannot resolve SSLv2_client_method QSslSocket: cannot resolve SSLv2_server_method

enter image description here


Solution

  • This error is reported on wkhtmltopdf repo:

    1. https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1516
    2. https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2431

    Make sure you have ssl libs properly installed and that you are using the correct wkhtmltopdf version (should be 0.12.1 on odoo)