I can login to my selfhosted instance from webpage, with no problem. Having issues logging in via latest iOS app.
My selfhosted host is hosted on a custom port. Port 442.
I can get to it via safari web browser, and login as expected. But if I try to login via iOS app, it just says “an error occurred.” no other message. Just :“an error occurred.”
My self hosted address is a publicly available dns name: https://myCloudfront.domainName.com:442
(renamed here, because I don’t want my host to suddenly get unwanted pings : )…but the protocol and ports here are the same as what is use. )
I put this url into the iOS app, under the “server URL” in the ‘self host’ section.
I put in my user name and then right when I go to the iOS app section where I put in my password it immediately says: “an error occured”. even before I put in my password. I still try my password, and then hit 'login with master password" button. it then shows the “an error occured” message again.
I have tried:
rebooting selfhosted server
uninstall iOS app, and reinstall iOS app.
rebooting phone.
None of this has solved my issue.
My phone is on iOS18. I was able to login, via the app, before I upgraded to iOS 18. I’m selfhosting Bitwarden, not vaultwarden. I’m selfhosting Bitwarden Version 2.21.1.
What am I missing? Why can I login via web browser, but not login to my selfhosted via the Bitwarden iOS app?
Hi @Nail1684 .
I just grabbed that version number from the webpage UI. Perhaps that is the version of something else.
See image grab from my web page ui.
Okay, that is an old version, possibly of the web app then?!
Please, can you do the following? Go to the Dashboard of your Admin Portal , which displays your server and web version. Make a screenshot and post it here.
It seems you never updated anything, right? The good news, if you update the server version to the latest (I think 2024.9.1), you should be able to login with the iOS app again.
Some advice for the future: the updates bring security and feature updates. Your versions had their last updates relatively exactly 24 months ago. From a security standpoint, that is not recommended, to say it mildly.
Of course, waiting a few days with new updates is not a bad idea… but you should update regularly. BTW the web app / web vault as well. If you self-host, you have to take care of that, otherwise, I think, the cloud-option would be far more secure. (PS: also the machine / OS where you host Bitwarden, has to be up-to-date, to ensure security and all…)
One possibility, to remember oneself could be to at least subscribe to the Bitwarden Release Notes (Release Notes | Bitwarden Help Center) per email, and to use that as a reminder…
PS: Make a backup before updating! And here is some info about making updates and more to “self-hosting” in the Bitwarden Help Sites: Update your Instance | Bitwarden Help Center
PS: For your mobile app: My tip would be, after you successfully updated your docker and Bitwarden server, then I would completely log out on the iOS app (you seem to already be when you can’t login, but just in case…), deinstall (delete the local data on your iOS device) and reinstall the iOS app. I guess, then you should be able to login again.