[BUG] Stagehand block fails with Unexpected server response: 101 when opening Browserbase session
Mantenedores costumam responder em até 1 dia
@Zoymusk já está trabalhando nisso.
Desde 15/9/2026.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- bun, typescript
Direção de pesquisa
Start at the Stagehand block's Run Agent operation and its Browserbase session WebSocket/CDP connection, then reproduce the vinted-login-test workflow with the stated configuration. Check whether the runtime or proxy handles the successful 101 upgrade correctly; done means the Browserbase session opens and navigation actions are recorded instead of failing immediately.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The Stagehand block (Run Agent operation) fails immediately when it tries to open a Browserbase browser session. The run errors out after ~1s and no navigation actions are ever recorded — the browser never launches.
Environment
Workspace ID: 87354126-e3c3-4093-a07b-76df681ab4c9
Workflow: vinted-login-test (d6a50651-f4aa-4c61-96a8-65156e71e8c3)
Block: vintedLogin — type stagehand, operation agent, mode hybrid, provider anthropic
Steps to reproduce
- Create a workflow: Start → Stagehand (Run Agent).
- Configure provider anthropic with a valid ANTHROPIC_API_KEY, startUrl=https://www.vinted.cz, a login task, and variables for email/password.
- Run the workflow.
- Block fails after ~1s with Unexpected server response: 101.
Expected
Stagehand opens the Browserbase session and begins navigating.
Actual
WebSocket/CDP upgrade to Browserbase fails with Unexpected server response: 101; browser session never starts. Consistent across retries (not transient).
Ruled out (verified on the workspace side)
ANTHROPIC_API_KEY is valid — starts with sk-ant-, 108 chars, no whitespace; the block accepts it (the earlier Invalid Anthropic API key format error is gone).
VINTED_EMAIL / VINTED_PASSWORD are stored and correctly substituted at runtime.
Workflow lints clean: Start → vintedLogin, no orphans, no unresolved references.
Likely cause
HTTP 101 is actually the successful WebSocket upgrade response. The ws client is rejecting a successful upgrade — a known symptom of a Bun-vs-Node runtime incompatibility (Bun's ws polyfill doesn't handle the upgrade/unexpected-response events), or a reverse proxy not forwarding Upgrade/Connection headers to wss://connect.browserbase.com. Missing/invalid Browserbase credentials would return 401/403, not 101, so this points to server-side runtime/proxy config for the Stagehand↔Browserbase connection rather than user error.
- Linguagem predominante
- TypeScript
- Estrelas
- 29.8k
- Forks
- 3.9k
- Merge médio
- 1h 44min
- PRs com merge (30d)
- 841
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de simstudioai/sim
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
simstudioai/sim#9831 ·
Mantenedores costumam responder em até 1 dia
-
v2 API rate limits self-hosted installs by IP even with billing disabledTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
simstudioai/sim#8452 ·
Mantenedores costumam responder em até 1 dia
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)Talvez livre de novo @sahooarnav2007-gif assumiu há 15 dias e não há nenhum pull request aberto. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
simstudioai/sim#6246 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
simstudioai/sim#1204 · 8 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
simstudioai/sim#9734 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de simstudioai/sim
Issues semelhantes
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLTalvez já em andamento @Donvero assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
mui/material-ui#49751 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
diplodoc-platform/transform#1184 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
JonasKruckenberg/imagetools#973 ·
Mantenedores costumam responder em até 1 dia