Server port 8799 collides with an OpenMausBot server on the same Windows host (WSL localhost forwarding), breaking MausBot's browser tool with "unauthorized"

Abierto
#25 1 comentario 0 reacciones 0 asignados Ver en GitHub

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
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start by locating the server setup and startup code that binds Dusk to 127.0.0.1:8799, then trace how MCP requests are authenticated. Check how setup handles configuration and where project documentation explains running the server. Done means the port can be configured, collisions and requests using another install’s token get a clear response, and the documented setup covers running alongside MausBot; the issue does not name files or tests.

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

Descripción

Version

0.2.15

Platform

Own server in WSL2 on a Windows PC that also runs OpenMausBot natively

What happened

Dusk listens on 127.0.0.1:8799 inside WSL. WSL localhost forwarding publishes that as 127.0.0.1:8799 on Windows (wslrelay.exe). The MausBot server on the same PC listens on 0.0.0.0:8799. On Windows the more specific 127.0.0.1 bind wins, so MausBot's own local calls to 127.0.0.1:8799 reach Dusk instead. Every MausBot bot then fails at the start of a turn with:

The MCP server 'browser' failed to initialize: failed to get tools: calling "tools/list": unauthorized

Nothing tells the user which app took the port.

Suggested fix
  1. Make the server port configurable in setup (DUSK_PORT) and check at start whether 8799 already answers on the host, and pick another port if it does.
  2. When a local request arrives with a token from another install, answer with a clear "this is Dusk, not your other server" error instead of plain unauthorized.
  3. Document running Dusk next to MausBot / OpenMausBot (people migrating keep both running).
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.