[BUG] Stagehand block fails with Unexpected server response: 101 when opening Browserbase session
メンテナーはふだん 1 日以内に返信
@Zoymusk がすでに取り組んでいます。
2026年9月15日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 29.8k
- フォーク
- 3.9k
- 平均マージ
- 1時間 44分
- マージ済み PR(30日)
- 841
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simstudioai/sim のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simstudioai/sim#9831 ·
メンテナーはふだん 1 日以内に返信
-
v2 API rate limits self-hosted installs by IP even with billing disabled対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
simstudioai/sim#8452 ·
メンテナーはふだん 1 日以内に返信
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)再び着手できるかも @sahooarnav2007-gif が 15 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
simstudioai/sim#6246 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
simstudioai/sim#1204 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
simstudioai/sim#9734 ·
メンテナーはふだん 1 日以内に返信
simstudioai/sim の issue をすべて見る
似ている issue
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML対応中かも @Donvero が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
mui/material-ui#49751 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
diplodoc-platform/transform#1184 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JonasKruckenberg/imagetools#973 ·
メンテナーはふだん 1 日以内に返信