Android: pairing with the Tailscale code succeeds, then shows "Not on the same network"
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- android, typescript
- Área
- mobile
Línea de trabajo
Read src/mobile/connection/connections.ts, especially connectToWorkspace, and check the pairing flow where onLinked runs after redeemLegacyPairing. The issue reports a local one-condition fix and offers a test; an open linked pull request (#60) shows the work is already underway.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
Settings → Phone → Tailscale → Pair, then scan on Android: the phone shows "Not on the same network", although the Mac is reachable over the tailnet (the …ts.net:8810 health check loads in the phone's browser).
With an on-screen trace: the Tailscale QR is a legacy payload (no via). POST /api/pair returns 201, and GET /api/auth/session returns 404 through the companion. redeemLegacyPairing accepts a 403/404 session answer for companion pairings (companionRefused), but connectToWorkspace (src/mobile/connection/connections.ts), which onLinked runs right after, treats any non-OK session answer as a failed route and ends with PairError("unreachable"). The onboarding screen shows that as "Not on the same network".
Fix that worked locally (one condition in connectToWorkspace):
const companionRefused = route.kind === "companion" && [403, 404].includes(response.status);
if (signal.aborted || (!response.ok && !companionRefused)) {
Happy to send this as a small PR with a test.
Setup: desktop 0.2.17 on macOS; phone app built from main at 7791c1f (apps/mobile, Android debug build, Samsung Galaxy S26), paired over the companion (port 8810).
Steps to reproduce
- Mac with Tailscale running (MagicDNS on); the Android phone on the same tailnet.
- Desktop: Settings → Phone → Tailscale → Pair.
- Scan with the Android app → "Not on the same network".
Version
0.2.17 (desktop, macOS); phone app from main @ 7791c1f
Platform
Android
Engine
No response
Logs or screenshots
- 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
- 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 DuskBotAI/duskbot
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Los mantenedores suelen responder en 1 día
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 pageAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443Posiblemente ocupada @viniciusbregoli la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de DuskBotAI/duskbot
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vercel-labs/ui#865 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
outline/outline#14638 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
wayfinder:grilling
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
patricktree/cup#484 ·
-
bot:ai-assisted component:platform-js status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
midnightntwrk/platform-js#69 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día