`duskbot pair --phone` on a self-hosted server makes a sign-in code, not a phone pairing, so the phone app never gets push
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authentication, cli, mobile
Línea de trabajo
Start in pair-cli and trace how --phone, --public-url, and phoneAppPairing determine the pairing flow. Compare that path with the working POST /api/mobile/pairing endpoint and its duskbot://pair?m= link. Done means pair --phone with a public HTTPS URL creates a phone pairing that can receive pushes, or clearly explains when the printed code cannot.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Server 0.2.30, own systemd unit, public URL through a Cloudflare tunnel, no link service (duskbot vps status: link: not-installed).
Steps: duskbot pair --label iPhone --phone ios --public-url https://dusk.example, then paste the "phone app:" link into the app and allow notifications.
Expected: a paired phone that gets pushes.
Actual: a plain sign-in. No mobile-devices.json entry is made, and the app's PUT /api/mobile/push gets "this session is not a paired phone", so no push is ever sent. Neither the CLI nor the app says so.
Cause in pair-cli: options.client || options.publicUrl ? null : phoneAppPairing(...) skips phone pairing whenever --public-url is set. Without it, phoneAppPairing still returns null unless the link service gives a relay route. --phone only changes the printed text, and the "phone app:" link is the old sign-in invite.
What works: POST /api/mobile/pairing over the public HTTPS address gives a working duskbot://pair?m= link. iPhone (APNs) and Android (FCM) pushes then arrive through link.dusk.bot.
Ask: pair --phone should use /api/mobile/pairing when the server has a public HTTPS address, or at least say that the code it prints can't receive push.
- Lenguaje dominante
- TypeScript
- Estrellas
- 277
- Forks
- 27
- Merge medio
- 15 h 30 min
- PR fusionados (30 d)
- 147
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
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Windows: "Keep this computer awake" does not prevent Modern Standby (S0) sleep on display-offAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 59/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
DuskBotAI/duskbot#353 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
DuskBotAI/duskbot#351 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de DuskBotAI/duskbot
Issues similares
-
area/ci bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
melgarafael/DeskcommCRM#5290 ·
Los mantenedores suelen responder en 1 día
-
Add Alice&BotAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
easy enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
bot:ai-assisted component:faucet github_actions security status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
midnightntwrk/midnight-faucet-api#215 ·
Los mantenedores suelen responder en 1 día