bitwarden / ios

Bitwarden mobile app for iOS.
https://bitwarden.com
GNU General Public License v3.0
165 stars 16 forks source link

App broken in iOS 18.1 Developer Beta #891

Open chentex opened 3 weeks ago

chentex commented 3 weeks ago

Bitwarden Beta

Steps To Reproduce

  1. Go to 'Open the App
  2. Log in
  3. Error message appears as "An error has occurred"
  4. Tap on 'Ok' to scknowledge

Expected Result

Should be able to see all the passwords.

Actual Result

Nothing loads.

Screenshots or Videos

photo_2024-09-04_18-57-35 photo_2024-09-04_18-57-36

Additional Context

No response

Build Version

2024.8.1

Environment Details

Issue Tracking Info

aksdb commented 3 weeks ago

I have the same issue on iOS 17.6.1. The old iOS app (the .NET one) worked fine.

Neonwarden commented 3 weeks ago

Hi there,

This has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

aksdb commented 3 weeks ago

Well... is there a way to get more details? The error message isn't exactly helpful.

chentex commented 3 weeks ago

I was able to ge tthe same error, trying to do a manual Sync, so points, and I am guessing when it logs in it also tries to sync first and the error comes from there.

ClarkAllen1556 commented 3 weeks ago

I experienced this issue as well (on normal release branch of iOS 17.6.1), after updating the Bitwarden app to 2024.8.1. Logging out/in of my Bitwarden account seemed to fix the issue (connecting to vault.bitwarden).

janrudolph commented 3 weeks ago

I have the same issue after upgrading to 2024.8.1. Right after the update, the app did not load any items. I then logged ou, but the re-login did not work. I got the same error message. I tried to login with another iPhone, which has never installed Bitwarden. However, a login was not possible as well. Even restarting the phone has no effect. All other clients that use the old app still work fine. Logging in via the web interface also works without any problems on the iPhones.

janrudolph commented 3 weeks ago

Edit: I am also using iOS 17.6.1 and I am trying to connect to a self-hosted server

Grizaster commented 3 weeks ago

like @janrudolph , iOS 17.6.1 (iPhone 12) and trying to connect to a self-hosted server. Get the error after entering Email-Address.

aksdb commented 3 weeks ago

To add to my previous question: is there a more detailed error message in a log that can be found somewhere on the iPhone? If not: would it be possible to add more details to the error messages in a future release to help narrow down the root cause?

zhheo commented 3 weeks ago

I'm having this problem too, I'm on a self-hosted server, iOS 18.0beta

janrudolph commented 3 weeks ago

I found the issue: my self-hosted server was not up to date. After upgrading it seems to work, have not tested every client yet.

chentex commented 3 weeks ago

I tried what @ClarkAllen1556 said, removed the accounts from the app, and added them again and now it is working.

I'll leave it up to the team if they close the issue or not.

devnull-hub-lab commented 2 weeks ago

Hello @Neonwarden

I attached some debug logs here: https://github.com/bitwarden/ios/issues/833#issuecomment-2338904219

Najki commented 2 weeks ago

I found the issue: my self-hosted server was not up to date. After upgrading it seems to work, have not tested every client yet.

I've had the exact same issues as reported in this thread and @janrudolph's advice to ugrade my Vaultwarden did the trick.

devnull-hub-lab commented 2 weeks ago

Yep, indeed @Najki , thanks for the tip. I upgrade my bitwarden server, and the new Bitwarden App is working fine now!

@Neonwarden, It seems it was solved. I think the issue can be closed.

Najki commented 2 weeks ago

I'm not so sure if closing closing this issue is a good idea. The old version of Bitwarden iOS app did work. The new does not.

BrandonShega commented 2 weeks ago

I'm having this issue on latest iOS 18 beta even with the latest version of vaultwarden server.

Update: After waiting about an hour after updating vault warden I was actually able to login. Not sure what changed.

nicolasluckie commented 1 week ago

I recently updated the Bitwarden iOS app to 2024.8.1 (1052) and started seeing this issue. I fixed it by pulling the latest vaultwarden image and upgrading my server from 2024.1 to 2024.6.2.

jtxnn678 commented 1 week ago

Selfhosted on: Proxmox Debian 12 VM Vaultwarden Docker image: Master branch v1.32.0 (latest as of Sep. 21, 2024) Bitwarden Client: Version 2024.9.1 iPhone 15 Pro: iOS 18.0 (official release)

It was running fine for more than a year, suddenly stopped working after upgrade iPhone to iOS 18. Bitwarden browser plugin and Bitwarden clients (Linux/Windows) are all working perfectly.

Can't login to Bitwarden client on iPhone (after iOS 18.0 update)

Anybody has insight?

UPDATE (Issue solved):

daliokas7 commented 4 days ago

In my case it was certificate trust problem, because I'm using custom certificates (from self-signed CA) for on-prem Bitwarden and in iOS it is not enough just to import trusted root certificate to iOS device - you also need to trust it in Settings -> General -> About -> Certificate Trust Settings ->Enable full trust for root certificates.