bitwarden / ios

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

Error occurring when making changes or syncing in the vault #833

Open Zingo21 opened 2 months ago

Zingo21 commented 2 months ago

Bitwarden Beta

Steps To Reproduce

  1. Go to 'Bitwarden beta app'
  2. Log in to your vault
  3. Go to setting and others and click on sync now, or make any change on any credential and press save

Expected Result

Successfully sync the changes or getting new credentials

Actual Result

An popup that says that an error has occurred

Screenshots or Videos

https://github.com/user-attachments/assets/03edc98a-e7c5-4277-9451-fbaf231babb3

Additional Context

No response

Build Version

2024.8.0 (284)

Environment Details

Issue Tracking Info

Neonwarden commented 2 months ago

Hi there,

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

Thanks!

Zingo21 commented 2 months ago

@Neonwarden I can add that I have tried with my vault from bitwarden and on my self hosted vault and neither of them seems to work.

devnull-hub-lab commented 1 month ago

Hey there,

The same to me. I can't login bit warden app anymore.

https://github.com/user-attachments/assets/1139e2fa-25c6-45e0-9edd-d30822d3fd61

I'm using a self-hosted vault.

The API below is not being called on iOS App, which leads me to believe that the error occurs much earlier:

AH00947: connecting /api/sync?excludeDomains=true to 127.0.0.1:8000 (127.0.0.1:8000)

So, I believe the error occurs before the authentication step (there is a pre-auth step?), as the logs I captured were the same whether entering the correct password or a wrong password.

http_request.c(435): [remote :55264] Headers received from client: http_request.c(438): [remote :55264] Accept: / http_request.c(438): [remote :55264] Accept-Encoding: gzip, deflate, br http_request.c(438): [remote :55264] Bitwarden-Client-Version: 2024.8.1 http_request.c(438): [remote :55264] Device-Type: 1 http_request.c(438): [remote :55264] User-Agent: Bitwarden_Mobile/2024.8.1 (iOS 17.6.1; Model iPhone)

GET /api/config HTTP/2.0" 200 226 GET /api/devices/knowndevice HTTP/2.0" 200 4 POST /identity/accounts/prelogin HTTP/2.0" 200 75

These were the last API access logs from my server. Well, the logs are very huge, so I separated logs I believe is relevant.

Ow, and on client side, I got the error: -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = , customInfoType = UIEmojiSearchOperations

I really don't know what it means. =/ Something related to com.apple.remotetextinput framework?

I'm a C programmer and sysadmin, but I don't know native iOS programming :(

But if you need help, I'm available.

Thanks