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

オープン
#25 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
TypeScript
スター
277
フォーク
27
平均マージ
2時間 47分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DuskBotAI/duskbot のほかの issue

DuskBotAI/duskbot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。