gurucomputing / headscale-ui

A web frontend for the headscale Tailscale-compatible coordination server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't rename device

dgoujard opened this issue · comments

When i try to update a device name, I got this 501 error:
{"code":12, "message":"Method Not Allowed", "details":[]}

Method not allowed means the headscale server denied the action. What's the according error message in the headscale logs? What version of headscale are you running?

Going to close this, as there is no response and this sounds like an issue with headscale not being up to date.

Hi, sorry for the delay, it's the last version of headscale: 0.16.2
I don't have log in the headscale container when i navigate in the headscale-ui (but i can see data on the interface)

When you attempt to update the name, there will be a corresponding log in the headscale console in the command line. What does it say?

Ah, actually I suspect you're encountering another CORS issue. are you running headscale-ui on the same subdomain? if not, are you letting through all of the following options in CORS?
Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE"

It's the same domain but the POST url contain a // so it's my config i think. I check that

possibly a duplicate of #46 , which has a fix next week (albeit I couldn't get chrome or firefox to complain about a trailing slash).

Ok it's a issue in my setting, in the Headscale URL it was : https://headscale.monndd/ when i change it to https://headscale.monndd it work !

righto, should be fixed next release