a month ago
The Railway dashboard Console repeatedly fails with “WebSocket connection failed” and returns to Disconnected / Reconnect. The Files tab also reports “Connection failed” and cannot load the directory. Reconnect, reloading the page, and retrying in a private browser window on Windows did not resolve the issue.
We need to export an existing state file from /tmp in the currently running container before any restart or redeployment. Please advise how to restore Console / Files access, or provide a supported non-destructive export method. Please do not restart, redeploy, or replace the running container before the file has been secured. No data loss has been confirmed.
1 Reply
a month ago
You can copy the file straight off the running container over SSH, which doesn't restart or redeploy anything. With an SSH key registered on your account (railway ssh keys add, or the SSH keys page in Account Settings), standard scp and sftp clients work against ssh.railway.com, using the service's domain as the username, for example scp [email protected]:/tmp/<state-file> ./<state-file>.
You can also use railway ssh from the CLI, which opens the same shell the Console tab provides, or run a single command with railway ssh -- <command> (for example, cat the file to your local terminal).
Status changed to Awaiting User Response Railway • about 1 month ago
24 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 24 days ago