Turn on mobile phone with bitwarden already installed
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_
GiteaMirror
added the bug label 2026-04-20 14:19:28 -05:00
<!-- 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.
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).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
Expected Result
No crash.
Actual Result
Server crashed.
Logs
Screenshots or Videos
No response
Additional Context
No response
@yonas commented on GitHub (Sep 7, 2024):
Can I disable this email from needing to be sent.
@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.