You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: undefined is not an object (evaluating 'x3.data.providers' ) #3868
I experienced the same problem, and when I disabled my HTTP proxy, the issue was resolved!
Just tested and this resolved it for me. Unsetting the HTTP_PROXY and HTTPS_PROXY env vars resolved it. Using proxychains to force it through the proxy works fine, so its not related to the proxy itself.
I experienced the same problem, and when I disabled my HTTP proxy, the issue was resolved!
Just tested and this resolved it for me. Unsetting the HTTP_PROXY and HTTPS_PROXY env vars resolved it. Using proxychains to force it through the proxy works fine, so its not related to the proxy itself.
I do not have these variables present, and experience the error.
INFO 2025-11-10T02:09:39 +994ms service=default version=1.0.51 args=["attach","http://127.0.0.1:4096"] opencode
ERROR 2025-11-10T02:09:42 +2995ms service=acp-command promise={} reason=undefined is not an object (evaluating 'x3.data.providers') Unhandled rejection
ERROR 2025-11-10T02:09:42 +0ms service=default e=undefined is not an object (evaluating 'x3.data.providers') rejection
@davit-b unfortunately a recent commit is hiding config errors from the user (and I will fix it asap) can u run opencode debug config and show me what u see?
❯ opencode debug config
❌ Name mismatch in /home/node/.config/opencode/skills/SKILL.md:
Frontmatter name: "writing-skills"
Directory name: "skills"
Fix: Update the 'name' field in SKILL.md to match the directory name
Error: Unexpected error, check log file at /home/node/.local/share/opencode/log/2025-11-10T194441.
BunInstallFailedError: BunInstallFailedError
data: {
pkg: "opencode-copilot-auth",
version: "0.0.3",
},
at src/bun/index.ts:82:17
at processTicksAndRejections (native:7:39)
38 | code,
39 | stdout,
40 | stderr,
41 | })
42 | if (code !== 0) {
43 | throw new Error(`Command failed with exit code ${result.exitCode}`)
^
error: Command failed with exit code 1
at run2 (src/bun/index.ts:43:13)
UPDATE: @rekram1-node, skills/SKILL.md should just be ingnored... the dev workflow is you just move it up a folder to disable a skill you are developing. Move it back to resume development.
Just hit this as well - summarised output from opencode debug config:
--- Errors ---
InvalidCharacter at line 16, column 17
and its specifically referencing the prompt line of an agent.
my prompt line looks like this "prompt": "{file:..rules/memory-bank/memory-bank-instructions.md} \n---\n {file:..agent-instructions/pr-review.txt} \n---\n github owner/repository: {env:GITHUB_ACTION_REPOSITORY}\npull request number: {env:PULL_REQUEST_NUMBER}",
line 16 is inside the first markdown file and resolves to a ## i.e. a level 2 markdown heading. However, column 17 is a capital S so i'm thinking thats not the correct line reference. Its a normal markdown.
edit: removed bits and pieces in the prompt line and found i had a pasted character that appeared as a space, but was not being accepted. I deleted it, and added an actual space it the config parses & the app loads.
the problematic character (if it even correctly manifests it self here in github) is
HTTP_PROXY and HTTPS_PROXY set in env with opencode 1.0.61:
Without HTTP_PROXY and HTTPS_PROXY set:
Note that, despite the "This page cannot be displayed" html printout, the network should be accessible. Nothing else fails with these env vars set, and opencode 0.15.31 works fine with them set.
EDIT: Oddly, I don't get the same error when using opencode run:
$ opencode run -m github-copilot/gpt-5-mini --print-logs hello
INFO 2025-11-13T15:47:24 +613ms service=default version=1.0.62 args=["run","-m","github-copilot/gpt-5-mini","--print-logs","hello"] opencode
INFO 2025-11-13T15:47:24 +2ms service=default directory=/tmp creating instance
INFO 2025-11-13T15:47:24 +1ms service=project directory=/tmp fromDirectory
INFO 2025-11-13T15:47:24 +22ms service=default directory=/tmp bootstrapping
INFO 2025-11-13T15:47:24 +10ms service=config path=/home/joe/.config/opencode/config.json loading
INFO 2025-11-13T15:47:24 +0ms service=config path=/home/joe/.config/opencode/opencode.json loading
INFO 2025-11-13T15:47:24 +2ms service=config path=/home/joe/.config/opencode/opencode.jsonc loading
INFO 2025-11-13T15:47:24 +45ms service=bun cmd=["/tmp/bunx-1001-opencode-ai@latest/node_modules/opencode-linux-x64/bin/opencode","add","@opencode-ai/plugin@1.0.62","--exact"] cwd=/home/joe/.config/opencode running
INFO 2025-11-13T15:47:24 +14ms service=bun code=0 stdout=bun add v1.3.2 (b131639c)
installed @opencode-ai/plugin@1.0.62
[3.00ms] done
stderr=Saved lockfile
done
INFO 2025-11-13T15:47:24 +17ms service=plugin path=opencode-skills loading plugin
INFO 2025-11-13T15:47:24 +159ms service=plugin path=opencode-sessions loading plugin
INFO 2025-11-13T15:47:24 +2ms service=plugin path=opencode-copilot-auth@0.0.5 loading plugin
INFO 2025-11-13T15:47:24 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO 2025-11-13T15:47:24 +29ms service=bus type=* subscribing
INFO 2025-11-13T15:47:24 +0ms service=bus type=session.updated subscribing
INFO 2025-11-13T15:47:24 +0ms service=bus type=message.updated subscribing
INFO 2025-11-13T15:47:24 +0ms service=bus type=message.part.updated subscribing
INFO 2025-11-13T15:47:24 +0ms service=format init
INFO 2025-11-13T15:47:24 +0ms service=bus type=file.edited subscribing
INFO 2025-11-13T15:47:24 +1ms service=lsp LSP server pyright is disabled
INFO 2025-11-13T15:47:24 +0ms service=lsp serverIds=deno, typescript, vue, eslint, gopls, ruby-lsp, elixir-ls, zls, csharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, lua-ls, kotlin, basedpyright, makefile enabled LSP servers
INFO 2025-11-13T15:47:24 +2ms service=bus type=command.executed subscribing
Error: Session not found
@frap129 you need to add 127.0.0.1 to your no_proxy environment variable.
As for the initial error with x3.data.providers I can confirm that the latest versions don't trigger it anymore when I'm on my company's corporate network.
@frap129 you need to add 127.0.0.1 to your no_proxy environment variable.
As for the initial error with x3.data.providers I can confirm that the latest versions don't trigger it anymore when I'm on my company's corporate network.
Thanks for the quick fix! I had "127.0.0.0/8" in my no_proxy, which works for everything else, but I guess the mask isn't working in this case
Activity
taqtiqa-mark commentedon Nov 4, 2025
I also observe this error with a config file that was accepted in
v0.15.18Without the custom config file the TUI launches fine.
taqtiqa-mark commentedon Nov 4, 2025
@FrankFang, the issue #3462 hints that this might be caused by an invalid agent file. Not sure if that helps you at least launch the TUI?
taqtiqa-mark commentedon Nov 4, 2025
Confirming that
v0.15.31does not have this behavior.aliabdy commentedon Nov 7, 2025
I experienced the same problem, and when I disabled my HTTP proxy, the issue was resolved!
frap129 commentedon Nov 7, 2025
Just tested and this resolved it for me. Unsetting the HTTP_PROXY and HTTPS_PROXY env vars resolved it. Using proxychains to force it through the proxy works fine, so its not related to the proxy itself.
taqtiqa-mark commentedon Nov 8, 2025
I do not have these variables present, and experience the error.
taqtiqa-mark commentedon Nov 10, 2025
This behavior is still present in
v1.0.51:aliabdy commentedon Nov 10, 2025
I'm currently using version 1.0.5, and this error no longer appears, regardless of the proxy settings.
davit-b commentedon Nov 10, 2025
1.0.55having this error CONSISTENTLY. Went from being able to use opencode and now can't open it at all. wtf.rekram1-node commentedon Nov 10, 2025
@davit-b unfortunately a recent commit is hiding config errors from the user (and I will fix it asap) can u run
opencode debug configand show me what u see?theasp commentedon Nov 10, 2025
In my case, I can't run
opencode debug configwithout unsettinghttp_proxyandhttps_proxy. If I do unset them it prints out a valid config.taqtiqa-mark commentedon Nov 10, 2025
@rekram1-node :
UPDATE:
@rekram1-node,
skills/SKILL.mdshould just be ingnored... the dev workflow is you just move it up a folder to disable a skill you are developing. Move it back to resume development.arcticShadow commentedon Nov 10, 2025
Just hit this as well - summarised output from opencode debug config:
and its specifically referencing the prompt line of an agent.
my prompt line looks like this
"prompt": "{file:..rules/memory-bank/memory-bank-instructions.md} \n---\n {file:..agent-instructions/pr-review.txt} \n---\n github owner/repository: {env:GITHUB_ACTION_REPOSITORY}\npull request number: {env:PULL_REQUEST_NUMBER}",line 16 is inside the first markdown file and resolves to a
##i.e. a level 2 markdown heading. However, column 17 is a capitalSso i'm thinking thats not the correct line reference. Its a normal markdown.edit: removed bits and pieces in the prompt line and found i had a pasted character that appeared as a space, but was not being accepted. I deleted it, and added an actual space it the config parses & the app loads.
the problematic character (if it even correctly manifests it self here in github) is
This character identifying website identifies it as a tab control character
https://software.hixie.ch/utilities/cgi/unicode-decoder/character-identifier?characters=%09
taqtiqa-mark commentedon Nov 10, 2025
@veracioux and @rekram1-node another test case that should not crash the UI:
Leka74 commentedon Nov 10, 2025
Deleting those fields in the
opencode.jsoncfixed it.FrankFang commentedon Nov 11, 2025
When using OpenCode 1.0.55, this issue does not occur.
However, when I set http_proxy and https_proxy, the issue reappears and the UI becomes frozen, making it impossible to open the debug panel.
If I unset http_proxy and https_proxy, the issue disappears.
darcy commentedon Nov 11, 2025
Another case of this in v1.0.57:
I can reproduce this with an empty git init:
Works fine:
mkdir testing cd testing opencodeCrashes with above error
mkdir testing cd testing git init opencodekfuglsang commentedon Nov 11, 2025
Happens to me in v1.0.58 as well.
thdxr commentedon Nov 12, 2025
1.0.59 should have better errors so we can at least see
frap129 commentedon Nov 12, 2025
HTTP_PROXY and HTTPS_PROXY set in env with opencode 1.0.61:

Without HTTP_PROXY and HTTPS_PROXY set:

Note that, despite the "This page cannot be displayed" html printout, the network should be accessible. Nothing else fails with these env vars set, and opencode 0.15.31 works fine with them set.
EDIT: Oddly, I don't get the same error when using
opencode run:hygt commentedon Nov 21, 2025
@frap129 you need to add
127.0.0.1to yourno_proxyenvironment variable.As for the initial error with
x3.data.providersI can confirm that the latest versions don't trigger it anymore when I'm on my company's corporate network.frap129 commentedon Nov 21, 2025
Thanks for the quick fix! I had "127.0.0.0/8" in my no_proxy, which works for everything else, but I guess the mask isn't working in this case
rekram1-node commentedon Nov 21, 2025
This one is fixed, there is a separate issue relating to proxy stuff that I will try to address soon