Skip to content

Android app cannot connect to self hosted server over Tailscale #2599

@sdht0

Description

@sdht0

Steps To Reproduce

  1. Setup tailscale on homelab and mobile, bitwarden.example.com points to homelab tailscale ip.
  2. Setup self hosted bitwarden server at https://bitwarden.example.com:9099.
  3. Mobile app sign in and sync works when both homelab and mobile is on the same wifi network.
  4. Disconnect mobile from wifi and use LTE.
  5. Try to sync the vault.

Expected Result

Sync should succeed.

Actual Result

Sync over tailscale when not on the same wifi network fails.

  • I am able to access https://bitwarden.example.com:9099 from the mobile browser, so it's not a connection issue.
  • Connecting laptop to mobile hotspot over LTE and syncing browser extension also works, so it seems to be an issue only with the mobile app.
  • Connecting the phone back to the wifi network (where homelab is) makes sync from the app work again. So it is an issue only when the phone is outside my local network.

Screenshots or Videos

No response

Additional Context

No response

Operating System

Android

Operating System Version

Android 14 beta

Device

Pixel 6 pro

Build Version

2023.5.0 (6330)

Beta

  • Using a pre-release version of the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions