Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-Hosted Account Unable to login via Mobile App #5286

Open
1 task done
thecoelle opened this issue Jan 19, 2025 · 5 comments
Open
1 task done

Self-Hosted Account Unable to login via Mobile App #5286

thecoelle opened this issue Jan 19, 2025 · 5 comments
Labels

Comments

@thecoelle
Copy link

Steps To Reproduce

  1. Go to Mobile App (e.g. Samsung 23 Ultra)
  2. Click on Bitwarden App (this was after recent update)
  3. Sign-in to a Self-Hosted Bitwarden Account
  4. Error Message 'An Error has occurred' We were unable to process your request. Please try again or contact us.

Expected Result

Login into Self-Hosted Bitwarden on the Mobile App as previous with no errors.

Actual Result

  1. Go to Mobile App (e.g. Samsung 23 Ultra)
  2. Click on Bitwarden App (this was after recent update)
  3. Error Message 'An Error has occurred' We were unable to process your request. Please try again or contact us.
  4. Restarted Phone
  5. Error Message 'An Error has occurred' We were unable to process your request. Please try again or contact us.
  6. Uninstalled Bitwarden App and re-installed.
  7. Selected self-hosting, entered URL, entered login details
  8. Error Message 'An Error has occurred' We were unable to process your request. Please try again or contact us.
  9. Tested on 'server owner's phone same issue
    No issues logging onto self-hosted server via url, google and other browser extensions

Screenshots or Videos

Unable to take a screen shot as its blocked to do so.

Additional Context

No response

Build Version

2025.1.0

Environment

Self-Hosted

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@thecoelle thecoelle added the bug label Jan 19, 2025
@djsmith85
Copy link
Contributor

Possibly related: bitwarden/mobile#3453
@thecoelle In case your self-hosted server is Vaultwarden, please try updating to the latest version.

@thecoelle
Copy link
Author

Sorry still trying to fix been a delay as I'm not the server owner.

@do3meli
Copy link

do3meli commented Jan 23, 2025

i am having the exact same issue since 2025.1.0. i am seeing the following errors in identity.log when i try a manual sync via the settings in the iOS app:

warn: Duende.IdentityServer.Services.DefaultRefreshTokenService[0]
      => SpanId:77e3103125b2a5cd, TraceId:99fd9f6caec24dcf0d3949277e555529, ParentId:0000000000000000 => ConnectionId:0HN9RURDHS147 => RequestPath:/identity/connect/token RequestId:0HN9RURDHS147:00000001 => IpAddress:92.104.187.4 UserAgent:Bitwarden_Mobile/2025.1.0 (iOS 18.2.1; Model iPhone) DeviceType:1 Origin:1 ClientVersion:2025.1.0
      Invalid refresh token
warn: Duende.IdentityServer.Validation.TokenRequestValidator[0]
      => SpanId:77e3103125b2a5cd, TraceId:99fd9f6caec24dcf0d3949277e555529, ParentId:0000000000000000 => ConnectionId:0HN9RURDHS147 => RequestPath:/identity/connect/token RequestId:0HN9RURDHS147:00000001 => IpAddress:92.104.187.4 UserAgent:Bitwarden_Mobile/2025.1.0 (iOS 18.2.1; Model iPhone) DeviceType:1 Origin:1 ClientVersion:2025.1.0
      Refresh token validation failed. aborting, {
        "ClientId": "mobile",
        "GrantType": "refresh_token",
        "AuthorizationCode": "********",
        "RefreshToken": "********",
        "Raw": {
          "client_id": "mobile",
          "grant_type": "refresh_token",
          "refresh_token": "***REDACTED***"
        }
      }

Edit: I am using the bitwarden self host server beta docker container and not vaultwarden

@thecoelle
Copy link
Author

Unfortunately we cannot get it to work, the container updates but it won't restart. In the process of trying to figure out why, where this is happening.

@do3meli
Copy link

do3meli commented Jan 26, 2025

I was able to workaround this issue by login out and back into my account on the mobile iOS app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants