Refused to connect to 'https://api.bitwarden.com/accounts/profile' because it violates the document's Content Security Policy. #1776

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

Originally created by @florian-sabonchi on 1/26/2023

Subject of the issue

  • vaultwarden version: Version 1.27.0
  • Install method: Docker

  • Clients used: web

  • Reverse proxy and version: treafik

  • MySQL/MariaDB or PostgreSQL version: Postgres

  • Other relevant details: Version 2022.12.0

Steps to reproduce

login to vault warden sometimes passwords are empty

Expected behaviour

passwords should be loaded

Actual behaviour

passwords are not loaded-->

Troubleshooting data

*Originally created by @florian-sabonchi on 1/26/2023* <!-- # ### 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. --> ### Subject of the issue <!-- Sometimes if i try to login to vaultwarden passwords are empty and i receive the following error: Refused to connect to 'https://api.bitwarden.com/accounts/profile' because it violates the document's Content Security Policy.- ERROR Error: Uncaught (in promise): TypeError: Failed to fetch TypeError: Failed to fetch-> ### 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: Version 1.27.0 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: Docker * Clients used: web * Reverse proxy and version: treafik * MySQL/MariaDB or PostgreSQL version: Postgres * Other relevant details: Version 2022.12.0 ### 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? --> login to vault warden sometimes passwords are empty ### Expected behaviour passwords should be loaded ### Actual behaviour passwords are not loaded--> ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1776