[GH-ISSUE #2518] [Issue]: Claude Agent SDK's Send Test Message fails at 0ms despite successful connection test and authentication #1246

Closed
opened 2026-10-21 05:29:54 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Dan-de-leon on GitHub (Jun 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2518

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Connection Test passes ("Claude Code command is available"), but Send Test Message immediately fails at 0ms with "Claude Code request failed." No additional error detail is provided in the UI.

Expected behavior

Successful test connection

Actual behavior

I get a "Send Test Message immediately fails at 0ms" message insetad

Steps to reproduce

  1. Installed Marinara Engine via the Windows installer (located at C:\Users\admin\AppData\Local\Marinara Engine Pre-Alpha)
  2. Created a Claude Agent SDK connection
  3. Ran claude login successfully in CMD, PowerShell, and WSL — all three environments are authenticated
  4. Generated a token via claude setup-token in WSL and added CLAUDE_CODE_OAUTH_TOKEN= to .env in the install directory
  5. Restarted Marinara
  6. Connection Test: Success (356ms) — "Claude Code command is available"
  7. Send Test Message: Failed (0ms) — "Claude Code request failed."

Environment

  • Marinara Engine version: latest
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: Marinara Engine Launcher

Logs, screenshots, or video

Image

Additional context

  • tried a different proxy I was using for ST and got error 400: doesn't match the expected shape
  • also tried logging in to claude code on wsl, cmd, powershell and doing a claude login on all three
  • also tried creating the .env file in folder where the exe was installed

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @Dan-de-leon on GitHub (Jun 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2518 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Connection Test passes ("Claude Code command is available"), but Send Test Message immediately fails at 0ms with "Claude Code request failed." No additional error detail is provided in the UI. ## Expected behavior Successful test connection ## Actual behavior I get a "Send Test Message immediately fails at 0ms" message insetad ## Steps to reproduce 1. Installed Marinara Engine via the Windows installer (located at C:\Users\admin\AppData\Local\Marinara Engine Pre-Alpha\) 2. Created a Claude Agent SDK connection 3. Ran claude login successfully in CMD, PowerShell, and WSL — all three environments are authenticated 4. Generated a token via claude setup-token in WSL and added CLAUDE_CODE_OAUTH_TOKEN=<token> to .env in the install directory 5. Restarted Marinara 6. Connection Test: Success (356ms) — "Claude Code command is available" 7. Send Test Message: Failed (0ms) — "Claude Code request failed." ## Environment - Marinara Engine version: latest - Install type: installer - OS + version: Windows 11 - Browser or app shell: Marinara Engine Launcher ## Logs, screenshots, or video <img width="922" height="418" alt="Image" src="https://github.com/user-attachments/assets/4e7c0d8b-f044-48c5-b523-04a4b86748a6" /> ## Additional context - tried a different proxy I was using for ST and got error 400: doesn't match the expected shape - also tried logging in to claude code on wsl, cmd, powershell and doing a claude login on all three - also tried creating the .env file in folder where the exe was installed ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:29:54 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 10, 2026):

Will check.

<!-- gh-comment-id:4668382493 --> @SpicyMarinara commented on GitHub (Jun 10, 2026): Will check.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 10, 2026):

Addressed in draft PR #2543. Claude Subscription Test Connection now performs a real minimal SDK request, and SDK failures surface richer cause/stdout/stderr/auth-environment diagnostics.

<!-- gh-comment-id:4668600221 --> @SpicyMarinara commented on GitHub (Jun 10, 2026): Addressed in draft PR #2543. Claude Subscription Test Connection now performs a real minimal SDK request, and SDK failures surface richer cause/stdout/stderr/auth-environment diagnostics.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1246
No description provided.