tailscale: Unable to add new device using GitHub auth

What is the issue?

  • I signed up using GitHub long time ago
  • I currently have active (connected) devices in Tailscale, in personal GitHub tailnet
  • Add a new device (tried macOS and Linux, both 1.78.1), login from new device, which opens browser for auth
  • Sign in with GitHub, then click “Authorize Tailscale” button
  • After redirection it says “Error 500 unable to list GitHub orgs”

Image

Request ID is REQ-202501210201435d2ea10d3c7182b0. This issue was also reported as TSS-51837. I think it’s a backend issue, or something with my account. Searched through Google and GitHub issues and found no such error string.

I don’t understand, Tailscale does not need to list my GitHub orgs, I’m adding new device to my personal tailnet. Also I have already granted permissions to some of my GitHub orgs.

Steps to reproduce

No response

Are there any recent changes that introduced the issue?

No response

OS

Linux

OS version

Manjaro Linux

Tailscale version

1.78.1

Other software

No response

Bug report

BUG-e26bf0ede7b822bc89fa7c16bfb9ece09a5c26924128877249c93acfd0da7e85-20250121020613Z-49a158374dd9e62d

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 24
  • Comments: 37 (2 by maintainers)

Most upvoted comments

Hi all, I’ve raised this internally and our engineering team are taking a look right now. We’ll update here when we know more. Thanks for the reports!

This should be resolved now and we’ve posted an update on https://status.tailscale.com/:

Between approximately 2025-01-20 23:45 and 2025-01-21 11:42 UTC, some users observed failures while using Github authentication for some operations (Tailscale SSH checks, adding new nodes). We have tracked down these errors to a recent change that has been reverted.

If you still encounter this error regardless, please let us know by replying here or by contacting support.

Thanks again for the reports!

As a workaround, go to your admin center, go to settings > keys > generate auth key and sign in to the device via CLI. https://tailscale.com/kb/1085/auth-keys

me too.

Image

I am experiencing exactly this scenario as well. 100% down from adding new machines to tailnet.

I’ve reported this as a major outage due to the impact this has the potential of having.

When can it be resolved?

Is there any workaround for SSH login?

You should be able to login using SSH. My problem was that I had enabled “check” on my SSH connections in the ACL, which of course fails due to the issue. I changed my ACL to “accept” and I am able to login.

Is there any workaround for SSH login?

You should be able to login using SSH. My problem was that I had enabled “check” on my SSH connections in the ACL, which of course fails due to the issue. I changed my ACL to “accept” and I am able to login.

This was really helpful. I guess for anyone who isn’t in an organization that requires strict checks when logging in (in which case you shouldn’t be using github auth), setting the ACLs to “accept” should be … acceptable.

Is there any workaround for SSH login?

Someone mentioned using the SSH console on Tailscale dashboard (the website) worked.

Yup it works well this can be a workaround until this issue is fixed

Is there any workaround for SSH login?

You should be able to login using SSH. My problem was that I had enabled “check” on my SSH connections in the ACL, which of course fails due to the issue. I changed my ACL to “accept” and I am able to login.

It’s too bad that we couldn’t add other login methods alongside GitHub for situations like this

Tailscale does not handle authentication, so multiple different auth providers would result in multiple different tailnets. That’s reasonable for me.

It’s just very confusing that they did not mention the auth key on the “add device” UI. I only heard it today.

As a workaround, go to your admin center, go to settings > keys > generate auth key and sign in to the device via CLI. https://tailscale.com/kb/1085/auth-keys

This workaround worked for me. Thank you!

I’m seeing the same thing tonight when attempting to auth for ssh.

Image

I was able to use the admin console on tailscale’s website to SSH in, so there’s that just in case you need to get in.

I’m seeing the same thing tonight when attempting to auth for ssh.

Image

I am also having the same issue.

I am also having the same issue. Tried uninstalling and reinstalling the app but it did not resolve. I’m on Windows, latest version, fully patched.

I have similar issues with just trying to login to a machine through tailscale