Skip to content

[IDE extension] Submitted prompts disappear and /feedback permission check fails with cloudflare_challenge #50195

Open

Description

@nandora5

Component

  • Product: Codex IDE extension for Visual Studio Code
  • OS: Windows
  • Extension version: 26.930.21537

Summary

The Codex VS Code extension intermittently drops submitted prompts.

After several successful turns, a submitted prompt disappeared from the composer and was never displayed in the chat. Inspection of the affected local session transcript confirmed that the prompt was never written to the transcript, indicating that it was lost before reaching the Codex app-server.

The extension log repeatedly records cloudflare_challenge responses and failures to release the queued message send lock.

The in-product /feedback command is also unavailable because its permission check fails.

Steps to reproduce

  1. Open the Codex extension in VS Code on Windows.
  2. Run /logout.
  3. Sign in again.
  4. Start a new chat.
  5. Send the following short prompts:
    • こんにちは
    • テスト送信中です
    • ほんとですか?
  6. Confirm that those prompts are sent successfully.
  7. Send another prompt:
    • また途中で送信できなくなりませんか?

Actual result

  • The last submitted prompt disappears.
  • No user-message bubble is created in the chat.
  • No assistant response is started.
  • The prompt is absent from the affected local session transcript.
  • The prompt therefore appears to have been dropped in the IDE extension/WebView message queue before reaching the Codex app-server.

The behavior is intermittent: several messages can succeed before a later message is dropped.

Expected result

  • The submitted prompt should remain visible in the chat.
  • A new turn should be created and sent to the Codex app-server.
  • A failed submission should display an error without discarding the prompt text.

Relevant extension log errors

The extension log contains repeated occurrences of the following error:

Failed to release queued message send lock
errorMessage="\"undefined\" is not valid JSON"
errorName=SyntaxError

The stack trace points to the extension WebView code calling JSON.parse from onFetchResponse.

The extension also repeatedly receives HTTP 403 responses such as:

errorCode=cloudflare_challenge
status=403
routePattern=/accounts/optimized/check

and:

errorCode=cloudflare_challenge
status=403
routePattern=/subscriptions

These requests originate from the VS Code extension WebView.

The same queued-message lock error was also observed in logs from earlier extension versions:

  • 26.928.31416
  • 26.928.40906

/feedback also fails

Running /feedback displays the following notification:

フィードバックの送信権限を確認できませんでした。もう一度お試しください

English translation:

Could not verify permission to send feedback. Please try again.

The feedback form does not open, and no feedback is submitted.

Feedback is not disabled in the local Codex configuration. There is no local configuration entry equivalent to:

[feedback]
enabled = false

Around the same period, the extension continued to record HTTP 403 responses with:

errorCode=cloudflare_challenge
routePattern=/subscriptions

Therefore, the in-product feedback channel cannot be used to report this issue.

Troubleshooting already attempted

The following actions did not resolve the problem:

  • VS Code: Reload Window
  • Completely restarting VS Code
  • Restarting Windows
  • Running /logout and signing in again
  • Starting a new chat
  • Allowing the extension to update to 26.930.21537

Additional observations

  • https://chatgpt.com opens normally in a regular web browser.
  • The browser does not display a Cloudflare challenge.
  • The Cloudflare-related failures are observed in the VS Code extension WebView requests.
  • The issue is not specific to the contents of the dropped prompt.
  • The issue occurs before the dropped prompt is recorded in the local session transcript.
  • Raw logs are not attached publicly because they may contain account or session identifiers. Sanitized excerpts can be provided if needed.

Request

Please investigate:

  1. Why the VS Code extension WebView receives 403 / cloudflare_challenge for account and subscription endpoints while the same account can access chatgpt.com normally in a browser.
  2. Why a failed WebView response results in "undefined" is not valid JSON.
  3. Why the queued message send lock cannot be released.
  4. Why the prompt text is silently discarded instead of being retained or showing a submission error.
  5. Why /feedback cannot verify the permission to submit feedback under the same conditions.

Screenshot

A

Image

of the /feedback permission-check failure is attached.

Activity

  1. added
    bug
    extension
    windows-os
    connectivity
    on Oct 2, 2026
  2. dogdreamson555 commented on Oct 2, 2026

    @dogdreamson555

    Same here🙁

  3. Firstmeridian commented on Oct 4, 2026

    @Firstmeridian

    same question

    Image
  4. nandora5 commented on Oct 5, 2026

    @nandora5
    Author

    Update after upgrading to 26.930.51102

    I tested the updated extension in a fresh chat.

    • Extension version: 26.930.51102
    • Sent 10 sequential unique prompts (TEST-01 through TEST-10)
    • Waited for each response before sending the next prompt
    • All 10 prompts were submitted and completed successfully
    • No new Failed to release queued message send lock error was observed after the updated extension was activated

    Therefore, the original dropped/stuck-message behavior appears to be fixed or at least is no longer reproducible in this test.

    However, /feedback is still not working. It displays:

    フィードバックの送信権限を確認できませんでした。もう一度お試しください
    Could not verify permission to send feedback. Please try again.

    The local config.toml does not contain a [feedback] section, so feedback has not been disabled locally.

    The updated extension also logged one 403 / cloudflare_challenge response for /accounts/optimized/check immediately after activation, although no feedback-specific log entry was recorded when /feedback was tested.

    Screenshot of the current /feedback error is attached.

    This issue is therefore only partially resolved. I am leaving it open because the /feedback permission-check failure remains reproducible.

    Image
  5. zengweiking999 commented on Oct 12, 2026

    @zengweiking999

    I am seeing a highly similar problem in the ChatGPT/Codex desktop app on Windows, using a Pro subscription.

    Observed behavior:

    • After composing and sending a detailed prompt, the message appears for roughly 1–2 seconds and then disappears.
    • Refreshing the chat shows only the previous message.
    • The lost prompt is not restored to the composer, so long-form reasoning, ideas, and carefully edited content must be recreated.
    • This has occurred multiple times and materially disrupts sustained work.
    • Running /feedback displays an error equivalent to “Could not verify permission to send feedback,” so the in-product reporting channel is unavailable.
    • I checked the local Codex configuration and there is no [feedback] section disabling feedback.

    Requested reliability safeguards across every existing and newly created chat composer:

    1. Continuously autosave the current draft locally.
    2. Keep an explicit “Sending” state until server receipt is confirmed.
    3. Restore the full prompt to the composer if submission fails.
    4. Provide retry and copy-original actions.
    5. Recover unsent drafts after refresh, disconnect, or app crash.
    6. Never silently remove a prompt; show a clear failure state.

    Please treat this as a conversation-integrity/data-loss issue rather than a cosmetic UI problem. No raw logs, session identifiers, account identifiers, API keys, tokens, or private conversation content are included in this comment.

  6. interconnectedMe commented on Oct 19, 2026

    @interconnectedMe

    A concrete example of why this feedback failure matters: I have now filed #55202 — Cybersecurity Warning repeatedly blocks ordinary migration work in Codex.

    An ordinary local Python-to-TypeScript migration/review session has repeatedly stopped with cyber_policy and a cybersecurity warning. The precise trigger is unknown, so this needs investigation using the affected session and diagnostic context. However, the broken /feedback permission check in the VS Code extension prevents me from easily reporting that interruption through the built-in channel where it occurred.

    I have had to report it separately on GitHub and attempt feedback through the Linux ChatGPT desktop app instead. The feedback/session ID supplied for the cybersecurity report is 01a14ffe-6eba-7100-b181-3759be0e9840; this does not mean the VS Code feedback flow has recovered.

    Please treat the feedback failure as more than a minor UI inconvenience: it obstructs reporting other failures, including unexplained safeguard interruptions that stop ongoing work. A working in-IDE submission path, or a clearly documented fallback that preserves the relevant diagnostics, would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconnectivityextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions