Skip to content

"No integrations available"; unable to select a model or connect a provider; models unresponsive #57061

Closed as not planned

Description

@mcbalaam

Description

I was working on a project using my Go subscription. Suddenly, the agent stopped responding, and upon restarting OpenCode I saw "No provider selected Connect a provider"

Pressing Ctrl+P and selectubg "Connect an integration" brings up a modal that says "No integrations available"

Killing the server now shows all my Go models again, but none are responding to any requests or displaying any errors. I'm not using any system-wide proxies, VPNs or DNSes that could potentially throttle the connection, and the models I'm trying to use shouldn't be region locked

Plugins

none

OpenCode version

2.0.31

Steps to reproduce

no clue...

Screenshot

Image

Operating System

Arch Linux linux 7.2.9-zen1-1-zen (x64)

Terminal

xterm-256color (kitty)

Activity

  1. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    Thanks for the report! Those two messages ("No provider selected" and "No integrations available") are what the TUI shows when the background service returns an empty list of models and integrations. That usually means the service itself got stuck or overloaded. It doesn't mean your Go connection was removed. To work out whether the problem is the local service or the requests to Go, could you share:

    1. The Go model(s) you were using, and the directory you started opencode in (for example a project folder or your home directory).
    2. The output of opencode service status and opencode api get /api/info while it's broken.
    3. Whether it works when you run opencode --standalone (this starts the TUI with its own private server).
    4. While it's broken, whether an opencode process is using a lot of CPU or memory (check with top or htop).
    5. Logs: the lines from ~/.local/share/opencode/log/opencode.log around the time it stopped responding, especially lines with role=server and any errors or warnings. If you can reproduce it, running once with OPENCODE_LOG_LEVEL=DEBUG gives more detail. Please remove API keys, prompts and file contents before posting.

    You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know when you're done.

    I found some related issues. They're ordered by how likely they are to match, so please check whether one of them already covers your problem:

  2. mcbalaam commented on Oct 19, 2026

    @mcbalaam
    Author

    @opencode-agent I was using DeepSeek 4.1 Flash and Claude DontRememberWhichOne 5.5. Tried starting the server in multiple different directories and all of them don't have any available intergations

    /api/get returns {"version":"2.0.31","pid":280483,"urls":["http://127.0.0.1:49374"],"paths":{"tmp":"/tmp/opencode"},"capabilities":{"persistentPty":true}}

    Launching with the --standalone flag does not help

    No unusual CPU/RAM spikes

    Logs you might wanna look at: timestamp=2026-10-19T12:18:24.585Z level=INFO run=e5762978 message="Sent HTTP response" http.span=83000 role=server http.method=GET http.url=/api/integration http.status=499

  3. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    Thanks, that helps a lot! The service is running and answering (/api/info responds, and CPU and memory use are normal). The useful part is your log line: GET /api/integration waited 83 seconds and then the client gave up (499). Before it lists integrations, the server waits for all plugins, including the built-in ones, to finish starting. Sending a prompt waits for the same thing. So if plugin startup never finishes, /connect stays empty and messages hang without an error. That matches what you're seeing. It also happens with --standalone and in every directory, so the cause is probably global: your global config, a saved credential, or a network request that never gets an answer.

    To find out which part gets stuck, could you share:

    1. How you connected Go: did you sign in to OpenCode Console, or paste a Go API key? At startup, a Console connection requests your Console config from opencode.ai. If that request never gets an answer, plugin startup can hang.
    2. Warnings and errors from the server log for one run. Start it with OPENCODE_LOG_LEVEL=DEBUG opencode --standalone, wait about 30 seconds, quit, then run:
      grep 'role=server' ~/.local/share/opencode/log/opencode.log | grep -Ei 'level=(WARN|ERROR)|plugin|activat|config' | tail -n 80
      Please remove any keys or tokens before posting.
    3. Whether this request returns or hangs, and how long it takes:
      time opencode api get /api/integration > /dev/null
    4. Whether these respond from your machine:
      curl -sS -m 20 -o /dev/null -w '%{http_code} %{time_total}s\n' https://opencode.ai
      curl -sS -m 20 -o /dev/null -w '%{http_code} %{time_total}s\n' https://models.dev/api.json
    5. Any plugins entries in ~/.config/opencode/opencode.json(c) and any files in ~/.config/opencode/plugins/, including leftovers from v1 (OpenCode 1.x). Two plugins with the same ID can make plugin startup hang forever (v2: duplicate plugin ID hangs the server — activation defect never opens readiness latch #44975).

    Related issues, ordered by likelihood:

  4. mcbalaam commented on Oct 20, 2026

    @mcbalaam
    Author

    @opencode-agent models.dev is available via direct pinging, but timeouts within OpenCode as per logs

  5. neriousy commented on Oct 21, 2026

    @neriousy
    Member

    Do you still have this problem?

    Try opencode service restart / share your logs

  6. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    Closing this for now because we haven't heard back. Thanks again for the details you shared! Your log line, where GET /api/integration waited 83 seconds and then failed with 499, suggests plugin startup never finishes, and prompts wait on the same step. We still need a bit more to find out which part gets stuck.

    If this still happens, please reply here with what I asked for above:

    • whether you connected Go by signing in to OpenCode Console or with an API key
    • the warnings and errors with role=server from one OPENCODE_LOG_LEVEL=DEBUG opencode --standalone run
    • how long opencode api get /api/integration takes, and whether it finishes
    • the two curl checks against opencode.ai and models.dev
    • any plugins entries in your config, or files in ~/.config/opencode/plugins/

    We can reopen the issue once we have them. #44975 and #53817 describe similar ways plugin startup can get stuck, if you'd like to follow them.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions