Cannot configure 2FA using OTP / Yubikey/ U2F #2708

Closed
opened 2026-04-06 03:58:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @o2droid on 11/24/2020

Cannot configure 2FA using OTP / Yubikey/ U2F

I cannot configure any of those 2FA. After trying to savce changes, I'm logout with error "Unexpected error occured" and "Your login session has expired". I cannot also login to android app as it timeouts me just after login.

Your environment

Debian 10.6, docker installed using apt

  • Bitwarden_rs version: docker image, latest (2.16.1)
  • Install method: using bitwarden_rs wiki
  • Clients used: Firefox, Edge
  • Reverse proxy and version: apache with location redirect (also tried without)
  • Version of mysql/postgresql: N/A
  • Other relevant information: Bitwarden RS run options:
    -e YUBICO_CLIENT_ID=###########-e YUBICO_SECRET_KEY=###########-e ADMIN_TOKEN=########### -e LOG_FILE=/data/bitwarden.log -e SMTP_HOST=smtp.gmail.com -e SMTP_FROM=########### -e SMTP_PORT=587 -e SMTP_USERNAME=########### -e SMTP_PASSWORD=########### -e SMTP_SSL=true -e SMTP_AUTH_MECHANISM="Plain","Login","Xoauth2" -e DOMAIN=https://###########/bw -e EXTENDED_LOGGING=true -e LOG_TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S.%3f" -e TZ=Europe/Warsaw -p 880:80 bitwardenrs/server:latest

Steps to reproduce

Just try to configure 2FA.

Expected behaviour

2FA should be configured

Actual behaviour

I'm logout with error "Unexpected error occured" and "Your login session has expired".

Relevant logs

No additional logs.

*Originally created by @o2droid on 11/24/2020* Cannot configure 2FA using OTP / Yubikey/ U2F I cannot configure any of those 2FA. After trying to savce changes, I'm logout with error "Unexpected error occured" and "Your login session has expired". I cannot also login to android app as it timeouts me just after login. ### Your environment Debian 10.6, docker installed using apt * Bitwarden_rs version: docker image, latest (2.16.1) * Install method: using bitwarden_rs wiki * Clients used: Firefox, Edge * Reverse proxy and version: apache with location redirect (also tried without) * Version of mysql/postgresql: N/A * Other relevant information: Bitwarden RS run options: -e YUBICO_CLIENT_ID=###########-e YUBICO_SECRET_KEY=###########-e ADMIN_TOKEN=########### -e LOG_FILE=/data/bitwarden.log -e SMTP_HOST=smtp.gmail.com -e SMTP_FROM=########### -e SMTP_PORT=587 -e SMTP_USERNAME=########### -e SMTP_PASSWORD=########### -e SMTP_SSL=true -e SMTP_AUTH_MECHANISM="Plain","Login","Xoauth2" -e DOMAIN=https://###########/bw -e EXTENDED_LOGGING=true -e LOG_TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S.%3f" -e TZ=Europe/Warsaw -p 880:80 bitwardenrs/server:latest ### Steps to reproduce Just try to configure 2FA. ### Expected behaviour 2FA should be configured ### Actual behaviour I'm logout with error "Unexpected error occured" and "Your login session has expired". ### Relevant logs No additional logs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#2708