Opencode "unable to connect" #3983

Closed
opened 2026-02-16 17:42:10 -05:00 by yindo · 10 comments
Owner

Originally created by @shaftoe on GitHub (Dec 29, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Since last Homebrew upgrade it seems that opencode can't connect to the internet (workstation connectivity is definitely ok), seems related to bun not being able to install @opencode-ai/plugin, see logs below.

It might be related to my specific host but I'm signalling anyway because it seems that the error is not really surfacing to the user properly, the editor opens and accepts commands but just says it can't connect to some unspecified URL:

Image

OpenCode version

1.0.207

Steps to reproduce

$ opencode --print-logs --log-level DEBUG run "update AGENTS.md"

INFO  2025-12-30T00:13:27 +584ms service=default version=1.0.207 args=["--print-logs","--log-level","DEBUG","run","update AGENTS.md"] opencode
INFO  2025-12-30T00:13:27 +0ms service=default directory=/Users/alex/git/runvoy creating instance
INFO  2025-12-30T00:13:27 +0ms service=project directory=/Users/alex/git/runvoy fromDirectory
INFO  2025-12-30T00:13:27 +21ms service=default directory=/Users/alex/git/runvoy bootstrapping
INFO  2025-12-30T00:13:27 +2ms service=config path=/Users/alex/.config/opencode/config.json loading
INFO  2025-12-30T00:13:27 +1ms service=config path=/Users/alex/.config/opencode/opencode.json loading
INFO  2025-12-30T00:13:27 +0ms service=config path=/Users/alex/.config/opencode/opencode.jsonc loading
INFO  2025-12-30T00:13:27 +1ms service=bun cmd=["/opt/homebrew/Cellar/opencode/1.0.207/libexec/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode","add","@opencode-ai/plugin@1.0.207","--exact"] cwd=/Users/alex/.config/opencode running
INFO  2025-12-30T00:13:27 +117ms service=bun code=1 stdout=bun add v1.3.5 (1e86cebd)
 stderr=Resolving dependencies
Resolved, downloaded and extracted [6]
error: ConnectionRefused downloading package manifest @opencode-ai/plugin
 done
INFO  2025-12-30T00:13:27 +3ms service=plugin path=opencode-copilot-auth@0.0.9 loading plugin
INFO  2025-12-30T00:13:27 +1ms service=plugin path=opencode-anthropic-auth@0.0.5 loading plugin
INFO  2025-12-30T00:13:27 +16ms service=bus type=* subscribing
INFO  2025-12-30T00:13:27 +1ms service=bus type=session.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=message.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=message.part.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=session.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=message.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=message.part.updated subscribing
INFO  2025-12-30T00:13:27 +0ms service=bus type=session.diff subscribing
INFO  2025-12-30T00:13:27 +0ms service=format init
INFO  2025-12-30T00:13:27 +0ms service=bus type=file.edited subscribing
INFO  2025-12-30T00:13:27 +0ms service=lsp serverIds=deno, typescript, vue, eslint, oxlint, biome, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, fsharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, yaml-ls, lua-ls, php intelephense, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers
INFO  2025-12-30T00:13:27 +0ms service=file.watcher init
INFO  2025-12-30T00:13:27 +1ms service=bus type=command.executed subscribing
INFO  2025-12-30T00:13:27 +1ms service=file.watcher platform=darwin backend=fs-events watcher backend
INFO  2025-12-30T00:13:27 +31ms service=vcs branch=main initialized
INFO  2025-12-30T00:13:27 +0ms service=bus type=file.watcher.updated subscribing
INFO  2025-12-30T00:13:27 +10ms service=server method=POST path=/session request
INFO  2025-12-30T00:13:27 +1ms service=server status=started method=POST path=/session request
INFO  2025-12-30T00:13:27 +1ms service=session id=ses_49365bcebffegE2LCYQtUJAMuy version=1.0.207 projectID=a2cbc165ceb4e14fb2dc53d66972b1d1f04ac6e6 directory=/Users/alex/git/runvoy title=New session - 2025-12-30T00:13:27.700Z time={"created":1767053607700,"updated":1767053607700} created
INFO  2025-12-30T00:13:27 +0ms service=bus type=session.created publishing
INFO  2025-12-30T00:13:27 +0ms service=bus type=session.updated publishing
INFO  2025-12-30T00:13:27 +1ms service=server status=completed duration=2 method=POST path=/session request
INFO  2025-12-30T00:13:27 +201ms service=server method=GET path=/config request
INFO  2025-12-30T00:13:27 +0ms service=server status=started method=GET path=/config request
INFO  2025-12-30T00:13:27 +0ms service=server status=completed duration=0 method=GET path=/config request
INFO  2025-12-30T00:13:27 +7ms service=server method=GET path=/event request
INFO  2025-12-30T00:13:27 +0ms service=server status=started method=GET path=/event request
INFO  2025-12-30T00:13:27 +1ms service=server event connected
INFO  2025-12-30T00:13:27 +2ms service=bus type=* subscribing
INFO  2025-12-30T00:13:27 +1ms service=server status=completed duration=4 method=GET path=/event request
INFO  2025-12-30T00:13:27 +1ms service=server method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request
INFO  2025-12-30T00:13:27 +0ms service=server status=started method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request
INFO  2025-12-30T00:13:27 +4ms service=server status=completed duration=4 method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request
INFO  2025-12-30T00:13:27 +7ms service=provider status=started state
INFO  2025-12-30T00:13:27 +4ms service=models.dev file={} refreshing
INFO  2025-12-30T00:13:27 +10ms service=provider init
INFO  2025-12-30T00:13:27 +2ms service=provider providerID=opencode found
INFO  2025-12-30T00:13:27 +0ms service=provider status=completed duration=16 state
INFO  2025-12-30T00:13:27 +3ms service=bus type=message.updated publishing
INFO  2025-12-30T00:13:27 +1ms service=bus type=message.part.updated publishing
INFO  2025-12-30T00:13:27 +1ms service=bus type=session.updated publishing
INFO  2025-12-30T00:13:27 +2ms service=bus type=session.status publishing
INFO  2025-12-30T00:13:27 +0ms service=session.prompt step=0 sessionID=ses_49365bcebffegE2LCYQtUJAMuy loop
INFO  2025-12-30T00:13:27 +6ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title stream
INFO  2025-12-30T00:13:27 +1ms service=provider status=started providerID=opencode getSDK
INFO  2025-12-30T00:13:27 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai using bundled provider
INFO  2025-12-30T00:13:27 +0ms service=provider status=completed duration=0 providerID=opencode getSDK
INFO  2025-12-30T00:13:27 +0ms service=bus type=message.updated publishing
INFO  2025-12-30T00:13:27 +0ms service=session.prompt status=started resolveTools
INFO  2025-12-30T00:13:27 +1ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title params={"options":{"reasoningEffort":"minimal","promptCacheKey":"ses_49365bcebffegE2LCYQtUJAMuy","include":["reasoning.encrypted_content"],"reasoningSummary":"auto"}} params
INFO  2025-12-30T00:13:27 +9ms service=tool.registry status=started invalid
INFO  2025-12-30T00:13:27 +1ms service=tool.registry status=started bash
INFO  2025-12-30T00:13:27 +0ms service=bash-tool shell=/bin/zsh bash tool using shell
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started read
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started glob
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started grep
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started edit
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started write
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started task
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started webfetch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started todowrite
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started todoread
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started websearch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started codesearch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=started skill
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 invalid
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 read
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 glob
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 grep
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 edit
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 write
INFO  2025-12-30T00:13:27 +1ms service=tool.registry status=completed duration=1 webfetch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 todowrite
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 todoread
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 websearch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 codesearch
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 bash
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 task
INFO  2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 skill
INFO  2025-12-30T00:13:27 +3ms service=session.prompt status=completed duration=15 resolveTools
INFO  2025-12-30T00:13:27 +0ms service=ripgrep cwd=/Users/alex/git/runvoy limit=200 tree
INFO  2025-12-30T00:13:27 +5ms service=bus type=message.updated publishing
INFO  2025-12-30T00:13:27 +1ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title stream
INFO  2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title params={"options":{"reasoningEffort":"minimal","promptCacheKey":"ses_49365bcebffegE2LCYQtUJAMuy","include":["reasoning.encrypted_content"],"reasoningSummary":"auto"}} params
INFO  2025-12-30T00:13:27 +2ms service=bus type=session.updated publishing
INFO  2025-12-30T00:13:27 +1ms service=bus type=session.diff publishing
INFO  2025-12-30T00:13:27 +5ms service=session.processor process
INFO  2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build stream
INFO  2025-12-30T00:13:27 +0ms service=provider status=started providerID=opencode getSDK
INFO  2025-12-30T00:13:27 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai-compatible using bundled provider
INFO  2025-12-30T00:13:27 +0ms service=provider status=completed duration=0 providerID=opencode getSDK
INFO  2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build params={"options":{}} params
INFO  2025-12-30T00:13:27 +1ms service=bus type=session.status publishing
ERROR 2025-12-30T00:13:28 +29ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev
ERROR 2025-12-30T00:13:28 +1ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/responses","errno":0}} stream error
ERROR 2025-12-30T00:13:28 +1ms service=session.prompt error=No output generated. Check the stream for errors. failed to generate title
ERROR 2025-12-30T00:13:28 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/responses","errno":0}} stream error
ERROR 2025-12-30T00:13:28 +1ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/chat/completions","errno":0}} stream error
ERROR 2025-12-30T00:13:28 +1ms service=session.processor error=Unable to connect. Is the computer able to access the url? process
INFO  2025-12-30T00:13:28 +0ms service=bus type=session.error publishing
ERROR 2025-12-30T00:13:28 +0ms service=acp-command promise={} reason=No output generated. Check the stream for errors. Unhandled rejection
ERROR 2025-12-30T00:13:28 +0ms service=default e=No output generated. Check the stream for errors. rejection
INFO  2025-12-30T00:13:28 +1ms service=bus type=message.updated publishing
INFO  2025-12-30T00:13:28 +0ms service=session.compaction pruning
Error: Error: Unable to connect. Is the computer able to access the url?
INFO  2025-12-30T00:13:28 +1ms service=session.prompt sessionID=ses_49365bcebffegE2LCYQtUJAMuy cancel
INFO  2025-12-30T00:13:28 +0ms service=bus type=session.status publishing
INFO  2025-12-30T00:13:28 +0ms service=bus type=session.idle publishing

Config dump:

{
  "agent": {},
  "mode": {},
  "plugin": [],
  "command": {},
  "username": "alex",
  "keybinds": {
    "leader": "ctrl+x",
    "app_exit": "ctrl+c,ctrl+d,<leader>q",
    "editor_open": "<leader>e",
    "theme_list": "<leader>t",
    "sidebar_toggle": "<leader>b",
    "scrollbar_toggle": "none",
    "username_toggle": "none",
    "status_view": "<leader>s",
    "session_export": "<leader>x",
    "session_new": "<leader>n",
    "session_list": "<leader>l",
    "session_timeline": "<leader>g",
    "session_fork": "none",
    "session_rename": "none",
    "session_share": "none",
    "session_unshare": "none",
    "session_interrupt": "escape",
    "session_compact": "<leader>c",
    "messages_page_up": "pageup",
    "messages_page_down": "pagedown",
    "messages_half_page_up": "ctrl+alt+u",
    "messages_half_page_down": "ctrl+alt+d",
    "messages_first": "ctrl+g,home",
    "messages_last": "ctrl+alt+g,end",
    "messages_next": "none",
    "messages_previous": "none",
    "messages_last_user": "none",
    "messages_copy": "<leader>y",
    "messages_undo": "<leader>u",
    "messages_redo": "<leader>r",
    "messages_toggle_conceal": "<leader>h",
    "tool_details": "none",
    "model_list": "<leader>m",
    "model_cycle_recent": "f2",
    "model_cycle_recent_reverse": "shift+f2",
    "model_cycle_favorite": "none",
    "model_cycle_favorite_reverse": "none",
    "command_list": "ctrl+p",
    "agent_list": "<leader>a",
    "agent_cycle": "tab",
    "agent_cycle_reverse": "shift+tab",
    "input_clear": "ctrl+c",
    "input_paste": "ctrl+v",
    "input_submit": "return",
    "input_newline": "shift+return,ctrl+return,alt+return,ctrl+j",
    "input_move_left": "left,ctrl+b",
    "input_move_right": "right,ctrl+f",
    "input_move_up": "up",
    "input_move_down": "down",
    "input_select_left": "shift+left",
    "input_select_right": "shift+right",
    "input_select_up": "shift+up",
    "input_select_down": "shift+down",
    "input_line_home": "ctrl+a",
    "input_line_end": "ctrl+e",
    "input_select_line_home": "ctrl+shift+a",
    "input_select_line_end": "ctrl+shift+e",
    "input_visual_line_home": "alt+a",
    "input_visual_line_end": "alt+e",
    "input_select_visual_line_home": "alt+shift+a",
    "input_select_visual_line_end": "alt+shift+e",
    "input_buffer_home": "home",
    "input_buffer_end": "end",
    "input_select_buffer_home": "shift+home",
    "input_select_buffer_end": "shift+end",
    "input_delete_line": "ctrl+shift+d",
    "input_delete_to_line_end": "ctrl+k",
    "input_delete_to_line_start": "ctrl+u",
    "input_backspace": "backspace,shift+backspace",
    "input_delete": "ctrl+d,delete,shift+delete",
    "input_undo": "ctrl+-,super+z",
    "input_redo": "ctrl+.,super+shift+z",
    "input_word_forward": "alt+f,alt+right,ctrl+right",
    "input_word_backward": "alt+b,alt+left,ctrl+left",
    "input_select_word_forward": "alt+shift+f,alt+shift+right",
    "input_select_word_backward": "alt+shift+b,alt+shift+left",
    "input_delete_word_forward": "alt+d,alt+delete,ctrl+delete",
    "input_delete_word_backward": "ctrl+w,ctrl+backspace,alt+backspace",
    "history_previous": "up",
    "history_next": "down",
    "session_child_cycle": "<leader>right",
    "session_child_cycle_reverse": "<leader>left",
    "session_parent": "<leader>up",
    "terminal_suspend": "ctrl+z",
    "terminal_title_toggle": "none",
    "tips_toggle": "<leader>h"
  }
}

Screenshot and/or share link

Also /session is affected by the same problem so won't work.

Operating System

macOS 26.1

Terminal

ghostty

Originally created by @shaftoe on GitHub (Dec 29, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Since last Homebrew upgrade it seems that opencode can't connect to the internet (workstation connectivity is definitely ok), seems related to bun not being able to install `@opencode-ai/plugin`, see logs below. It might be related to my specific host but I'm signalling anyway because it seems that the error is not really surfacing to the user properly, the editor opens and accepts commands but just says it can't connect to some unspecified URL: <img width="587" height="259" alt="Image" src="https://github.com/user-attachments/assets/0b0e22c2-4414-41ec-9306-82973baf18c9" /> ### OpenCode version 1.0.207 ### Steps to reproduce ```shell $ opencode --print-logs --log-level DEBUG run "update AGENTS.md" INFO 2025-12-30T00:13:27 +584ms service=default version=1.0.207 args=["--print-logs","--log-level","DEBUG","run","update AGENTS.md"] opencode INFO 2025-12-30T00:13:27 +0ms service=default directory=/Users/alex/git/runvoy creating instance INFO 2025-12-30T00:13:27 +0ms service=project directory=/Users/alex/git/runvoy fromDirectory INFO 2025-12-30T00:13:27 +21ms service=default directory=/Users/alex/git/runvoy bootstrapping INFO 2025-12-30T00:13:27 +2ms service=config path=/Users/alex/.config/opencode/config.json loading INFO 2025-12-30T00:13:27 +1ms service=config path=/Users/alex/.config/opencode/opencode.json loading INFO 2025-12-30T00:13:27 +0ms service=config path=/Users/alex/.config/opencode/opencode.jsonc loading INFO 2025-12-30T00:13:27 +1ms service=bun cmd=["/opt/homebrew/Cellar/opencode/1.0.207/libexec/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode","add","@opencode-ai/plugin@1.0.207","--exact"] cwd=/Users/alex/.config/opencode running INFO 2025-12-30T00:13:27 +117ms service=bun code=1 stdout=bun add v1.3.5 (1e86cebd) stderr=Resolving dependencies Resolved, downloaded and extracted [6] error: ConnectionRefused downloading package manifest @opencode-ai/plugin done INFO 2025-12-30T00:13:27 +3ms service=plugin path=opencode-copilot-auth@0.0.9 loading plugin INFO 2025-12-30T00:13:27 +1ms service=plugin path=opencode-anthropic-auth@0.0.5 loading plugin INFO 2025-12-30T00:13:27 +16ms service=bus type=* subscribing INFO 2025-12-30T00:13:27 +1ms service=bus type=session.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=message.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=message.part.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=session.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=message.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=message.part.updated subscribing INFO 2025-12-30T00:13:27 +0ms service=bus type=session.diff subscribing INFO 2025-12-30T00:13:27 +0ms service=format init INFO 2025-12-30T00:13:27 +0ms service=bus type=file.edited subscribing INFO 2025-12-30T00:13:27 +0ms service=lsp serverIds=deno, typescript, vue, eslint, oxlint, biome, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, fsharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, yaml-ls, lua-ls, php intelephense, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers INFO 2025-12-30T00:13:27 +0ms service=file.watcher init INFO 2025-12-30T00:13:27 +1ms service=bus type=command.executed subscribing INFO 2025-12-30T00:13:27 +1ms service=file.watcher platform=darwin backend=fs-events watcher backend INFO 2025-12-30T00:13:27 +31ms service=vcs branch=main initialized INFO 2025-12-30T00:13:27 +0ms service=bus type=file.watcher.updated subscribing INFO 2025-12-30T00:13:27 +10ms service=server method=POST path=/session request INFO 2025-12-30T00:13:27 +1ms service=server status=started method=POST path=/session request INFO 2025-12-30T00:13:27 +1ms service=session id=ses_49365bcebffegE2LCYQtUJAMuy version=1.0.207 projectID=a2cbc165ceb4e14fb2dc53d66972b1d1f04ac6e6 directory=/Users/alex/git/runvoy title=New session - 2025-12-30T00:13:27.700Z time={"created":1767053607700,"updated":1767053607700} created INFO 2025-12-30T00:13:27 +0ms service=bus type=session.created publishing INFO 2025-12-30T00:13:27 +0ms service=bus type=session.updated publishing INFO 2025-12-30T00:13:27 +1ms service=server status=completed duration=2 method=POST path=/session request INFO 2025-12-30T00:13:27 +201ms service=server method=GET path=/config request INFO 2025-12-30T00:13:27 +0ms service=server status=started method=GET path=/config request INFO 2025-12-30T00:13:27 +0ms service=server status=completed duration=0 method=GET path=/config request INFO 2025-12-30T00:13:27 +7ms service=server method=GET path=/event request INFO 2025-12-30T00:13:27 +0ms service=server status=started method=GET path=/event request INFO 2025-12-30T00:13:27 +1ms service=server event connected INFO 2025-12-30T00:13:27 +2ms service=bus type=* subscribing INFO 2025-12-30T00:13:27 +1ms service=server status=completed duration=4 method=GET path=/event request INFO 2025-12-30T00:13:27 +1ms service=server method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request INFO 2025-12-30T00:13:27 +0ms service=server status=started method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request INFO 2025-12-30T00:13:27 +4ms service=server status=completed duration=4 method=POST path=/session/ses_49365bcebffegE2LCYQtUJAMuy/message request INFO 2025-12-30T00:13:27 +7ms service=provider status=started state INFO 2025-12-30T00:13:27 +4ms service=models.dev file={} refreshing INFO 2025-12-30T00:13:27 +10ms service=provider init INFO 2025-12-30T00:13:27 +2ms service=provider providerID=opencode found INFO 2025-12-30T00:13:27 +0ms service=provider status=completed duration=16 state INFO 2025-12-30T00:13:27 +3ms service=bus type=message.updated publishing INFO 2025-12-30T00:13:27 +1ms service=bus type=message.part.updated publishing INFO 2025-12-30T00:13:27 +1ms service=bus type=session.updated publishing INFO 2025-12-30T00:13:27 +2ms service=bus type=session.status publishing INFO 2025-12-30T00:13:27 +0ms service=session.prompt step=0 sessionID=ses_49365bcebffegE2LCYQtUJAMuy loop INFO 2025-12-30T00:13:27 +6ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title stream INFO 2025-12-30T00:13:27 +1ms service=provider status=started providerID=opencode getSDK INFO 2025-12-30T00:13:27 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai using bundled provider INFO 2025-12-30T00:13:27 +0ms service=provider status=completed duration=0 providerID=opencode getSDK INFO 2025-12-30T00:13:27 +0ms service=bus type=message.updated publishing INFO 2025-12-30T00:13:27 +0ms service=session.prompt status=started resolveTools INFO 2025-12-30T00:13:27 +1ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title params={"options":{"reasoningEffort":"minimal","promptCacheKey":"ses_49365bcebffegE2LCYQtUJAMuy","include":["reasoning.encrypted_content"],"reasoningSummary":"auto"}} params INFO 2025-12-30T00:13:27 +9ms service=tool.registry status=started invalid INFO 2025-12-30T00:13:27 +1ms service=tool.registry status=started bash INFO 2025-12-30T00:13:27 +0ms service=bash-tool shell=/bin/zsh bash tool using shell INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started read INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started glob INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started grep INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started edit INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started write INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started task INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started webfetch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started todowrite INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started todoread INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started websearch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started codesearch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=started skill INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 invalid INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 read INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 glob INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 grep INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 edit INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=0 write INFO 2025-12-30T00:13:27 +1ms service=tool.registry status=completed duration=1 webfetch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 todowrite INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 todoread INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 websearch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 codesearch INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 bash INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 task INFO 2025-12-30T00:13:27 +0ms service=tool.registry status=completed duration=1 skill INFO 2025-12-30T00:13:27 +3ms service=session.prompt status=completed duration=15 resolveTools INFO 2025-12-30T00:13:27 +0ms service=ripgrep cwd=/Users/alex/git/runvoy limit=200 tree INFO 2025-12-30T00:13:27 +5ms service=bus type=message.updated publishing INFO 2025-12-30T00:13:27 +1ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title stream INFO 2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=true agent=title params={"options":{"reasoningEffort":"minimal","promptCacheKey":"ses_49365bcebffegE2LCYQtUJAMuy","include":["reasoning.encrypted_content"],"reasoningSummary":"auto"}} params INFO 2025-12-30T00:13:27 +2ms service=bus type=session.updated publishing INFO 2025-12-30T00:13:27 +1ms service=bus type=session.diff publishing INFO 2025-12-30T00:13:27 +5ms service=session.processor process INFO 2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build stream INFO 2025-12-30T00:13:27 +0ms service=provider status=started providerID=opencode getSDK INFO 2025-12-30T00:13:27 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai-compatible using bundled provider INFO 2025-12-30T00:13:27 +0ms service=provider status=completed duration=0 providerID=opencode getSDK INFO 2025-12-30T00:13:27 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build params={"options":{}} params INFO 2025-12-30T00:13:27 +1ms service=bus type=session.status publishing ERROR 2025-12-30T00:13:28 +29ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev ERROR 2025-12-30T00:13:28 +1ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/responses","errno":0}} stream error ERROR 2025-12-30T00:13:28 +1ms service=session.prompt error=No output generated. Check the stream for errors. failed to generate title ERROR 2025-12-30T00:13:28 +0ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/responses","errno":0}} stream error ERROR 2025-12-30T00:13:28 +1ms service=llm providerID=opencode modelID=big-pickle sessionID=ses_49365bcebffegE2LCYQtUJAMuy small=false agent=build error={"error":{"code":"ConnectionRefused","path":"https://opencode.ai/zen/v1/chat/completions","errno":0}} stream error ERROR 2025-12-30T00:13:28 +1ms service=session.processor error=Unable to connect. Is the computer able to access the url? process INFO 2025-12-30T00:13:28 +0ms service=bus type=session.error publishing ERROR 2025-12-30T00:13:28 +0ms service=acp-command promise={} reason=No output generated. Check the stream for errors. Unhandled rejection ERROR 2025-12-30T00:13:28 +0ms service=default e=No output generated. Check the stream for errors. rejection INFO 2025-12-30T00:13:28 +1ms service=bus type=message.updated publishing INFO 2025-12-30T00:13:28 +0ms service=session.compaction pruning Error: Error: Unable to connect. Is the computer able to access the url? INFO 2025-12-30T00:13:28 +1ms service=session.prompt sessionID=ses_49365bcebffegE2LCYQtUJAMuy cancel INFO 2025-12-30T00:13:28 +0ms service=bus type=session.status publishing INFO 2025-12-30T00:13:28 +0ms service=bus type=session.idle publishing ``` Config dump: ```json { "agent": {}, "mode": {}, "plugin": [], "command": {}, "username": "alex", "keybinds": { "leader": "ctrl+x", "app_exit": "ctrl+c,ctrl+d,<leader>q", "editor_open": "<leader>e", "theme_list": "<leader>t", "sidebar_toggle": "<leader>b", "scrollbar_toggle": "none", "username_toggle": "none", "status_view": "<leader>s", "session_export": "<leader>x", "session_new": "<leader>n", "session_list": "<leader>l", "session_timeline": "<leader>g", "session_fork": "none", "session_rename": "none", "session_share": "none", "session_unshare": "none", "session_interrupt": "escape", "session_compact": "<leader>c", "messages_page_up": "pageup", "messages_page_down": "pagedown", "messages_half_page_up": "ctrl+alt+u", "messages_half_page_down": "ctrl+alt+d", "messages_first": "ctrl+g,home", "messages_last": "ctrl+alt+g,end", "messages_next": "none", "messages_previous": "none", "messages_last_user": "none", "messages_copy": "<leader>y", "messages_undo": "<leader>u", "messages_redo": "<leader>r", "messages_toggle_conceal": "<leader>h", "tool_details": "none", "model_list": "<leader>m", "model_cycle_recent": "f2", "model_cycle_recent_reverse": "shift+f2", "model_cycle_favorite": "none", "model_cycle_favorite_reverse": "none", "command_list": "ctrl+p", "agent_list": "<leader>a", "agent_cycle": "tab", "agent_cycle_reverse": "shift+tab", "input_clear": "ctrl+c", "input_paste": "ctrl+v", "input_submit": "return", "input_newline": "shift+return,ctrl+return,alt+return,ctrl+j", "input_move_left": "left,ctrl+b", "input_move_right": "right,ctrl+f", "input_move_up": "up", "input_move_down": "down", "input_select_left": "shift+left", "input_select_right": "shift+right", "input_select_up": "shift+up", "input_select_down": "shift+down", "input_line_home": "ctrl+a", "input_line_end": "ctrl+e", "input_select_line_home": "ctrl+shift+a", "input_select_line_end": "ctrl+shift+e", "input_visual_line_home": "alt+a", "input_visual_line_end": "alt+e", "input_select_visual_line_home": "alt+shift+a", "input_select_visual_line_end": "alt+shift+e", "input_buffer_home": "home", "input_buffer_end": "end", "input_select_buffer_home": "shift+home", "input_select_buffer_end": "shift+end", "input_delete_line": "ctrl+shift+d", "input_delete_to_line_end": "ctrl+k", "input_delete_to_line_start": "ctrl+u", "input_backspace": "backspace,shift+backspace", "input_delete": "ctrl+d,delete,shift+delete", "input_undo": "ctrl+-,super+z", "input_redo": "ctrl+.,super+shift+z", "input_word_forward": "alt+f,alt+right,ctrl+right", "input_word_backward": "alt+b,alt+left,ctrl+left", "input_select_word_forward": "alt+shift+f,alt+shift+right", "input_select_word_backward": "alt+shift+b,alt+shift+left", "input_delete_word_forward": "alt+d,alt+delete,ctrl+delete", "input_delete_word_backward": "ctrl+w,ctrl+backspace,alt+backspace", "history_previous": "up", "history_next": "down", "session_child_cycle": "<leader>right", "session_child_cycle_reverse": "<leader>left", "session_parent": "<leader>up", "terminal_suspend": "ctrl+z", "terminal_title_toggle": "none", "tips_toggle": "<leader>h" } } ``` ### Screenshot and/or share link Also `/session` is affected by the same problem so won't work. ### Operating System macOS 26.1 ### Terminal ghostty
yindo added the bug label 2026-02-16 17:42:10 -05:00
yindo closed this issue 2026-02-16 17:42:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 29, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #6150: Unable to connect. Is the computer able to access while using List tool
  • #5945: [FEATURE]: Display the exact url opencode is failing to connect to
  • #3989: acp-command unhandled rejection
  • #2224: Support for airgapped installation
  • #531: Support HTTP_PROXY & HTTPS_PROXY for millions of users who are behind firewalls in some regions and some organizations.

The core issue appears to be network connectivity/connection refused errors, which is addressed or being tracked in these related issues. Feel free to ignore if your case has specific differences.

@github-actions[bot] commented on GitHub (Dec 29, 2025): This issue might be a duplicate of existing issues. Please check: - #6150: Unable to connect. Is the computer able to access while using List tool - #5945: [FEATURE]: Display the exact url opencode is failing to connect to - #3989: acp-command unhandled rejection - #2224: Support for airgapped installation - #531: Support HTTP_PROXY & HTTPS_PROXY for millions of users who are behind firewalls in some regions and some organizations. The core issue appears to be network connectivity/connection refused errors, which is addressed or being tracked in these related issues. Feel free to ignore if your case has specific differences.
Author
Owner

@shaftoe commented on GitHub (Dec 29, 2025):

Meanwhile I've found the issue, sorry for the fuss

@shaftoe commented on GitHub (Dec 29, 2025): Meanwhile I've found the issue, sorry for the fuss
Author
Owner

@ChenKun1997 commented on GitHub (Jan 6, 2026):

Meanwhile I've found the issue, sorry for the fuss

How did you solve it? I've encountered the same problem.

@ChenKun1997 commented on GitHub (Jan 6, 2026): > Meanwhile I've found the issue, sorry for the fuss How did you solve it? I've encountered the same problem.
Author
Owner

@rekram1-node commented on GitHub (Jan 6, 2026):

@ChenKun1997 what version r u on?

@rekram1-node commented on GitHub (Jan 6, 2026): @ChenKun1997 what version r u on?
Author
Owner

@ChenKun1997 commented on GitHub (Jan 6, 2026):

@ChenKun1997 what version r u on?

1.0.152

@ChenKun1997 commented on GitHub (Jan 6, 2026): > [@ChenKun1997](https://github.com/ChenKun1997) what version r u on? 1.0.152
Author
Owner

@rekram1-node commented on GitHub (Jan 6, 2026):

@ChenKun1997 upgrade to latest think this was fixed awhile ago

@rekram1-node commented on GitHub (Jan 6, 2026): @ChenKun1997 upgrade to latest think this was fixed awhile ago
Author
Owner

@ChenKun1997 commented on GitHub (Jan 7, 2026):

@rekram1-node I have updated to the latest version 1.1.4, but the problem still exists.

@ChenKun1997 commented on GitHub (Jan 7, 2026): @rekram1-node I have updated to the latest version 1.1.4, but the problem still exists.
Author
Owner

@rekram1-node commented on GitHub (Jan 7, 2026):

@ChenKun1997 is it retrying? If u see it stuck retrying u have some type of network or proxy that is blocking the request and thats an issue on ur end

@rekram1-node commented on GitHub (Jan 7, 2026): @ChenKun1997 is it retrying? If u see it stuck retrying u have some type of network or proxy that is blocking the request and thats an issue on ur end
Author
Owner

@shaftoe commented on GitHub (Jan 7, 2026):

Meanwhile I've found the issue, sorry for the fuss

How did you solve it? I've encountered the same problem.

@ChenKun1997 I'm using Little Snitch (firewall) and it somehow decided to block networking for the newly installed opencode version, I removed the offending blocking rule and it did the trick.

@shaftoe commented on GitHub (Jan 7, 2026): > > Meanwhile I've found the issue, sorry for the fuss > > How did you solve it? I've encountered the same problem. @ChenKun1997 I'm using Little Snitch (firewall) and it somehow decided to block networking for the newly installed opencode version, I removed the offending blocking rule and it did the trick.
Author
Owner

@AnemoneIndicum commented on GitHub (Jan 7, 2026):

Image I am unable to launch OpenCodec on Windows 11, version 1.1.6.
@AnemoneIndicum commented on GitHub (Jan 7, 2026): <img width="765" height="256" alt="Image" src="https://github.com/user-attachments/assets/c972e698-1034-4de4-ad94-40ede81912cc" /> I am unable to launch OpenCodec on Windows 11, version 1.1.6.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3983