{"record":{"id":"7906b004e8644e73","repo":"juanfont/headscale","slug":"not-implemented-yet","errorCode":null,"errorMessage":"Not implemented yet","messagePattern":"Not implemented yet","errorType":"http","errorClass":null,"httpStatus":501,"severity":"error","filePath":"hscontrol/noise.go","lineNumber":310,"sourceCode":"}\n\n// overrideRemoteAddr returns middleware that pins r.RemoteAddr to addr.\n// Used inside the Noise tunnel: the HTTP/2 server derives r.RemoteAddr\n// from the hijacked TCP socket (the reverse proxy's loopback peer), so\n// the outer request's resolved client IP must be carried across the\n// hijack boundary by hand.\nfunc overrideRemoteAddr(addr string) func(http.Handler) http.Handler {\n\treturn func(next http.Handler) http.Handler {\n\t\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t\tr.RemoteAddr = addr\n\t\t\tnext.ServeHTTP(w, r)\n\t\t})\n\t}\n}\n\nfunc (ns *noiseServer) NotImplementedHandler(writer http.ResponseWriter, req *http.Request) {\n\tlog.Trace().Caller().Str(\"path\", req.URL.String()).Msg(\"not implemented handler hit\")\n\thttp.Error(writer, \"Not implemented yet\", http.StatusNotImplemented)\n}\n\n// PingResponseHandler handles HEAD requests from clients responding to a\n// [tailcfg.PingRequest]. The client calls this endpoint to prove connectivity.\n// The unguessable ping ID serves as authentication.\nfunc (h *Headscale) PingResponseHandler(\n\twriter http.ResponseWriter,\n\treq *http.Request,\n) {\n\tif req.Method != http.MethodHead {\n\t\thttp.Error(writer, \"method not allowed\", http.StatusMethodNotAllowed)\n\t\treturn\n\t}\n\n\tpingID := req.URL.Query().Get(\"id\")\n\tif pingID == \"\" {\n\t\thttp.Error(writer, \"missing ping ID\", http.StatusBadRequest)\n\t\treturn","sourceCodeStart":292,"sourceCodeEnd":328,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/hscontrol/noise.go#L292-L328","documentation":"Error \"Not implemented yet\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at hscontrol/noise.go:310 when the library encounters an invalid state.","commonSituations":"The requested control endpoint is not implemented by headscale. The client feature is unsupported; disable it or use a supported client version.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (Not implemented yet); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (Not implemented yet); retry the operation after fixing the input, configuration, or environment.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"565fd254d06c4c7f9a8cad1714a43445c79ba420","analyzedAt":"2026-08-15T13:12:30.133Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}