tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
18.48k stars 1.42k forks source link

Tailcale App can not log in in Synology NAS #9277

Open kunshing opened 1 year ago

kunshing commented 1 year ago

What is the issue?

Install Tailscale App from Synology NAS, than open the the it show redirect to ... token, after show blue log in title. I click it, no response, and no way to select my account I registered.

Steps to reproduce

when I click the loh in title, it hangs, the URL show the in last portion as SynoToken=JGhZ7uUlWWHLQ

Are there any recent changes that introduced the issue?

No response

OS

Synology

OS version

DSM 7.1.1

Tailscale version

1.38.4-700038004

Other software

no

Bug report

No response

DentonGentry commented 12 months ago

Can you check the permissions on /dev/net? It should be 755:

admin@dsm7:/$ ls -ld /dev/net
drwxr-xr-x 2 root root 60 Jun 4 19:43 /dev/net
kunshing commented 12 months ago

I have solved the problem, thank you.From Tony KS HuangDenton Gentry @.> 於 2023年9月8日 下午12:34 寫道: Can you check the permissions on /dev/net? It should be 755: @.:/$ ls -ld /dev/net drwxr-xr-x 2 root root 60 Jun 4 19:43 /dev/net

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Maxim-7777 commented 12 months ago

Hello, I have the same problem. When I click on it, nothing happens. I tried the following:: Max@Synology:~$ ls -ld /dev/net drwxr-xr-x 2 root root 60 Sep 6 13:23 /dev/net

zdfowler commented 11 months ago

Similar issue, but maybe this will help.

After clicking Log In (blue button) on the Tailscape app, the UI shows a JSON parse error popup (below). The browser gets a 502 - bad gateway via the POST to [synology hostname]/webman/3rdparty/Tailscale/?up=true&SynoToken=[tokenvalue]

The response to that POST is a 502 error with a generic Synology logo. The script that comes back has an error message in at, "Sorry, the page you are looking for is not found."

image

Tailscale package version 1.38.4-700038004 Synology DSM version 7.2

bradfitz commented 11 months ago

@willnorris @soniaappasamy, is this something that you fixed in the upcoming 1.50.x?

willnorris commented 11 months ago

I hadn't seen this issue, so it wasn't anything we were specifically trying to fix. That said, there was a decent amount of cleanup around the Synology token handling that it wouldn't surprise me if it ends up fixing this. I'll assign to myself and check back after the 1.50 release.