Skip to content

Error: Failed To Open Session #2046

Closed
Closed

Description

@S-A-Martin
  • 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.

Activity

  1. rekram1-node commented on Aug 18, 2025

    @rekram1-node
    Contributor

    ty for making issue

  2. S-A-Martin commented on Aug 19, 2025

    @S-A-Martin
    ContributorAuthor

    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
  3. rekram1-node commented on Aug 19, 2025

    @rekram1-node
    Contributor

    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?

  4. S-A-Martin commented on Aug 20, 2025

    @S-A-Martin
    ContributorAuthor

    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'.

  5. rekram1-node commented on Aug 20, 2025

    @rekram1-node
    Contributor

    interesting, well thx for reporting

  6. rekram1-node commented on Sep 24, 2025

    @rekram1-node
    Contributor
  7. rekram1-node commented on Nov 13, 2025

    @rekram1-node
    Contributor

    Are u still getting this issue?

  8. Steven-Martin-CC commented on Nov 13, 2025

    @Steven-Martin-CC
    Contributor

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

  9. added a commit that references this issue on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions