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.
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-internalerro r-during- a-call- in-register- osrandom- engine
and setting
WSGIApplica tionGroup %{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.