hassio-addons / addon-bitwarden

Vaultwarden (Bitwarden) - Home Assistant Community Add-ons
https://addons.community
MIT License
156 stars 43 forks source link

Password lists not avaiable from browser interface #315

Closed sk8er000 closed 1 month ago

sk8er000 commented 2 months ago

Problem/Motivation

Logging through the web interface it tries to load the password lists but after a while nothing is shown. The folders are shown but appear empty. I tried to refresh the page, to clear the prowser cache and to use multiple browsers. The access to the web interface is made through the internal ip. Desktop app, mobile app (android) and browser extension work with no issues

Expected behavior

To show the passwords like in the apps

Actual behavior

No password are shown

Steps to reproduce

Login with my personal credential to https://homeassistanlocalip:7277 and no password are shown

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

sinclairpaul commented 2 months ago

SSL requires access via a domain name, not an IP, you will get cert errors otherwise.

sk8er000 commented 2 months ago

I've also set a domain through cloudflare account and nginx proxy manager(using the HA add-on) but it's the same result. Do I need a different approach?

sinclairpaul commented 2 months ago

You need to access via https://myhost.mydomain.com, not https://ipaddress

I would suggest looking at the browser console/dev tools to see what the issue is. This is not likely an issue with the addon, but local setup/configuration.

sk8er000 commented 2 months ago

After your first message I tried to log with the same link I use to access to my vaul from the app/mobile app/browser extension where the vault is working, but in the browser I get the same result as triyng to use my internal ip address, I'm attaching the browser console log, I only changed my real domain address with something else.

vaultwarden-browser-1725516070481.log

since the the app/mobile app/browser extension are working i though that could be an add-on bug but if it's confirmed that is something with my use case I understand that this isn't the right place to ask. Just looking for a confirmation.

Thank you

sk8er000 commented 2 months ago

Little update. I've tried to install the vaultwarden container on my docker istance running debian and on casaOS (that I'm currently trying on a pi4). Setting the cloudflare tunnel (and not a dns record) on those containers after migrating there my passwords database I can see my passwords from the browser on both istances. If I set the same tunnel to my HA vaulwarden addon (before I was using the DNS record with NGINX proxy manager) and disabling the SSL option (otherwise the tunnel is not working) I'm able to access to the vaultwarden (HA addon) webpage but again no password is shown

sk8er000 commented 2 months ago

Unfortunately after some days of thinkering I ended up migrating my vaults to a docker installation on a raspberry. Using the same settings everything is working. I'd preferred to use it inside my mini pc with HAOS but at the moment I don't know how to get it fully work.

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!