Using send file option logging out consistently #1998

Closed
opened 2026-04-06 02:47:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dr460nf1r3 on 9/18/2022

Subject of the issue

Using the send file option triggers a logout.

Deployment environment

  • vaultwarden version: 2022.9.0 (Docker testing)
  • Install method: Docker
  • Clients used: Android, Firefox extension, Web
  • Reverse proxy and version: Docker image macbre/nginx-http3:latest

Steps to reproduce

  1. Install the Docker testing image using the options listed below
  2. Try to send a file via the send feature
DOMAIN: redacted
SIGNUPS_ALLOWED: True
SMTP_FROM: redacted
SIGNUPS_ALLOWED: True                                                                         
SMTP_FROM: redacted
SMTP_HOST: redacted
SMTP_PASSWORD: redacted
SMTP_PORT: redacted
SMTP_SSL: redacted
SMTP_USERNAME: redacted
WEBSOCKET_ENABLED: True
YUBICO_CLIENT_ID: redacted
ADMIN_TOKEN: redacted
YUBICO_SECRET_KEY: redacted

Expected behaviour

Actually have the feature working without logout.

Actual behaviour

The user gets logged out.

Troubleshooting data

The relevant log excerpt of when the issue occurred:

[2022-09-18 09:19:11.266][request][INFO] POST /api/sends/file/v2
[2022-09-18 09:19:11.266][_][ERROR] No matching routes for POST /api/sends/file/v2 application/json.
[2022-09-18 09:19:11.266][_][WARN] No 404 catcher registered. Using Rocket default.
[2022-09-18 09:19:11.266][response][INFO] 404 Not Found
*Originally created by @dr460nf1r3 on 9/18/2022* ### Subject of the issue Using the send file option triggers a logout. ### Deployment environment * vaultwarden version: 2022.9.0 (Docker testing) * Install method: Docker * Clients used: Android, Firefox extension, Web * Reverse proxy and version: Docker image macbre/nginx-http3:latest ### Steps to reproduce 1. Install the Docker `testing image` using the options listed below 2. Try to send a file via the send feature ``` DOMAIN: redacted SIGNUPS_ALLOWED: True SMTP_FROM: redacted SIGNUPS_ALLOWED: True SMTP_FROM: redacted SMTP_HOST: redacted SMTP_PASSWORD: redacted SMTP_PORT: redacted SMTP_SSL: redacted SMTP_USERNAME: redacted WEBSOCKET_ENABLED: True YUBICO_CLIENT_ID: redacted ADMIN_TOKEN: redacted YUBICO_SECRET_KEY: redacted ``` ### Expected behaviour Actually have the feature working without logout. ### Actual behaviour The user gets logged out. ### Troubleshooting data The relevant log excerpt of when the issue occurred: ``` [2022-09-18 09:19:11.266][request][INFO] POST /api/sends/file/v2 [2022-09-18 09:19:11.266][_][ERROR] No matching routes for POST /api/sends/file/v2 application/json. [2022-09-18 09:19:11.266][_][WARN] No 404 catcher registered. Using Rocket default. [2022-09-18 09:19:11.266][response][INFO] 404 Not Found
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1998