[GH-ISSUE #2390] Send file Can't be download #1244

Closed
opened 2026-03-03 02:07:27 +03:00 by kerem · 2 comments
Owner

Originally created by @Kerwin1202 on GitHub (Mar 25, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2390

Send file Can't be download

Deployment environment

  • vaultwarden version: 2.25.1
  • Install method: docker-compose

  • Clients used: web vault

  • Reverse proxy and version: caddy:2

  • MySQL/MariaDB or PostgreSQL version: mariadb

  • Other relevant details:

Steps to reproduce

Normal sharing file, but can't download. I have 'DOMAIN' this environment variable.

And I manually replace localhost for the current domain name,I can download the file but there is no file name and related suffixes, and the file is broken( for jpg ).

QQ截图20220325105019

Expected behaviour

Successful download file

Actual behaviour

The Uri redirect to localhost

Troubleshooting data

Originally created by @Kerwin1202 on GitHub (Mar 25, 2022). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2390 <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Send file Can't be download <!-- Describe your issue here. --> ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: 2.25.1 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: docker-compose * Clients used: web vault * Reverse proxy and version: caddy:2 * MySQL/MariaDB or PostgreSQL version: mariadb * Other relevant details: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start vaultwarden? --> Normal sharing file, but can't download. I have 'DOMAIN' this environment variable. And I manually replace localhost for the current domain name,I can download the file but there is no file name and related suffixes, and the file is broken( for jpg ). ![QQ截图20220325105019](https://user-images.githubusercontent.com/16319833/160045289-23269a1e-5293-44ae-bf14-30f70c2bfe68.jpg) ### Expected behaviour <!-- Tell us what you expected to happen --> Successful download file ### Actual behaviour <!-- Tell us what actually happened --> The Uri redirect to localhost ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
kerem closed this issue 2026-03-03 02:07:27 +03:00
Author
Owner

@BlackDex commented on GitHub (Mar 25, 2022):

Please check the /admin/diagnostics page if all is configured ok. I think the DOMAIN variable is not configured correctly.

<!-- gh-comment-id:1078694675 --> @BlackDex commented on GitHub (Mar 25, 2022): Please check the `/admin/diagnostics` page if all is configured ok. I think the DOMAIN variable is not configured correctly.
Author
Owner

@Kerwin1202 commented on GitHub (Mar 25, 2022):

@BlackDex You are right. in /admin the domain url is localhost。Thanks

<!-- gh-comment-id:1078700105 --> @Kerwin1202 commented on GitHub (Mar 25, 2022): @BlackDex You are right. in `/admin` the domain url is `localhost`。Thanks
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#1244
No description provided.