WebSocket connection to 'ws://localhost:8081/api/ws/runs/59?token=null' failed:
What happened?
Describe the bug
When I run the default test from the Deep Research gallery in Autogen Studio, I get a WebSocket connection error in the browser console. The error message indicates that the token parameter is null, which seems to prevent the WebSocket from establishing a connection.
Error message:
To Reproduce Steps to reproduce the behavior:
- Start Autogen Studio on
localhost:8081 - Go to Team Builder → click From Gallery
- Select Deep Research Team and click Copy
- In the copied team, click Run
- A chat window appears with the default input:
What is the capital of France? - As soon as the chat starts, a WebSocket error occurs
Observed:
- WebSocket connection fails with
token=null
Expected behavior The default test should run without any WebSocket connection issues, and the connection should include a valid token.
Screenshots
- Environment:
localhost:8081 - Browser: Chrome [insert version]
- OS: [insert OS]
- Autogen Studio version: [insert version]
Which packages was the bug in?
Python AgentChat (autogen-agentchat>=0.4.0)
AutoGen library version.
Python dev (main branch)
Other library version.
No response
Model used
No response
Model provider
None
Other model provider
No response
Python version
Other (please note we only support Python 3.10+)
.NET version
None
Operating system
Windows
Hi @sedatepace ,
Do you see the issue with other teams or just the deep research team? Note that a token only matters is you have set up auth (a null token is fine if auth is not setup).
The error suggests there are issues connecting to the websocket. Do you see any errors on the command line?
That's how every team gallery is doing.
This is the case for newly downloaded autostudio.
My PC is Windows 11 Home (24H2).