Page 1 of 1

MFA Setup

Posted: Fri Oct 14, 2022 2:16 pm
by ITMaster
I have a problem setting up MFA on my hesk install. When i click on profile then manage MFA it takes me to the manage_mfa.php page and i can select email or authenticator, once i do this i get HTTP ERROR 500 This page isn't working at the moment pagexxxx can't currently handle this request.

Has anyone else come across this issue?

Many Thanks

Re: MFA Setup

Posted: Fri Oct 14, 2022 2:43 pm
by Klemen

Re: MFA Setup

Posted: Wed Oct 19, 2022 10:24 am
by ITMaster
Hi Klemen

Thank you for your reply, i have turned on debug mode and looked in the logs and we are getting the following error.

stderr: PHP Fatal error: Uncaught exception 'Exception' with message 'There is no suitable CSPRNG installed on your system' in /var/www/clients/client0/web2/web/vendor/paragonie/random_compat/lib/random.php:214, referer: https://domainhere.com/manage_mfa.php

Re: MFA Setup

Posted: Wed Oct 19, 2022 12:44 pm
by Klemen
Looks like PHP cannot find any suitable random bytes generator on your server.

What version of PHP are you using? Try updating to PHP 7+

Re: MFA Setup

Posted: Fri Oct 21, 2022 11:17 am
by ITMaster
Upgrading to php 7.4 has resolved this issue

Thank you for your help Klemen :D