-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
OpenCode crashes immediately on startup when the http_proxy environment variable is set with the right value, displaying [object Object] .
Plugins
None
OpenCode version
1.1.4
Steps to reproduce
- Make sure the proxy can be connected successfully
- Start the opencode with the
http_proxyenvironment set, like the following command:
http_proxy='http://127.0.0.1:18080' opencode
Some additional points:
- If the endpoint cannot be connected, the error message is different, please see the screenshot below.
- If the
http_proxyis not set, it can be started successfully. - If start OpenCode with some other similar environment variables, like
https_proxy,all_proxy, it also can be started successfully, excepthttp_proxy.
Screenshot and/or share link
http_proxy is set with a normal endpoint:
http_proxy is set with a wrong endpoint:
Operating System
Debian 12.12
Terminal
Windows Terminal
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working