[GH-ISSUE #4933] Android app crashes server #2025

Closed
opened 2026-03-03 02:14:34 +03:00 by kerem · 2 comments
Owner

Originally created by @yonas on GitHub (Sep 7, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4933

Vaultwarden Support String

TODO: Will add in a few minutes.

Vaultwarden Build Version

1.30.0

Deployment method

OS Package (apt, yum/dnf, pacman, apk, nix, ...)

Custom deployment method

No response

Reverse Proxy

None

Host/Server Operating System

Other

Operating System Version

FreeBSD 14

Clients

Android

Client Version

Latest Android

Steps To Reproduce

  1. Start vaultwarden
  2. Turn on mobile phone with bitwarden already installed
  3. Discover vaultwarden crashed with an error message in logs

Expected Result

No crash.

Actual Result

Server crashed.

Logs

Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.875][vaultwarden::api::core::two_factor][INFO] User yonas@mail.lan did not complete a 2FA login within the configured time limit. IP: 127.0.0.1
Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.886][vaultwarden::mail][ERROR] SMTP error: Connection error: Connection refused (os error 61)
Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.890][panic][ERROR] thread 'tokio-runtime-worker' panicked at 'Error sending incomplete 2FA email: SMTP error: Connection error: Connection refused (os error 61)': src/api/core/two_factor/mod.rs:205

Screenshots or Videos

No response

Additional Context

No response

Originally created by @yonas on GitHub (Sep 7, 2024). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4933 ### Vaultwarden Support String TODO: Will add in a few minutes. ### Vaultwarden Build Version 1.30.0 ### Deployment method OS Package (apt, yum/dnf, pacman, apk, nix, ...) ### Custom deployment method _No response_ ### Reverse Proxy None ### Host/Server Operating System Other ### Operating System Version FreeBSD 14 ### Clients Android ### Client Version Latest Android ### Steps To Reproduce 1. Start vaultwarden 2. Turn on mobile phone with bitwarden already installed 3. Discover vaultwarden crashed with an error message in logs ### Expected Result No crash. ### Actual Result Server crashed. ### Logs ```text Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.875][vaultwarden::api::core::two_factor][INFO] User yonas@mail.lan did not complete a 2FA login within the configured time limit. IP: 127.0.0.1 Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.886][vaultwarden::mail][ERROR] SMTP error: Connection error: Connection refused (os error 61) Sep 7 11:41:30 server1 vaultwarden[9748]: [2024-09-07 11:41:30.890][panic][ERROR] thread 'tokio-runtime-worker' panicked at 'Error sending incomplete 2FA email: SMTP error: Connection error: Connection refused (os error 61)': src/api/core/two_factor/mod.rs:205 ``` ### Screenshots or Videos _No response_ ### Additional Context _No response_
kerem 2026-03-03 02:14:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@yonas commented on GitHub (Sep 7, 2024):

Error sending incomplete 2FA email: SMTP error: Connection error: Connection refused

Can I disable this email from needing to be sent.

<!-- gh-comment-id:2336397744 --> @yonas commented on GitHub (Sep 7, 2024): > Error sending incomplete 2FA email: SMTP error: Connection error: Connection refused Can I disable this email from needing to be sent.
Author
Owner

@stefan0xC commented on GitHub (Sep 7, 2024):

This is a duplicate of #4528 and has already been fixed by #4792 which is in the latest release (1.32.0). So you should update your Vaultwarden.

<!-- gh-comment-id:2336401674 --> @stefan0xC commented on GitHub (Sep 7, 2024): This is a duplicate of #4528 and has already been fixed by #4792 which is in the latest release (1.32.0). So you should [update your Vaultwarden](https://github.com/dani-garcia/vaultwarden/issues/1180).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2025
No description provided.