juanfont/headscale
Vedi su GitHub[Bug] Internal server error on /debug/registration-cache
Open
#2714 aperta il 4 ago 2025
CLIbuggood first issueno-stale-bot
Metriche repository
- Star
- (38.374 star)
- Metriche merge PR
- (Merge medio 4g 10h) (27 PR mergiate in 30 g)
Descrizione
Is this a support request?
- This is not a support request
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
An internal server error is displayed when /debug/registration-cache is requested and there are pending registrations.
Expected Behavior
Display the current registration cache.
Steps To Reproduce
- Start a new, interactive registration. The client shows the usual setup instructions to complete the setup by registering the new node using the headscale CLI
- Request the registration-cache of the debug interface
$ curl http://localhost:9090/debug/registration-cache internal server error - Notice the corresponding log entry on the server:
ERR http internal server error error="json: unsupported type: chan *types.Node" code=500
Environment
- OS: Debian 12
- Headscale version: 0.26.1
- Tailscale version: 1.84.2
Runtime environment
- Headscale is behind a (reverse) proxy
- Headscale runs in a container
Debug information
Not required.