Cannot download attachments via iOS/iPad/OSX and Browser-addon (all browsers) #905

Closed
opened 2026-02-04 23:18:15 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @tchap2 on GitHub (Jan 18, 2021).

Subject of the issue

Upon uploading an attachment (.jpg and .pdf) via iOS/iPad/OSX and any browser add-on (all browsers), I amm unable to download that attachment with following error message:

  • iOS/iPad: "Unable to download file"
  • OSX, and browser addon: continuous spinning wheel.

When browsing to Bitwarden folder->attachments on my server, I can clearly see attachments in encrypted form.

Your environment

  • Bitwarden_rs version: 1.18.0
  • Install method: Docker (bitwardenrs, 1.18.0) on UNRAID server (6.8.3)
  • Clients used: iOS, iPad, OSX, browser addons (Firefox, Safari, Chrome)
  • Reverse proxy and version: Letsencrypt docker (by linuxserver.io)
  • Version of mysql/postgresql:
  • Other relevant information:

Steps to reproduce

See above in description

Expected behaviour

Able to download and view attachments

Actual behaviour

See above in description

Relevant logs

Bitwarden log does't show any error messages, not even a log of an attempt to download the attachment.

Originally created by @tchap2 on GitHub (Jan 18, 2021). <!-- # ### NOTE: Please update to the latest version of bitwarden_rs before reporting an issue! This saves you and us a lot of time and troubleshooting. See: https://github.com/dani-garcia/bitwarden_rs/issues/1180 # ### --> <!-- 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/obfuscate personal and confidential information, such as names, global IP/DNS addresses and especially passwords, if necessary. --> ### Subject of the issue <!-- Describe your issue here.--> Upon uploading an attachment (.jpg and .pdf) via iOS/iPad/OSX and any browser add-on (all browsers), I amm unable to download that attachment with following error message: - iOS/iPad: "Unable to download file" - OSX, and browser addon: continuous spinning wheel. When browsing to Bitwarden folder->attachments on my server, I can clearly see attachments in encrypted form. ### Your environment <!-- The version number, obtained from the logs or the admin diagnostics page --> <!-- Remember to check your issue on the latest version first! --> * Bitwarden_rs version: 1.18.0 <!-- How the server was installed: Docker image / package / built from source --> * Install method: Docker (bitwardenrs, 1.18.0) on UNRAID server (6.8.3) * Clients used: <!-- if applicable --> iOS, iPad, OSX, browser addons (Firefox, Safari, Chrome) * Reverse proxy and version: <!-- if applicable --> Letsencrypt docker (by linuxserver.io) * Version of mysql/postgresql: <!-- if applicable --> * Other relevant information: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start bitwarden_rs? --> See above in description ### Expected behaviour <!-- Tell us what should happen --> Able to download and view attachments ### Actual behaviour <!-- Tell us what happens instead --> See above in description ### Relevant logs <!-- Share some logfiles, screenshots or output of relevant programs with us. --> Bitwarden log does't show any error messages, not even a log of an attempt to download the attachment.
Author
Owner

@BlackDex commented on GitHub (Jan 18, 2021):

You probably have the DOMAIN variable configured incorrectly.
If that doesn't match the actual domain the attachment download will fail.

@BlackDex commented on GitHub (Jan 18, 2021): You probably have the DOMAIN variable configured incorrectly. If that doesn't match the actual domain the attachment download will fail.
Author
Owner

@tchap2 commented on GitHub (Jan 18, 2021):

You probably have the DOMAIN variable configured incorrectly.
If that doesn't match the actual domain the attachment download will fail.

Can you pls elaborate? What do you mean by domain "variable" and where is it defined?

@tchap2 commented on GitHub (Jan 18, 2021): > You probably have the DOMAIN variable configured incorrectly. > If that doesn't match the actual domain the attachment download will fail. Can you pls elaborate? What do you mean by domain "variable" and where is it defined?
Author
Owner

@BlackDex commented on GitHub (Jan 18, 2021):

I don't know exactly how unraid works. But you probably have configured some settings for the docker container. There you need to configure the DOMAIN variable to match what you type in into the browser or clients to connect to your server.

See: 37cc0c34cf/.env.template (L194)

@BlackDex commented on GitHub (Jan 18, 2021): I don't know exactly how unraid works. But you probably have configured some settings for the docker container. There you need to configure the DOMAIN variable to match what you type in into the browser or clients to connect to your server. See: https://github.com/dani-garcia/bitwarden_rs/blob/37cc0c34cf5732cbe7b0d4aea622acdd615e3ef6/.env.template#L194
Author
Owner

@tchap2 commented on GitHub (Jan 18, 2021):

I don't know exactly how unraid works. But you probably have configured some settings for the docker container. There you need to configure the DOMAIN variable to match what you type in into the browser or clients to connect to your server.

See:

37cc0c34cf/.env.template (L194)

Yup. the issue was in Docker Bitwarden config file. Instead of http:// it should have been https://
works now.

@tchap2 commented on GitHub (Jan 18, 2021): > I don't know exactly how unraid works. But you probably have configured some settings for the docker container. There you need to configure the DOMAIN variable to match what you type in into the browser or clients to connect to your server. > > See: > > https://github.com/dani-garcia/bitwarden_rs/blob/37cc0c34cf5732cbe7b0d4aea622acdd615e3ef6/.env.template#L194 Yup. the issue was in Docker Bitwarden config file. Instead of http:// it should have been https:// works now.
Author
Owner

@BlackDex commented on GitHub (Jan 18, 2021):

Great :).

@BlackDex commented on GitHub (Jan 18, 2021): Great :).
Author
Owner

@Magic-Deceiver commented on GitHub (Mar 25, 2021):

is it possible to give me a pointer on where I can find this .env file? I am experiencing the exact same issue but I am completely not sure where to go after searching for answers for hours. Any helps would be greatly appreciated!

@Magic-Deceiver commented on GitHub (Mar 25, 2021): is it possible to give me a pointer on where I can find this .env file? I am experiencing the exact same issue but I am completely not sure where to go after searching for answers for hours. Any helps would be greatly appreciated!
Author
Owner
@jjlin commented on GitHub (Mar 25, 2021): https://github.com/dani-garcia/bitwarden_rs/wiki/Configuration-overview
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#905