[PR #47] [MERGED] Added HTTP responses on map errors #1224

Closed
opened 2025-12-29 02:29:16 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/47
Author: @juanfont
Created: 7/11/2021
Status: Merged
Merged: 7/11/2021
Merged by: @juanfont

Base: mainHead: handle-ephemeral-reconnect


📝 Commits (1)

  • bff3d2d Added HTTP responses on errors

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 api.go (+4 -1)

📄 Description

As reported in Gitter, it might be that ephemeral tailscale clients get stuck when headscale is stop and restarted.

Sending back HTTP errors will make the tailsclient to restart the auth flow


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/47 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 7/11/2021 **Status:** ✅ Merged **Merged:** 7/11/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `handle-ephemeral-reconnect` --- ### 📝 Commits (1) - [`bff3d2d`](https://github.com/juanfont/headscale/commit/bff3d2d613ebc9fecfe30fde7c243781f71bc1d5) Added HTTP responses on errors ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+4 -1) </details> ### 📄 Description As reported in Gitter, it might be that ephemeral tailscale clients get stuck when headscale is stop and restarted. Sending back HTTP errors will make the tailsclient to restart the auth flow --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:16 +01:00
adam closed this issue 2025-12-29 02:29:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1224