After a reboot, the Inbox doesn't reclaim its own tailscale serve mappings ("Another tailscale serve mapping already uses port …")
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend, networking
Línea de trabajo
Find chooseTailnetDoorPort and the code that checks existing tailscale serve mappings against the Inbox's records. Read how ownership is determined when the target port has no listener after restart, then follow the Inbox startup path for both its own port and the 8443 door. Done when matching recorded mappings are reclaimed or re-pointed on start and unrelated mappings are still refused.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
After a reboot, the Inbox doesn't reclaim its own tailscale serve mappings ("Another tailscale serve mapping already uses port …")
Environment: plannotator 0.28.67 on two Macs (macOS), Tailscale for Mac, the same tailnet and account. Both Inboxes are published on the tailnet ("inboxTailscale": true) and linked to each other (plannotator inbox link), "online, both ways" before the reboot.
What happens
Tailscale keeps background serve mappings across a reboot. After one Mac was rebooted, its Inbox no longer treated the mappings it had made itself as its own:
-
The Inbox's own port.
plannotator inboxprinted:Not published over your tailnet: Another tailscale serve mapping already uses port 57113, the Inbox's port. The Inbox never replaces it: remove it with "tailscale serve --https=57113 off" if nothing needs it.
tailscale serve statusshowedhttps://<mac>.<tailnet>.ts.net:57113 → proxy http://127.0.0.1:57245, and nothing listened on 57245 (lsof -nP -iTCP:57245 -sTCP:LISTENempty). It was the Inbox's own mapping from before the reboot. -
The link door (8443).
https://<mac>.<tailnet>.ts.net:8443 → proxy http://127.0.0.1:57298, the same target the door used before. Aftertailscale serve --https=57113 offandplannotator inbox restart, the Inbox published on 57113 but still did not listen on 57298, andplannotator inbox link --listflagged this computer: "Another tailscale serve mapping now uses port 8443, where linked machines reach this Inbox. The Inbox never replaces it…". -
Only after
tailscale serve --https=8443 offand a secondplannotator inbox restartdid it listen on 57298 again. It re-created the 8443 mapping with the same target, and the link came back "online, both ways".
So a reboot takes two rounds of tailscale serve … off plus plannotator inbox restart by hand.
The other Mac had not been rebooted, but its Inbox had been restarted since the mapping was made. It had the first case too: its port 58793 mapped to 127.0.0.1:57747, where nothing listened, and tailnet_url was null until the mapping was removed and the Inbox restarted.
Expected
A mapping on the Inbox's own port or its door port that points at a loopback port nothing listens on, and that this Inbox made (it matches its records), is reclaimed or re-pointed at start, instead of being refused as someone else's. In chooseTailnetDoorPort, a record whose target is unchanged should count as own even when nothing is listening yet after a restart.
Workaround
tailscale serve status # find the Inbox's port and 8443 mapped to a dead 127.0.0.1 port
tailscale serve --https=<port> off # the Inbox's port, then 8443 if link --list still complains
plannotator inbox restart
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 649
- Merge medio
- 16 h 1 min
- PR fusionados (30 d)
- 756
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
backnotprop/plannotator#4132 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
backnotprop/plannotator#4051 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#4000 ·
Los mantenedores suelen responder en 1 día
-
PR description is hidden when a PR review opens on a phonePosiblemente ocupada @flipcyde101 la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
backnotprop/plannotator#3667 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
backnotprop/plannotator#2643 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de backnotprop/plannotator
Issues similares
-
enhancement UX
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
online-go/online-go.com#4000 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
SnosMe/awakened-poe-trade#1976 ·
-
[BUG]Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
jonp-h/TillerQuest#319 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
terrazzoapp/terrazzo#902 ·