tailscale icon indicating copy to clipboard operation
tailscale copied to clipboard

Login with Synology DS does not work anymore

Open Ciruman opened this issue 3 years ago • 5 comments

What is the issue?

I have installed Tailscale in Synology for months and it was working fine. At some point, I have to re-login all my devices, and since then, the Tailscale login does not work.

Steps to reproduce

Open in Synology the Tailscale application and open the Tailscale page with the "Log in" button I press to open the Tailscale login

What happens: The "Log in" button does nothing.

What I expect: I expect to get a Tailscale login dialog( as it does here: https://youtu.be/u2Qp1BM8Qi8?t=62) and come back to Synology logged in.

Are there any recent changes that introduced the issue?

No response

OS

No response

OS version

DSM 7

Tailscale version

1.16.2-2013

Bug report

BUG-0b59bc625a5f80332ca83ed2900ac7b31c19334fd4181803dc3aa6ce93b6c607-20220509183044Z-a8c8cca05fc40829

Ciruman avatar May 09 '22 18:05 Ciruman

I have the same issue.

bEMmTEWDz0elpu1w avatar May 11 '22 18:05 bEMmTEWDz0elpu1w

Confirmed for me too. Eventually, I get the follwing error in a dialog box:

Failed to log in: Unexpected token < in JSON at position 0

markusweimer avatar May 18 '22 17:05 markusweimer

Update: I enabled SSH on my NAS, logged in and executed sudo tailscale up. That sent me to a login page and my NAS is now connected to the Tailscale network.

markusweimer avatar May 25 '22 18:05 markusweimer

@markusweimer, thank you very much. It also worked for me.

Ciruman avatar May 26 '22 16:05 Ciruman

Also broken for me. sudo tailscale up doesn't work however. I get an error message;

failed to connect to local tailscaled (which appears to be running). Got error: Failed to connect to local Tailscale daemon for /localapi/v0/status; not running? Error: dial unix /var/packages/Tailscale/etc/tailscaled.sock: connect: connection refused

DSM 7.1-42661 Update 2 Tailscale package installed from Synology Package Center - version 1.16.2-2013

andy47 avatar Jun 28 '22 09:06 andy47

I just hit the exact same issue. I was using DSM 6, upgraded to 7 in the hopes that it'd work, same result.

The SSH workaround above works. For those who want to log in w/o sudo, you can run tailscale status, which will print out an authorization URL that you can use.

josharian avatar Aug 13 '22 20:08 josharian

@josharian Using tailscale status worked perfectly for me, thanks for that!

NB, I didn't see anything in the Chrome network inspector after clicking the button. Kinda funky, but maybe that helps debug this.

waltz avatar Oct 01 '22 20:10 waltz

Likely fixed by https://github.com/tailscale/tailscale/pull/5395 in Tailscale 1.30.0 and later. If you still have a problem logging in to a synology device: please open a new bug. This one will be conflated with symptoms from https://github.com/tailscale/tailscale/pull/5395

DentonGentry avatar Oct 30 '22 14:10 DentonGentry

I just hit the exact same issue. I was using DSM 6, upgraded to 7 in the hopes that it'd work, same result.

The SSH workaround above works. For those who want to log in w/o sudo, you can run tailscale status, which will print out an authorization URL that you can use.

I'm sort of new with this, can you tell me where/how I enter/run 'tailscale status' to get that authorization url?

Tetra84 avatar Jun 17 '23 12:06 Tetra84

@Tetra84 Please open a new issue and describe the problem you are having. If Tailscale ever worked on the device, please include its IP address (like 100.x.y.z) so we can try to find any telemetry it has sent.

Synology should use the WebUI, by clicking on the icon in the Package Center. It shouldn't be necessary to get a shell and use tailscale status

Screenshot 2023-06-17 at 6 23 53 AM

DentonGentry avatar Jun 17 '23 13:06 DentonGentry

I had originally tried to log in that way through Synology's UI, but when it opened a new window and I got to the login screen the 'log in' button didn't do anything for me. But I got it figured out, thanks. I did have to open an SSH connection to my NAS but entering 'tailscale status' gave me the login URL I was looking for, and now I'm back to good.

Tetra84 avatar Jun 17 '23 14:06 Tetra84

I had originally tried to log in that way through Synology's UI, but when it opened a new window and I got to the login screen the 'log in' button didn't do anything for me. But I got it figured out, thanks. I did have to open an SSH connection to my NAS but entering 'tailscale status' gave me the login URL I was looking for, and now I'm back to good.

@Tetra84 thanks! I solved the same issue in the same way

Heliosmaster avatar Sep 04 '23 09:09 Heliosmaster