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
I've tried this on 3 different computers now. The frontend doesn't work for me anymore. I don't understand how this broke, because I used to have it working. But even reverting to older versions doesn't work.
The frontend seems to be "hardcoded" to send requests to http://localhost:4096/global/health http://localhost:4096/global/event
Which fail when the serve is either remote or a custom port is used.
Both issues describe the same root cause where the frontend hardcodes requests to localhost:4096 instead of using the actual server address. Feel free to ignore if your specific case differs.
I cannot reproduce it anymore. It works for me now. Even on bunx opencode-ai@1.0.204 serve --port 3123 this.
I don't really get how the behaviour is changing without the version changing. Is there some part of the code that's not part of the versioned npm package?
Activity
github-actions commentedon Dec 23, 2025
This issue might be a duplicate of existing issues. Please check:
Both issues describe the same root cause where the frontend hardcodes requests to localhost:4096 instead of using the actual server address. Feel free to ignore if your specific case differs.
gempir commentedon Dec 23, 2025
My bad this seems to be #5928
gempir commentedon Dec 23, 2025
I'll reopen this because this issue isn't fixed on the latest version 1.0.196 and the other issue is closed.
I think the fix PR got reverted
fix(app): use window.location.origin for API URL fallback
gempir commentedon Dec 27, 2025
Still broken on, even after #6181
easy reproducer on current version:
bunx opencode-ai@1.0.204 serve --port 3123
mosajjal commentedon Dec 27, 2025
can confirm this is broken for me too
Kiricon commentedon Dec 28, 2025
Still broken for me as well.
gempir commentedon Dec 29, 2025
I cannot reproduce it anymore. It works for me now. Even on
bunx opencode-ai@1.0.204 serve --port 3123this.I don't really get how the behaviour is changing without the version changing. Is there some part of the code that's not part of the versioned npm package?
mosajjal commentedon Dec 30, 2025
in 1.0.209 it seems to be fixed?
gempir commentedon Dec 30, 2025
It works just fine in 1.0.204 too, I think this isn't version related. There has to be some external factor.
6352 Talks about some proxy, maybe it's related, not sure.