Opencode doesn't run in the terminal and gives an error. #6611

Closed
opened 2026-02-16 18:04:44 -05:00 by yindo · 3 comments
Owner

Originally created by @babushkinaa on GitHub (Jan 17, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The agent was running and then froze. I had to restart the computer. Afterward, when I launch the application, I get this error in the terminal:

lel@Lelworker:~$ opencode
{
  "name": "UnknownError",
  "data": {
    "message": "TimeoutError: The operation timed out."
  }
}

I tried reinstalling the application, but the error persists.

Plugins

No response

OpenCode version

1.1.25

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

ubuntu 20.04

Terminal

{
"name": "UnknownError",
"data": {
"message": "TimeoutError: The operation timed out."
}
}

Originally created by @babushkinaa on GitHub (Jan 17, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The agent was running and then froze. I had to restart the computer. Afterward, when I launch the application, I get this error in the terminal: ``` lel@Lelworker:~$ opencode { "name": "UnknownError", "data": { "message": "TimeoutError: The operation timed out." } } ``` I tried reinstalling the application, but the error persists. ### Plugins _No response_ ### OpenCode version 1.1.25 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System ubuntu 20.04 ### Terminal { "name": "UnknownError", "data": { "message": "TimeoutError: The operation timed out." } }
yindo added the bug label 2026-02-16 18:04:44 -05:00
yindo closed this issue 2026-02-16 18:04:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 17, 2026):

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

  • #9090: GUI initialization error - Same TimeoutError: The operation timed out message
  • #4022: Unexpected Errors v1.0.39 - TimeoutError with similar context
  • #4500: problem with crashing session - TimeoutError when disposing instance
  • #4349: Z.ai coding model connection issue - TimeoutError after 4+ minute wait

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 17, 2026): This issue might be a duplicate of existing issues. Please check: - #9090: GUI initialization error - Same TimeoutError: The operation timed out message - #4022: Unexpected Errors v1.0.39 - TimeoutError with similar context - #4500: problem with crashing session - TimeoutError when disposing instance - #4349: Z.ai coding model connection issue - TimeoutError after 4+ minute wait Feel free to ignore if none of these address your specific case.
Author
Owner

@babushkinaa commented on GitHub (Jan 17, 2026):

None of the topics cover my situation.

@babushkinaa commented on GitHub (Jan 17, 2026): None of the topics cover my situation.
Author
Owner

@babushkinaa commented on GitHub (Jan 17, 2026):

opencode run hello --print-logs
INFO 2026-01-17T16:53:28 +515ms service=default version=1.1.25 args=["run","hello","--print-logs"] opencode
INFO 2026-01-17T16:53:28 +2ms service=default directory=/home/lel creating instance
INFO 2026-01-17T16:53:28 +1ms service=project directory=/home/lel fromDirectory
INFO 2026-01-17T16:53:28 +7ms service=default directory=/home/lel bootstrapping
INFO 2026-01-17T16:53:28 +7ms service=config path=/home/lel/.config/opencode/config.json loading
INFO 2026-01-17T16:53:28 +1ms service=config path=/home/lel/.config/opencode/opencode.json loading
INFO 2026-01-17T16:53:28 +2ms service=config path=/home/lel/.config/opencode/opencode.jsonc loading
INFO 2026-01-17T16:53:28 +5ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","add","@opencode-ai/plugin@1.1.25","--exact"] cwd=/home/lel/.config/opencode running
INFO 2026-01-17T16:53:28 +22ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)

installed @opencode-ai/plugin@1.1.25

[5.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-17T16:53:28 +0ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","install"] cwd=/home/lel/.config/opencode running
INFO 2026-01-17T16:53:28 +4ms service=config path=/home/lel/.opencode/opencode.jsonc loading
INFO 2026-01-17T16:53:28 +0ms service=config path=/home/lel/.opencode/opencode.json loading
INFO 2026-01-17T16:53:28 +0ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","add","@opencode-ai/plugin@1.1.25","--exact"] cwd=/home/lel/.opencode running
INFO 2026-01-17T16:53:28 +13ms service=plugin name=CodexAuthPlugin loading internal plugin
INFO 2026-01-17T16:53:28 +1ms service=plugin name=CopilotAuthPlugin loading internal plugin
INFO 2026-01-17T16:53:28 +1ms service=plugin path=opencode-anthropic-auth@0.0.9 loading plugin
INFO 2026-01-17T16:53:28 +4ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 79 installs across 80 packages (no changes) [4.00ms]
stderr= done
INFO 2026-01-17T16:53:28 +0ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)

installed @opencode-ai/plugin@1.1.24

[3.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-17T16:53:28 +1ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","install"] cwd=/home/lel/.opencode running
INFO 2026-01-17T16:53:28 +34ms service=plugin path=@gitlab/opencode-gitlab-auth@1.3.0 loading plugin
INFO 2026-01-17T16:53:28 +1ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 3 installs across 4 packages (no changes) [2.00ms]
stderr= done
INFO 2026-01-17T16:53:28 +95ms service=bus type=* subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=session.updated subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=message.updated subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=message.part.updated subscribing
INFO 2026-01-17T16:53:28 +1ms service=bus type=session.updated subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=message.updated subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=message.part.updated subscribing
INFO 2026-01-17T16:53:28 +0ms service=bus type=session.diff subscribing
INFO 2026-01-17T16:53:28 +0ms service=format init
INFO 2026-01-17T16:53:28 +0ms service=bus type=file.edited subscribing
INFO 2026-01-17T16:53:28 +1ms 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, kotlin-ls, yaml-ls, lua-ls, php intelephense, prisma, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers
INFO 2026-01-17T16:53:28 +1ms service=bus type=command.executed subscribing
INFO 2026-01-17T16:53:28 +42ms service=server method=POST path=/session request
INFO 2026-01-17T16:53:28 +1ms service=server status=started method=POST path=/session request
INFO 2026-01-17T16:53:28 +3ms service=session id=ses_4331fb8e6ffexqin3hrM4iK6hm slug=tidy-harbor version=1.1.25 projectID=global directory=/home/lel title=New session - 2026-01-17T16:53:28.985Z time={"created":1768668808985,"updated":1768668808985} created
INFO 2026-01-17T16:53:28 +3ms service=bus type=session.created publishing
INFO 2026-01-17T16:53:28 +0ms service=bus type=session.updated publishing
INFO 2026-01-17T16:53:28 +3ms service=server status=completed duration=9 method=POST path=/session request
INFO 2026-01-17T16:53:28 +0ms service=server method=GET path=/config request
INFO 2026-01-17T16:53:28 +0ms service=server status=started method=GET path=/config request
INFO 2026-01-17T16:53:28 +1ms service=server status=completed duration=1 method=GET path=/config request
INFO 2026-01-17T16:53:28 +4ms service=server method=GET path=/event request
INFO 2026-01-17T16:53:28 +0ms service=server status=started method=GET path=/event request
INFO 2026-01-17T16:53:28 +1ms service=server method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request
INFO 2026-01-17T16:53:28 +0ms service=server status=started method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request
INFO 2026-01-17T16:53:28 +1ms service=server event connected
INFO 2026-01-17T16:53:29 +3ms service=bus type=* subscribing
INFO 2026-01-17T16:53:29 +8ms service=server status=completed duration=13 method=GET path=/event request
INFO 2026-01-17T16:53:29 +2ms service=server status=completed duration=14 method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request
INFO 2026-01-17T16:53:29 +8ms service=provider status=started state
INFO 2026-01-17T16:53:29 +6ms service=models.dev file={} refreshing
ERROR 2026-01-17T16:53:39 +10007ms service=default e=The operation timed out. rejection
INFO 2026-01-17T16:58:29 +290014ms service=provider status=completed duration=300027 state
DOMException {
stack: "",
code: 23,
name: "TimeoutError",
message: "The operation timed out.",
INDEX_SIZE_ERR: 1,
DOMSTRING_SIZE_ERR: 2,
HIERARCHY_REQUEST_ERR: 3,
WRONG_DOCUMENT_ERR: 4,
INVALID_CHARACTER_ERR: 5,
NO_DATA_ALLOWED_ERR: 6,
NO_MODIFICATION_ALLOWED_ERR: 7,
NOT_FOUND_ERR: 8,
NOT_SUPPORTED_ERR: 9,
INUSE_ATTRIBUTE_ERR: 10,
INVALID_STATE_ERR: 11,
SYNTAX_ERR: 12,
INVALID_MODIFICATION_ERR: 13,
NAMESPACE_ERR: 14,
INVALID_ACCESS_ERR: 15,
VALIDATION_ERR: 16,
TYPE_MISMATCH_ERR: 17,
SECURITY_ERR: 18,
NETWORK_ERR: 19,
ABORT_ERR: 20,
URL_MISMATCH_ERR: 21,
QUOTA_EXCEEDED_ERR: 22,
TIMEOUT_ERR: 23,
INVALID_NODE_TYPE_ERR: 24,
DATA_CLONE_ERR: 25,
toString: [Function: toString],
}

@babushkinaa commented on GitHub (Jan 17, 2026): opencode run hello --print-logs INFO 2026-01-17T16:53:28 +515ms service=default version=1.1.25 args=["run","hello","--print-logs"] opencode INFO 2026-01-17T16:53:28 +2ms service=default directory=/home/lel creating instance INFO 2026-01-17T16:53:28 +1ms service=project directory=/home/lel fromDirectory INFO 2026-01-17T16:53:28 +7ms service=default directory=/home/lel bootstrapping INFO 2026-01-17T16:53:28 +7ms service=config path=/home/lel/.config/opencode/config.json loading INFO 2026-01-17T16:53:28 +1ms service=config path=/home/lel/.config/opencode/opencode.json loading INFO 2026-01-17T16:53:28 +2ms service=config path=/home/lel/.config/opencode/opencode.jsonc loading INFO 2026-01-17T16:53:28 +5ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","add","@opencode-ai/plugin@1.1.25","--exact"] cwd=/home/lel/.config/opencode running INFO 2026-01-17T16:53:28 +22ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd) installed @opencode-ai/plugin@1.1.25 [5.00ms] done stderr=Saved lockfile done INFO 2026-01-17T16:53:28 +0ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","install"] cwd=/home/lel/.config/opencode running INFO 2026-01-17T16:53:28 +4ms service=config path=/home/lel/.opencode/opencode.jsonc loading INFO 2026-01-17T16:53:28 +0ms service=config path=/home/lel/.opencode/opencode.json loading INFO 2026-01-17T16:53:28 +0ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","add","@opencode-ai/plugin@1.1.25","--exact"] cwd=/home/lel/.opencode running INFO 2026-01-17T16:53:28 +13ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-01-17T16:53:28 +1ms service=plugin name=CopilotAuthPlugin loading internal plugin INFO 2026-01-17T16:53:28 +1ms service=plugin path=opencode-anthropic-auth@0.0.9 loading plugin INFO 2026-01-17T16:53:28 +4ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd) Checked 79 installs across 80 packages (no changes) [4.00ms] stderr= done INFO 2026-01-17T16:53:28 +0ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd) installed @opencode-ai/plugin@1.1.24 [3.00ms] done stderr=Saved lockfile done INFO 2026-01-17T16:53:28 +1ms service=bun cmd=["/home/lel/.nvm/versions/node/v24.13.0/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","install"] cwd=/home/lel/.opencode running INFO 2026-01-17T16:53:28 +34ms service=plugin path=@gitlab/opencode-gitlab-auth@1.3.0 loading plugin INFO 2026-01-17T16:53:28 +1ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd) Checked 3 installs across 4 packages (no changes) [2.00ms] stderr= done INFO 2026-01-17T16:53:28 +95ms service=bus type=* subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=session.updated subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=message.updated subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=message.part.updated subscribing INFO 2026-01-17T16:53:28 +1ms service=bus type=session.updated subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=message.updated subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=message.part.updated subscribing INFO 2026-01-17T16:53:28 +0ms service=bus type=session.diff subscribing INFO 2026-01-17T16:53:28 +0ms service=format init INFO 2026-01-17T16:53:28 +0ms service=bus type=file.edited subscribing INFO 2026-01-17T16:53:28 +1ms 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, kotlin-ls, yaml-ls, lua-ls, php intelephense, prisma, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers INFO 2026-01-17T16:53:28 +1ms service=bus type=command.executed subscribing INFO 2026-01-17T16:53:28 +42ms service=server method=POST path=/session request INFO 2026-01-17T16:53:28 +1ms service=server status=started method=POST path=/session request INFO 2026-01-17T16:53:28 +3ms service=session id=ses_4331fb8e6ffexqin3hrM4iK6hm slug=tidy-harbor version=1.1.25 projectID=global directory=/home/lel title=New session - 2026-01-17T16:53:28.985Z time={"created":1768668808985,"updated":1768668808985} created INFO 2026-01-17T16:53:28 +3ms service=bus type=session.created publishing INFO 2026-01-17T16:53:28 +0ms service=bus type=session.updated publishing INFO 2026-01-17T16:53:28 +3ms service=server status=completed duration=9 method=POST path=/session request INFO 2026-01-17T16:53:28 +0ms service=server method=GET path=/config request INFO 2026-01-17T16:53:28 +0ms service=server status=started method=GET path=/config request INFO 2026-01-17T16:53:28 +1ms service=server status=completed duration=1 method=GET path=/config request INFO 2026-01-17T16:53:28 +4ms service=server method=GET path=/event request INFO 2026-01-17T16:53:28 +0ms service=server status=started method=GET path=/event request INFO 2026-01-17T16:53:28 +1ms service=server method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request INFO 2026-01-17T16:53:28 +0ms service=server status=started method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request INFO 2026-01-17T16:53:28 +1ms service=server event connected INFO 2026-01-17T16:53:29 +3ms service=bus type=* subscribing INFO 2026-01-17T16:53:29 +8ms service=server status=completed duration=13 method=GET path=/event request INFO 2026-01-17T16:53:29 +2ms service=server status=completed duration=14 method=POST path=/session/ses_4331fb8e6ffexqin3hrM4iK6hm/message request INFO 2026-01-17T16:53:29 +8ms service=provider status=started state INFO 2026-01-17T16:53:29 +6ms service=models.dev file={} refreshing ERROR 2026-01-17T16:53:39 +10007ms service=default e=The operation timed out. rejection INFO 2026-01-17T16:58:29 +290014ms service=provider status=completed duration=300027 state DOMException { stack: "", code: 23, name: "TimeoutError", message: "The operation timed out.", INDEX_SIZE_ERR: 1, DOMSTRING_SIZE_ERR: 2, HIERARCHY_REQUEST_ERR: 3, WRONG_DOCUMENT_ERR: 4, INVALID_CHARACTER_ERR: 5, NO_DATA_ALLOWED_ERR: 6, NO_MODIFICATION_ALLOWED_ERR: 7, NOT_FOUND_ERR: 8, NOT_SUPPORTED_ERR: 9, INUSE_ATTRIBUTE_ERR: 10, INVALID_STATE_ERR: 11, SYNTAX_ERR: 12, INVALID_MODIFICATION_ERR: 13, NAMESPACE_ERR: 14, INVALID_ACCESS_ERR: 15, VALIDATION_ERR: 16, TYPE_MISMATCH_ERR: 17, SECURITY_ERR: 18, NETWORK_ERR: 19, ABORT_ERR: 20, URL_MISMATCH_ERR: 21, QUOTA_EXCEEDED_ERR: 22, TIMEOUT_ERR: 23, INVALID_NODE_TYPE_ERR: 24, DATA_CLONE_ERR: 25, toString: [Function: toString], }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6611