Skip to content

cursor-acp provider fails with ECONNREFUSED on 127.0.0.1:32124 #76

@demiolawunmi

Description

@demiolawunmi

When using the Cursor/OpenCode integration, OpenCode shows a connection error for the local Cursor ACP proxy:

Cannot connect to API: connect ECONNREFUSED 127.0.0.1:32124
retrying in 3s - attempt #2
Expected Behavior Selecting a cursor-acp/... model should start or connect to the local proxy and successfully send requests through Cursor.

Actual Behavior OpenCode attempts to connect to 127.0.0.1:32124, but nothing appears to be listening on that port, causing repeated ECONNREFUSED retries.

Environment

OpenCode version: 1.15.2
Package: @rama_nigg/open-cursor
Provider: cursor-acp
OS: macOS
Notes Cursor authentication itself appears to work, but the local proxy required by the OpenCode provider does not appear to be running or reachable when the model request is made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions