Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFA activation gives HTTP 500 #4391

Closed
Artic6 opened this issue Jun 1, 2024 · 7 comments
Closed

MFA activation gives HTTP 500 #4391

Artic6 opened this issue Jun 1, 2024 · 7 comments

Comments

@Artic6
Copy link

Artic6 commented Jun 1, 2024

I am unable to enable to factor authentication because I get an internal server error (500) I would imagine it’s missing a module or plug-in to be able to interact with Google authenticator to get the QR code that I need to scan - this is what I get in the logs

When you go to enable MFA, you do not get a QR code to Scan you getting an internal server error but on your next login it prompt you for a code which you don’t have because you can’t set it up?

This is all I get from the logs, If I need to look in other places, please let me know

[2024-05-31 12:46:09] production.NOTICE: Symfony\Component\HttpKernel\Exception\HttpException in /var/www/html/Cachet/app/Http/Middleware/Authenticate.php:58
Stack trace:
#0 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): CachetHQ\Cachet\Http\Middleware\Authenticate->handle()
#1 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#2 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}()
#3 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#4 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#5 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(75): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}()
#6

@Artic6
Copy link
Author

Artic6 commented Jun 1, 2024

Reading the previous closures of this it would appear your focusing on v3

but if you look at your demo site of v3 it’s not fully released and when you look at the v3 demo - it’s still actually v2

@jbrooksuk
Copy link
Member

@Artic6 that's correct, v3 is the version we're actively working on. However, if you'd like to make a PR to fix this issue I'd happily accept it and release a patch.

@jbrooksuk
Copy link
Member

By the way, I was not able to replicate this in the live demo.

CleanShot 2024-06-03 at 05 36 40@2x

@Artic6
Copy link
Author

Artic6 commented Jun 3, 2024

I don’t get the QR code. I just get an internal server error.

do I need to download a component that I’m missing?

@jbrooksuk
Copy link
Member

The package that generates the QR code is already required by default. Can you provide information on the server you're running Cachet on? What version of PHP etc?

@Artic6
Copy link
Author

Artic6 commented Jun 3, 2024 via email

@Artic6
Copy link
Author

Artic6 commented Jun 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants