Skip to content

"Error: Connection Error" facing when Internet Connection goes out #309

@ahmadawais

Description

@ahmadawais

Imported from CommandCodeAI/command-code#3 — originally opened by @zainzafar90 on 2026-03-05T10:51:08Z

Expected Behavior

It should resume the session without any issues, like other agent terminals, so I think there's something that's not resolved as retries are happening

Actual Behavior

As soon as I disconnect the laptop from external screen, or close the lid while session is still on, or the connection with internet breaks, I see this error, even though it tries to reconnect but after 5 attempts it fails with this error

Image

Command Code Version

0.17.9

Operating System

macOS

Terminal/IDE

VSCode

Shell

zsh

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions