Managing 2FA in Web UI does not work anymore #656

Closed
opened 2025-10-09 16:44:54 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @fhibler on GitHub.

Subject of the issue

Managing 2FA in Web UI does not work anymore

Deployment environment

Your environment (Generated via diagnostics page)

  • Vaultwarden version: v1.30.0
  • Web-vault version: v2023.10.0
  • OS/Arch: linux/x86_64
  • Running within Docker: true (Base: Debian)
  • Environment settings overridden: true
  • Uses a reverse proxy: true
  • IP Header check: true (X-Forwarded-For)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Browser/Server Time Check: true
  • Server/NTP Time Check: true
  • Domain Configuration Check: true
  • HTTPS Check: true
  • Database type: SQLite
  • Database version: 3.41.2
  • Clients used:
  • Reverse proxy and version:
  • Other relevant information:

Steps to reproduce

  • Go to your Account Settings -> Security -> Tab 'Two-step login'
  • Click to 'Manage' on a 2FA provider (like Email or FIDO2 WebAuthn)
  • Click 'Send Code' under 'Send a verification code to your email'
  • Red Error popup 'An error has occured - An unexpected error has occurred.' appears on the top right side of the page

The logs of the application server also show this:

[2023-11-07 12:47:19.670][request][INFO] POST /api/accounts/request-otp
[2023-11-07 12:47:19.670][response][INFO] 404 Not Found

Expected behaviour

Email with verification code is being sent

Actual behaviour

Can't manage any 2FA anymore

Troubleshooting data

Screenshot 2023-11-07 at 13 48 37
Screenshot 2023-11-07 at 13 48 43

Originally created by @fhibler on GitHub. ### Subject of the issue Managing 2FA in Web UI does not work anymore ### Deployment environment ### Your environment (Generated via diagnostics page) * Vaultwarden version: v1.30.0 * Web-vault version: v2023.10.0 * OS/Arch: linux/x86_64 * Running within Docker: true (Base: Debian) * Environment settings overridden: true * Uses a reverse proxy: true * IP Header check: true (X-Forwarded-For) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Browser/Server Time Check: true * Server/NTP Time Check: true * Domain Configuration Check: true * HTTPS Check: true * Database type: SQLite * Database version: 3.41.2 * Clients used: * Reverse proxy and version: * Other relevant information: ### Steps to reproduce * Go to your Account Settings -> Security -> Tab 'Two-step login' * Click to 'Manage' on a 2FA provider (like Email or FIDO2 WebAuthn) * Click 'Send Code' under 'Send a verification code to your email' * Red Error popup 'An error has occured - An unexpected error has occurred.' appears on the top right side of the page The logs of the application server also show this: ``` [2023-11-07 12:47:19.670][request][INFO] POST /api/accounts/request-otp [2023-11-07 12:47:19.670][response][INFO] 404 Not Found ``` ### Expected behaviour Email with verification code is being sent ### Actual behaviour Can't manage any 2FA anymore ### Troubleshooting data ![Screenshot 2023-11-07 at 13 48 37](https://github.com/dani-garcia/vaultwarden/assets/1452221/984717a5-ff62-493a-90b3-8ae2b3580fc8) ![Screenshot 2023-11-07 at 13 48 43](https://github.com/dani-garcia/vaultwarden/assets/1452221/089f6abb-e7a7-4d87-a8bf-922f01dbb0b1)
Author
Owner

@BlackDex commented on GitHub:

Probably a Duplicate of #4042

@BlackDex commented on GitHub: Probably a Duplicate of #4042
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#656