### Question Is it possible to use proxy server as gasket between opencode and Internet?
Activity
github-actions commentedon Nov 30, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 2, 2025
I think there is a bug w/ HTTP_PROXY and HTTPS_PROXY, looking into them
khrore1 commentedon Dec 2, 2025
It works fine with HTTPS_PROXY, but if you provide HTTPS_PROXY and HTTP_PROXY it will crash, at list on my NixOS machine.
anpic commentedon Dec 3, 2025
socks proxy?
anpic commentedon Dec 3, 2025
why not just add proxy support via
golang.org/x/net/proxy?rekram1-node commentedon Dec 3, 2025
This isn't a go codebase my guy
anpic commentedon Dec 4, 2025
ok 😄
but in other languages too there are stable libraries for proxying everywhere
and what about your fork? 😉
rekram1-node commentedon Dec 8, 2025
ill figure out what the problem is but for now set:
NO_PROXY=localhost,127.0.0.1anpic commentedon Dec 8, 2025
but is it possible to use
socks5andsocks5hproxies asALL_PROXY?Thesam1798 commentedon Jan 27, 2026
Fix available in PR #10856
Yes, proxy support is now implemented in PR #10856!
Quick setup:
Important: Always set
NO_PROXY=localhost,127.0.0.1to prevent internal server communication from being routed through the proxy.For corporate proxies with custom certificates:
Note on SOCKS5: Not supported yet (Bun limitation). Use a SOCKS-to-HTTP bridge as workaround.
The fix replaces all
fetch()calls with aproxyFetch()wrapper that properly handles proxy configuration andNO_PROXYpatterns.anpic commentedon Jan 28, 2026
the sad fact 😕
github-actions commentedon Mar 30, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.