Could not establish SSH connection to application
pipech
PROOP

3 months ago

Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "Could not establish SSH connection to application", code: None } }

I've tried re-deploy the service.

The service is running and accessible via http port.

Solved$10 Bounty

8 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


pipech
PROOP

3 months ago

I also tried reset my internet connection.


pipech
PROOP

3 months ago

PS C:\Users\pipeCh> railway ssh --project=e59bb470-9624-4da5-aaa9-f6b38e6b8efd --environment=1ac16269-37b0-49a2-b543-16f09d70b043 --service=eda1d694-ee21-43fd-ae8b-97462b4af163
Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "Could not establish SSH connection to application", code: None } }

I also tried connection from wsl.

```
pipech@pipeThinkPad:/mnt/c/Users/pipeCh$ railway ssh --project=e59bb470-9624-4da5-aaa9-f6b38e6b8efd --environment=1ac16269-37b0-49a2-b543-16f09d70b043 --service=eda1d694-ee21-43fd-ae8b-97462b4af163

New version available: v4.8.0 visit https://docs.railway.com/guides/cli for more info

Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "Could not establish SSH connection to application", code: None } }

```


pipech
PROOP

3 months ago

Updated the version to v4.8.0

```

pipech@pipeThinkPad:/mnt/c/Users/pipeCh$ bash <(curl -fsSL cli.new)

? Install railway 4.8.0 to /usr/local/bin? [y/N] y

! Escalated permissions are required to install to /usr/local/bin

[sudo] password for pipech:

> Installing railway as root, please wait…

.

/^\ .

/\ "V"

/__\ I O o

//..\\ I . Poof!

\].`[/ I

/l\/j\ (] . O

/. ~~ ,\/I . Railway is now installed

\\L__j^\/I o Run railway help for commands

\/--v} I o .

| | I _________

| | I c(` ')o

| l I \. ,/

/j L l\! //^---^\\

pipech@pipeThinkPad:/mnt/c/Users/pipeCh$ railway ssh --project=e59bb470-9624-4da5-aaa9-f6b38e6b8efd --environment=1ac16269-37b0-49a2-b543-16f09d70b043 --service=eda1d694-ee21-43fd-ae8b-97462b4af163

Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "Could not establish SSH connection to application", code: None } }

```


jake
EMPLOYEE

3 months ago

Your application may not have access to the SSH binary


Status changed to Awaiting User Response Railway 3 months ago


jake
EMPLOYEE

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open jake 3 months ago


pipech
PROOP

3 months ago

I'm just work up and it is working now. With the same deployment.


pipech
PROOP

3 months ago

PS C:\Users\pipeCh> railway ssh --project=e59bb470-9624-4da5-aaa9-f6b38e6b8efd --environment=1ac16269-37b0-49a2-b543-16f09d70b043 --service=eda1d694-ee21-43fd-ae8b-97462b4af163
  ✓ Connected to interactive shell                                                                                            
root@34b126ea37a4:/home/frappe/bench#

pipech
PROOP

3 months ago

We could considered it resolved but it is quite unsettling that ssh randomly not working.


Status changed to Solved noahd 3 months ago


Loading...