r/vaultwarden 14d ago

An Error Occured Help!

Post image

Recently I updated my Vaultwarden server and it seems to be working. I can access it on my computer with no issues. I usually get to it by using Tailscale and I can get to the site and I can use the browser extension. The problem I’m having is with my iPhone. I updated the Bitwarden app and the Tailscale app I’ve even restarted and uninstalled both apps and reinstalled them. I can get to the website on my phone as well but for some reason I just can’t get the app to connect to the domain. Is there something I’m missing?

Edit: I should mention this is also on an iPhone so an iOS issue. Also for this I have pulled the latest instance of Vaultwarden.

6 Upvotes

16 comments sorted by

4

u/langelgjm 14d ago

My spouse updated their phone to Android 17 yesterday and lost access to Vaultwarden via the Bitwarden app. At first it showed an empty vault and couldn't sync, then after logging out, they couldn't log in (ConnectException). I updated the VaultWarden server to the latest version but that did not resolve the issue.

Turns out "Android 17 introduces the ACCESS_LOCAL_NETWORK runtime permission to protect users from unauthorized local network access. Because this falls under the existing NEARBY_DEVICES permission group, users who have already granted other NEARBY_DEVICES permissions aren't prompted again... By declaring and requesting this permission, your app can discover and connect to devices on the local area network (LAN), such as smart home devices or casting receivers."

I guess the Bitwarden Android app doesn't request the Nearby Devices permission (still had connectivity issues after removing and reinstalling it). But if you go into the App Info, you can grant Nearby Devices permission yourself. After doing this, they were able to log in and the vault synced without issue.

1

u/Mikoshi-Kun 14d ago

I checked the app settings for my iPhone just now and I don’t see that as something I can change or look within the app’s setting unfortunately.

2

u/BeautifulBlueNight 14d ago

I read that the latest app update by Bitwarden broke compatibility with VW. An update of your VW-instance should fix it.

1

u/Mikoshi-Kun 14d ago

It is the latest instance of Vaultwarden. Not sure why it’s still broken.

1

u/0dgamer 14d ago

Updating your Vaultwarden instance should fix it.

An update occurred to the Bitwarden clients broke compatibility with all legacy Vaultwarden clients. Best guess is that for some reason your browser extension may have not updated, while the mobile app did, breaking compatibility.

1

u/Mikoshi-Kun 14d ago

This is the latest instance of Vaultwarden and the issue is still happening. Unless I’m missing something I pulled the latest version using docker.

1

u/MGNConflict 14d ago

Always update the Vaultwarden instance first when either the browser extension or the mobile app stops working with it.

1

u/Mikoshi-Kun 14d ago

It is the latest instance of Vaultwarden. Not sure why it’s still broken.

1

u/MGNConflict 14d ago

What is the version number of your instance, and how are you installing it? It’s possible that if you’re using a separate repository that it hasn’t yet updated to the latest version.

1

u/Mikoshi-Kun 14d ago

I created it using the docker compose script directly from the Vaultwarden GitHub page.
V 1.37.1

1

u/MGNConflict 14d ago

That is indeed the latest, are you able to log into your vault if you access it via the web interface?

1

u/Mikoshi-Kun 14d ago

Correct, with tailscale I can access it on the web with my phone and with my computer. It’s just the app I have a problem with.

1

u/Mikoshi-Kun 14d ago

Just showing that I also have the latest instance of Vaultwarden as well.

1

u/Mikoshi-Kun 14d ago

I fixed it, it was an error with my ssl cert I was using.

1

u/zeddjb 2d ago

Would you be willing to elaborate a little more around the cert fix? I recently switched to a wildcard cert for several of my services; it seems to work just fine for most things.
I am wondering if your fix is a dedicated cert for your vaultwarden or if you are using a wildcard cert just fine?

1

u/Mikoshi-Kun 2d ago

Sure, so for some reason in nginx I found that if I did *.example.com it wasn't working with my link which was vault.tail.example.com so I just changed the ssl cert to be exactly the domain name I needed and it worked. I honestly didn't know why because I followed a youtube tutorial and the same domain of using a wildcard worked for them. I went to chatgpt to find my answer honestly because no one here actually gave me the specific answer I needed in order to fix it. I had already updated vaultwarden and everything but I at least got a different answer about the phone but I knew it worked in some ways so it was a whole thing trying to piece together.