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
OpenCode Desktop App Goes Offline After Consistent Time Period #21199
The local server connection drops consistently after a short period of time (every session). The app requires restarting to reconnect. This happens on WiFi network.
Technical Details:
Connection type: Local server (SSE)
Power settings: Sleep/hibernation disabled (not the issue)
Memory usage: Normal (not the issue)
Additional Context:
Happens consistently on WiFi
Not related to computer sleep
Not related to memory usage
Plugins
No response
OpenCode version
No response
Steps to reproduce
1- Start OpenCode desktop app
2- Have a conversation for a few minutes
3- Connection drops - app shows offline/disconnected
I figured out the issue. It was about the the capacity of all sessions for the changes that should be commit via git. When I commit all changes server issue solved. Thanks.
I found the bug, when ai model changes onlly 1 line of a document, instead of 1 line it records like it changed the whole doc which makes it getting stuck at the limits. Check the image url I have shared with you at the end of the page:
Activity
github-actions commentedon Apr 6, 2026
This issue might be a duplicate of existing issues. Please check:
ozcan81 commentedon Apr 6, 2026
I figured out the issue. It was about the the capacity of all sessions for the changes that should be commit via git. When I commit all changes server issue solved. Thanks.
Update:
ozcan81 commentedon Apr 6, 2026
I thought it was fixed but now instead of a a short time period, local server goes offline after a long time period. Please solve this issue quickly.
ozcan81 commentedon Apr 6, 2026
I found the bug, when ai model changes onlly 1 line of a document, instead of 1 line it records like it changed the whole doc which makes it getting stuck at the limits. Check the image url I have shared with you at the end of the page:
https://prnt.sc/yIFMYAROG5kc
herjarsa commentedon Apr 25, 2026
Update: PR #19116 appears to fix this exact issue
I've confirmed that PR #19116 (fix/vpn-switch-reconnect branch) addresses the exact problem described here:
The PR is currently in draft state but all CI checks pass (8/8).
Link to PR: #19116
I'll be testing this PR locally and will report back with results.
github-actions commentedon Jul 6, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.