Skip to content

XR clients never find server when server device has Tailscale enabled #453

@j5155

Description

@j5155

Describe the bug
When using XR mode on a server with Tailscale running, on robot wifi without internet access, the clients never find the server as long as Tailscale is active. As soon as Tailscale is stopped and the qr code is regenerated, the problem is immediately resolved. Probably the wrong IP is being reported in the QR code (Tailscale's 100.x.x.x ip instead of the local 192.168.43.x ip)
This isn't high priority or a massive blocker for anything, since toggling Tailscale isn't particularly hard, it's just annoying to remember to turn off and back on.

To Reproduce
Steps to reproduce the behavior:

  1. Install AdvantageScope and Tailscale on the same device.
  2. Activate Tailscale and AdvantageScope XR mode with the device on a LAN network as the client. I was specifically using an FTC robot's internal network and using data provided over FTC dashboard, but this is probably unnecessary; any situation where both devices aren't using tailscale, or where the network does not provide internet, should recreate this scenario.
  3. Notice how the device is stuck on searching for server and never finds it.
  4. Disable tailscale and regenerate the QR code
  5. Notice how the device immediately finds the server.

Expected behavior
XR mode should always work

Screenshots
If applicable, add screenshots to help explain your problem.

Version (required):
26.0.0-beta-1 and 26.0.0-beta-2, but probably version independent

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions