install.sh --tailscale replaces whatever the host already serves on tailnet port 443

Abierto
#80 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@viniciusbregoli ya está trabajando en esto.

Desde el 18/11/2026.

  • #82 de @viniciusbregoli — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
bash, shell
Área
devops

Línea de trabajo

Start with apps/link-service/install.sh, especially address_tailscale, and inspect uninstall.sh alongside it. The issue points to tailscale serve status --json as the existing-handler check; trace how installation and removal affect port 443 and what state would need preserving. Done means the existing service is not silently lost and uninstall restores the prior configuration; pull request #82 is already open.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

What happened

install.sh --tailscale (address_tailscale in apps/link-service/install.sh) runs:

tailscale serve --bg --https=443 "http://127.0.0.1:$PORT"

without checking whether the host already serves something on tailnet port 443. On a host that already uses tailscale serve for other services, this replaces that handler without saying so. uninstall.sh then runs tailscale serve --https=443 off, which doesn't bring the previous handler back either.

I found this while setting up phone access on a host where 443 was already taken by another service, so I didn't run --tailscale there. Instead, I pointed DUSK_PUBLIC_URL at an existing tailscale serve entry on another port.

Suggestions: check tailscale serve status --json first. If 443 is taken, use a free HTTPS port or ask, and pass the actual port to --public-url. Have the uninstaller restore what was there before.

Steps to reproduce
  1. On a tailnet host, run tailscale serve --bg --https=443 http://127.0.0.1:8082 (any existing service).
  2. Run the install line with --tailscale.
  3. tailscale serve status now shows 443 pointing at the dusk bot server. The previous service is gone.
Version

install.sh as served on 2026-11-18 (same ts serve line on main)

Platform

Own server (VPS)

Lenguaje dominante
TypeScript
Estrellas
277
Forks
27
Merge medio
2 h 47 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DuskBotAI/duskbot

Todos los issues de DuskBotAI/duskbot

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.