iOS app "An error has occurred" not a recognized Bitwarden server #5299
Replies: 13 comments
-
What are the logs of Vaultwarden and your reverse proxy? |
Beta Was this translation helpful? Give feedback.
-
VW logs show nothing suspect:
Traefik doesn't log anything INFO or higher. A new account and other existing accounts have the same issue. I should also mention that there is no issue logging into the web app. |
Beta Was this translation helpful? Give feedback.
-
Bitwarden seems to want to detect vaultwarden servers... EDIT : I'm not able to reproduce the issue on IOS 2024.12.0 (1740) & Web 2024.6.2c |
Beta Was this translation helpful? Give feedback.
-
That is horrible if it’s intended to disable if the server is VW. Thanks for trying to recreate. Just confirming you tried deleting app data and then connecting with a fresh install? |
Beta Was this translation helpful? Give feedback.
-
Uninstall/install mobile application + install new vaultwarden environment. |
Beta Was this translation helpful? Give feedback.
-
I did uninstall/install iOS app before. The app works on a public instance. I haven’t taken the step yet to rebuild VW. It’s odd there is just no log in VW to help troubleshoot further. Almost like the request is rejected before it’s routed |
Beta Was this translation helpful? Give feedback.
-
I would not recommend using any random public Vaultwarden instance. Do you have the sneaky proxy feature enabled on iOS? |
Beta Was this translation helpful? Give feedback.
-
Also, did you filled in only the first entry of the self-hosted settings or all? |
Beta Was this translation helpful? Give feedback.
-
I just tested it on an older iOS device i have, and it works just fine for me. I'm using a Valid Let's encrypt cert btw. |
Beta Was this translation helpful? Give feedback.
-
That detection is only done to modify the error message to emphasize it's a third party server and not an official Bitwarden. |
Beta Was this translation helpful? Give feedback.
-
If you do not see any log attempt even with debug logging enabled, then it's one of these items.
Check all the steps in between for logs and errors. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I believe I discovered the issue. I had some deny/allow rules that allowed the app access to VW through the proxy. Specifically:
I believe that the latest version of the app must be making a call to another endpoint that was being blocked. Allowing all resolved the issue, and it also explains why neither Traefik or VW were not logging any issues. I wasn't able to determine what additional endpoint is being called. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I could resolve the issue by allowing the "Local Network" permission for the Bitwarden App in the iOS settings. I used the vaultwarden server with the latest tag and the latest iOS app and it works just fine and syncs. I tested it on two different iPhones (XR and 11). |
Beta Was this translation helpful? Give feedback.
-
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: SIGNUPS_ALLOWED, ADMIN_TOKEN
Failed HTTP Checks:
Config:
Vaultwarden Build Version
v1.32.6
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
Traefik 3.2.2
Host/Server Operating System
Linux
Operating System Version
iOS
Clients
iOS
Client Version
2024.12.0 (1740)
Steps To Reproduce
In Bitwarden app:
Expected Result
Log in and see vault.
Actual Result
Get error message: "An error has occurred. This is not a recognized Bitwarden server. You may need to check with your provider or update your server."
Logs
Screenshots or Videos
Additional Context
I have another iOS installation that works perfectly, but it is using v2024.11.0 (1680). This is a new iPhone. I have a theory that because it's a new os install, it has installed an updated version of the Bitwarden iOS app (v2024.12.0 (1740)).
Beta Was this translation helpful? Give feedback.
All reactions