Wsl Ubuntu error: Agent server started but is not accepting connections
- Dominant language
- TypeScript
- Stars
- 283
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 183
Description
### Description
Hello,
I am trying to run agentcore dev in a wsl Ubuntu on Windows and 8/10 times I get the following error:
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.
Contributor guide
Research direction
Start by reproducing `agentcore dev` from WSL Ubuntu on Windows, using the reported CLI version 0.26.0 and checking the startup behavior across repeated launches. No source file or test is named; done means the dev server accepts connections on the first attempt and the relevant logs are populated when startup fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100