-
Notifications
You must be signed in to change notification settings - Fork 62
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
Internal Server Error on /routes #69
Comments
Can you give me the output of the routes ls command on your Headscale servers? |
All my routes are ordered but I'm not sure it's the correct way to do it.. So I just take the route ID and subtract 1 for the index in the array. It's likely you have deleted routes or something so the index is "wrong" |
Yeah I definitely have been messing around and removed routes. Here is the output:
|
After looking at this I also noticed that by removing machines that I setup those routes on it didn't remove the routes. Shouldn't it be removing those routes when the machine is removed? I am not sure if this is a "UI" issue or an "API" issue. Maybe I should put this on the head scale repo? |
Its a pre-v0.21.0 Headscale issue. The latest version fixes it for everything except ephemeral nodes timing out
On April 1, 2023 3:05:37 PM UTC, ngreenwood6 ***@***.***> wrote:
After looking at this I also noticed that by removing machines that I setup those routes on it didn't remove the routes. Shouldn't it be removing those routes when the machine is removed? I am not sure if this is a "UI" issue or an "API" issue. Maybe I should put this on the head scale repo?
--
Reply to this email directly or view it on GitHub:
#69 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
--
Albert J. Copeland
***@***.***
PGP Fingerprint: 64F6C4EB46C4543A
|
I need to rewrite my code to get this working properly. Sorry about that. I'll work on it when I have time :).
On April 1, 2023 3:03:06 PM UTC, ngreenwood6 ***@***.***> wrote:
Yeah I definitely have been messing around and removed routes. Here is the output:
```
ID | Machine | Prefix | Advertised | Enabled | Primary
3 | alex-pc | 0.0.0.0/0 | false | false | -
4 | alex-pc | ::/0 | false | false | -
13 | dev-server | 192.168.1.0/24 | true | true | true
18 | | 192.168.99.0/24 | true | false | false
19 | | 192.168.99.0/24 | true | false | false
20 | | 192.168.99.0/24 | true | false | false
21 | | 192.168.99.0/24 | true | false | false
22 | pfsense | 192.168.96.0/19 | true | true | true
23 | | 0.0.0.0/0 | true | true | -
24 | | ::/0 | true | true | -
```
--
Reply to this email directly or view it on GitHub:
#69 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
--
Albert J. Copeland
***@***.***
PGP Fingerprint: 64F6C4EB46C4543A
|
Actually that may have been an easier fix than I thought. |
It looks like its still happening. I am getting the following:
|
|
(For now, you'll need to manually delete the routes through Headscale's CLI, my UI doesn't have a way of deleting routes, just enabling/disabling) Try pulling a new build on |
Just wanted to let you know on the latest the page is working. Thanks for the quick response. |
WebUI Internal Server Error: getting the below error : headscale-webui | [2023-10-22 14:25:04,859] INFO in helper: All startup checks passed. |
I get a similar one myself:
|
It looks like the feature to view the routes was just added which is awesome. However, when I try to view the page it just gives an "Internal Server Error". The docker logs show the following:
The text was updated successfully, but these errors were encountered: