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

Android Client change server functionality broken in v1.38.1 #7818

Closed
senorsmile opened this issue Apr 7, 2023 · 14 comments
Closed

Android Client change server functionality broken in v1.38.1 #7818

senorsmile opened this issue Apr 7, 2023 · 14 comments
Labels

Comments

@senorsmile
Copy link

What is the issue?

The exact same problem described in #6671 and presumably solved there is happening for me on 2 different devices.

Steps to reproduce

  • Set up headscale
  • join a desktop computer to confirm working
  • install tailscale on android device
  • click hamburger menu many times until the option to "change server" appears
  • change server option to point to your new headscale server
  • close app
  • reopen app
  • should get an option to log in, but only options are
    • sign in with google
    • sign in with other (which opens a webpage to tailscale.com

Are there any recent changes that introduced the issue?

This is the first time I've tried this, so I'm not sure if previous versions worked or if the issue just started happening in 1.38.1

OS

Linux, Android

OS version

NixOS 22.11, Android 12

Tailscale version

1.38.1

Other software

No response

Bug report

No response

@TheUserDead
Copy link

TheUserDead commented Apr 10, 2023

MIUI 13.0.4 Android 12
App ver 1.38.1
Try steps, open hampurger\kebab menu few times

  • enter my server
  • close app
  • open app + click "sign in with other"
  • opened my website where headscale hosted and see blank screen but, after few try, finally see nodekey
  • create user and register nodekey
  • return back to menu - i logged in

You has unsaved server url? (I mean, every time when you open option with server url you see "https://controlpane.tailscale.com"?

@jaen
Copy link

jaen commented May 14, 2023

Still doesn't work on 1.40, exact version:
Screenshot_20230514_170355_Settings

When I try to use "Sign in with other" immediately, it hangs. If I close and re-open, it opens Tailscale login instead.

@wisemonkey
Copy link

just confirming that this is still an issue.
I searched for tailscale android app version 1.32 and used that to login.
But latest apps don't work

@Midou36O
Copy link

I also confirm the issue, I'm running the latest version from f droid (i tried the google play edition too). Exact same steps. Logging in just closes the browser and nothing happen on the tailscale client. Restarting the client just makes it forget the custom server url, going to change server still shows the custom server url indicating it successfully saved. Hopefully this gets solved soon. In the meantime i'll try what @wisemonkey said and downgrade to version 1.32.

@csszep
Copy link

csszep commented Jul 28, 2023

Same issue here with Pixel 6a and Tailscale client 1.44.1

@derekcrovo
Copy link

I have the same issue. When I select "Sign in with other" it just hangs. This behavior started when I added Authelia to do SSO for the headscale server, but now I can't log in even with the SSO removed.

@derekcrovo
Copy link

Some behavior notes and a reliable workaround!

The problems started when I logged out of my headscale tailnet in the Tailscale client.

  • When I open the Tailscale client and try to "Sign in with other" I always get redirected to the Tailscale login site even if my server name has been added.
  • If I then edit my server name and save without making any changes, and "Sign in with other" it does try to connect to my server, but the spinner clocks forever.
  • When I delete my phone's node in headscale and repeat the dance from above, it connects to headscale. I can see the nodekey in the headscale log and when I register the node, the client logs in.

I'm on a Galaxy S21 using Tailscale 1.48.2. Headscale is v0.22.3 on NixOS 23.05.

@StarkZarn
Copy link

Pretty sure this is the same issue I'm running into with headscale. Everytime my cloud server with headscale and my IdP for SSO restarts (for updates), the next time I launch the android app I run into the observed behavior.

I'll note though, that if I fully quit the app and the relaunch it and go to edit my custom server, the name is remember, and when I click save I'm magically sent back to a working tailscale client with my other nodes showing up.

@unixfox
Copy link

unixfox commented Jan 15, 2024

I spent a little bit of time analyzing all the working versions.

For me, it works until 1.44.1 (version from July 2023 so still somewhat ok). Past this version, the logging server is forgotten on the second fresh launch of the app, so when using 1.48.2.

I'm using ionscale as an open source control plane, but that shouldn't matter: https://github.com/jsiebens/ionscale

If it can help, I have attached a screen recording of the issue:

screen-20240115-214255.mp4

@agottardo
Copy link
Contributor

@unixfox @StarkZarn @derekcrovo @csszep @Midou36O Can you please test with our new Android app, and let us know if the issue is still present? Thanks

@Midou36O
Copy link

Adding an account doesn't even work.
For those who want to try: Go to settings > Accounts > three little dots on the top right > Custom URL > Add account

Doing so for me only redirects me to login.tailscale.com, which is not what should be happening. It didn't fix a bug, just introduced a new one :P

@agottardo
Copy link
Contributor

We are aware. Duplicate of #11716, fixed in tailscale/tailscale-android#325.

@Midou36O
Copy link

That still does not solve the problem for the stable release of Tailscale android, The beta version requires you to enroll on Google Play and there is no release in F-Droid or any binary available to test the beta versions (that i'm aware of). If the issue isn't fixed in a stable release, it shouldn't be closed already. Thank you.

@unixfox
Copy link

unixfox commented Apr 26, 2024

Has a stable version of tailscale for android landed for fixing this bug? Or is it exclusive to beta users for the moment?

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