Hello,
Webserver - nginx/uwsgi.
I’ve ran into a situation when running privacyidea with a HSM where I would fail the authentication (/validate/check) due to PKCS11 CKR_TOKEN_NOT_PRESENT consistently.
I am running uwsgi and in front I have nginx. When I restart uwsgi, I am able to authenticate once normally.
Could this be stale processes in uwsgi trying to communicate to the HSM?