Error: Failed To Open Session #1364

Closed
opened 2026-02-16 17:30:37 -05:00 by yindo · 8 comments
Owner

Originally created by @S-A-Martin on GitHub (Aug 18, 2025).

Originally assigned to: @thdxr on GitHub.

  • Windows 11
  • Git bash terminal
  • Opencode v0.5.5
  • Github Copilot/GPT5 model

I was mid session when I got an error that opencode wouldn't continue from (I'll try to grab it again next time I see it it was possibly a connection error message?), and my gut reaction was to close opencode and reopen it, then source the session with '/session' command and that's when I saw the 'Failed to open session' error.

I mentioned this in the discord and was asked to raise the issue.

Originally created by @S-A-Martin on GitHub (Aug 18, 2025). Originally assigned to: @thdxr on GitHub. - Windows 11 - Git bash terminal - Opencode v0.5.5 - Github Copilot/GPT5 model I was mid session when I got an error that opencode wouldn't continue from (I'll try to grab it again next time I see it it was _possibly_ a connection error message?), and my gut reaction was to close opencode and reopen it, then source the session with '/session' command and that's when I saw the 'Failed to open session' error. I mentioned this in the discord and was asked to raise the issue.
yindo added the windows label 2026-02-16 17:30:37 -05:00
yindo closed this issue 2026-02-16 17:30:37 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 18, 2025):

ty for making issue

@rekram1-node commented on GitHub (Aug 18, 2025): ty for making issue
Author
Owner

@S-A-Martin commented on GitHub (Aug 19, 2025):

I had this again... Everything was working normally until...

Image

I had this three or four times, and the queued messages were not sent. So I closed/re-opened and then tried to restore the session with /session and got the failed session error:

Image
@S-A-Martin commented on GitHub (Aug 19, 2025): I had this again... Everything was working normally until... <img width="628" height="146" alt="Image" src="https://github.com/user-attachments/assets/9fdff6a6-919d-4e21-9812-ace28dbb63e8" /> I had this three or four times, and the queued messages were not sent. So I closed/re-opened and then tried to restore the session with /session and got the failed session error: <img width="300" height="114" alt="Image" src="https://github.com/user-attachments/assets/4da8401e-e901-43b5-8106-96b3ee9d8a61" />
Author
Owner

@rekram1-node commented on GitHub (Aug 19, 2025):

that’s some very odd behavior, I haven’t seen anyone else reporting this issue, maybe there is something with your config? Not sure… are you using anything custom model wise or anything out of the usual?

@rekram1-node commented on GitHub (Aug 19, 2025): that’s some very odd behavior, I haven’t seen anyone else reporting this issue, maybe there is something with your config? Not sure… are you using anything custom model wise or anything out of the usual?
Author
Owner

@S-A-Martin commented on GitHub (Aug 20, 2025):

No, nothing unusual - just what's stated in the issue description plus an AGENTS.md in ~/.config/opencode/
Other than that it's 'out of the box'.

@S-A-Martin commented on GitHub (Aug 20, 2025): No, nothing unusual - just what's stated in the issue description plus an AGENTS.md in ~/.config/opencode/ Other than that it's 'out of the box'.
Author
Owner

@rekram1-node commented on GitHub (Aug 20, 2025):

interesting, well thx for reporting

@rekram1-node commented on GitHub (Aug 20, 2025): interesting, well thx for reporting
Author
Owner

@rekram1-node commented on GitHub (Sep 23, 2025):

@itsrainingmani

@rekram1-node commented on GitHub (Sep 23, 2025): @itsrainingmani
Author
Owner

@rekram1-node commented on GitHub (Nov 13, 2025):

Are u still getting this issue?

@rekram1-node commented on GitHub (Nov 13, 2025): Are u still getting this issue?
Author
Owner

@Steven-Martin-CC commented on GitHub (Nov 13, 2025):

I haven't seen it in a long time. Perhaps it's safe to close.

@Steven-Martin-CC commented on GitHub (Nov 13, 2025): I haven't seen it in a long time. Perhaps it's safe to close.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1364