[Bug] Android: Apps page can reject a valid workspace 200 ("no response was produced")
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 66/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react-native, typescript
- 領域
- mobile
調査の方向性
まず、Android の workspace リクエスト経路と @copilotkit/react-native の streaming-fetch 実装を読みます。issue では、upstream の報告 CopilotKit/CopilotKit#8099 と、失敗している readyState の安全性チェックが特定されています。記載された Expo と React Native のバージョンを使い、Android で Apps を開くか更新して再現します。有効な HTTP 200 応答で workspace が安定して読み込まれれば完了です。issue では依存関係の更新またはパッケージへのパッチが提案されています。
索引モデルが issue の本文から書いたものです。
説明
What happened?
On Android, opening Apps (or refreshing the workspace) intermittently shows a red error instead of the app list:
TypeError: Network request to https://<app-host>/api/workspace completed with status 200 but no response was produced. This may indicate a CORS failure, DNS error, or React Native networking issue.
The server did return the workspace JSON: the access log shows GET /api/workspace 200 527 with user agent okhttp/4.12.0. Web and iOS are fine; Android hits it intermittently.
Expected: Apps loads the workspace.
Actual: the request rejects even though the server returned 200.
Steps to reproduce
- Build the Android app from
mainwith Expo SDK 54 / RN 0.81.5 /@copilotkit/[email protected]. - Sign in with a live workspace access key.
- Open Apps or refresh the workspace a few times (the failure is intermittent).
- The red
TypeErrorappears instead of the app list.
Commit or release
main at 2026-10-28 (app.json version 0.1.0, versionCode 1).
Platform
Android
Environment and safe logs
- Android 14/15 emulator, x86_64, Hermes, new architecture
- OkHttp 4.12.0
@copilotkit/[email protected]- Server access log:
GET /api/workspace 200 527 "okhttp/4.12.0" - No credentials or private data included
Root cause / upstream issue
This is a downstream manifestation of a bug in @copilotkit/react-native's XHR streaming-fetch polyfill. On Android, XHR can jump from readyState 1 to 4; the safety net in src/streaming-fetch.ts runs before the Response object is constructed and treats a valid 200 as "no response produced".
Upstream report with code, reproduction and a one-line fix: CopilotKit/CopilotKit#8099.
Workaround
Patch the installed package's streaming-fetch (source + dist/streaming-fetch-*.mjs / .cjs):
- if (readyState === 4 && !settled && !resp) {
+ if (readyState === 4 && !settled && !resp && xhrStatus === 0) {
Then rebuild the Android JS bundle. We applied this locally and Apps loads reliably on Android 15.
A patch-package/postinstall patch or a dependency bump once upstream is fixed would make the APK robust for other Android users.
- 主要言語
- TypeScript
- スター
- 5.6k
- フォーク
- 797
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 67
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CopilotKit/openmuse のほかの issue
-
[Feature] Add LLMTR as a model provider対応中かも @knowhycodata が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
CopilotKit/openmuse#212 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
CopilotKit/openmuse#207 ·
メンテナーはふだん 3 日以内に返信
-
[Feature] Dark modeオープン
難易度 4/5 3〜5日 初心者へのやさしさ 24/100
CopilotKit/openmuse#181 ·
メンテナーはふだん 3 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CopilotKit/openmuse#179 ·
メンテナーはふだん 3 日以内に返信
-
Dependency Dashboardオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CopilotKit/openmuse#153 ·
メンテナーはふだん 3 日以内に返信
CopilotKit/openmuse の issue をすべて見る
似ている issue
-
Replace discontinued crypto-js in the theme対応中かも @aelmanaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
PaloAltoNetworks/docusaurus-openapi-docs#1689 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
solana-foundation/solana-web3.js#4015 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
ivopogace/opencode-courier#422 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chapel-lang/chapel-vscode#158 ·
メンテナーはふだん 1 日以内に返信