Skip to content

TypeError: Failed to fetch shortly after opening — unable to send any prompts #27755

@Echoice01

Description

@Echoice01

Description

Description

Shortly after opening openCode, I receive a "Failed to fetch" error when trying to send a prompt. After that, any subsequent input or action doesn't respond, and eventually another error is thrown.

Steps to Reproduce

  1. Launch openCode
  2. Wait a short moment after it opens
  3. Type a prompt and try to send it
  4. Observe the "Failed to fetch" error toast
  5. Try sending again or performing any other action — no response
  6. Wait a while, and a "Something went wrong" error page appears

Error Message

TypeError: Failed to fetch

Environment

  • OS: Windows 11 Home 25H2
  • openCode Version: OpenCode Desktop v1.15.0
  • Installation method: Official website installer

Expected Behavior

Prompts should be sent successfully and responses should be returned without errors.

Actual Behavior

All requests fail with Failed to fetch, making the application completely unusable.

Additional Context

This happens reliably every time I open the app. It seems like the app is unable to connect to the backend or the network request is being blocked somehow.

Plugins

No response

OpenCode version

OpenCode Desktop v1.15.0

Steps to reproduce

No response

Screenshot and/or share link

Image Image

Operating System

Windows 11 Home 25H2

Terminal

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions