Skip to content

Websocket connection drops if user logged out from ssh #1882

Closed
@beykansen

Description

@beykansen

I've installed code-server via sh script as root user. But after closing ssh connection from my mac terminal, on browser web socket connection drops too. Then it turns to 502 error page. After reconnect ssh from terminal and reload web page, 502 goes away and everything returning to normal.

I am not using ssh tuneling. I've nginx reverse proxy front of it. As a workaround, I've created screen session on another vm and connected as root to keep alive ssh connection and keep logged in status of root user.

Why this is happening? Do you guys have any idea? My main use case, turning my ipad to development machine.

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions