Can not SSH to the container
aalfath
PROOP

6 months ago

Hi,

I have a NodeJS application running on Railway Metal.

However, I could not seem to SSH into the service eventhough that it's linked already.

When I run railway ssh command, it returns the following error eventhough the service is running:
Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "No deployment found to connect to", code: None } }

Solved

4 Replies

aalfath
PROOP

6 months ago

1c876b55-6d9c-49bf-9d2a-194d4d690216


oligirling
HOBBY

6 months ago

Also getting the same error


oligirling
HOBBY

6 months ago

Mine was related to my docker container starting and then stopping. Working fine now i managed to fix that


aalfath
PROOP

6 months ago

Hi oligirling,may I know how did you fix it?

As I understand, your problem is solved when the Docker container itself stays running after the deployment?


aalfath
PROOP

6 months ago

Nevermind, I got it to work.

As oligirling has mentioned: the service has to be running in order for the SSH to work.

Thank you very much.

This ticket can be closed


aalfath
PROOP

6 months ago

!s


uxuz
MODERATOR

6 months ago

!s


Status changed to Solved uxuz 7 months ago


Loading...