Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Wsl Ubuntu error: Agent server started but is not accepting connections

未关闭
#1,929 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
typescript
领域
cli

调研方向

首先,从 Windows 上的 WSL Ubuntu 重现 agentcore dev,使用报告中的 CLI 版本 0.26.0,并检查重复启动时的启动行为。未指定源文件或测试;完成标准是 dev 服务器在第一次尝试时接受连接,并且在启动失败时相关日志中有记录。

由索引模型根据 Issue 内容生成。

描述

bug
Description

Hello,

I am trying to run agentcore dev in a wsl Ubuntu on Windows and 8/10 times I get the following error:

Image

The only way to avoid this and actually run the dev UI properly is to keep stopping and starting agentcore dev again until it starts working.

Steps to Reproduce
  1. run wsl -d Ubuntu
  2. run agentcore dev
  3. Wait until you get the error
  4. Keep relauching the dev server until the server starts normally
Expected Behavior

I expect the dev server to start on the first try

Actual Behavior

The server only starts after relauching it and getting the error a number of times, and the number is always different, which suggest it's a random one.

CLI Version

0.26.0

Operating System

Windows

Additional Context

The cli is run is Ubuntu wsl. The log files are not populated when the error occurs.

主要语言
TypeScript
星标
304
派生
105
平均合并
16 小时 14 分钟
30 天内合并 PR
186

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/agentcore-cli 的其他 Issue

查看 aws/agentcore-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。