Comment 17 for bug 1624791

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

O.k., turns out the downgrading did not help in the end. After lots of further debugging, it seems that we were hitting an instance of

https://cryptography.io/en/latest/faq/#starting-cryptography-using-mod-wsgi-produces-an-internalerror-during-a-call-in-register-osrandom-engine

and setting

    WSGIApplicationGroup %{GLOBAL}

in the apache2 config for the dashboard has resolved the issue for me. To confirm whether you are hitting the same issue, check for these lines in your dashboard log before the handshake error:

extern "Python": function Cryptography_rand_bytes() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.