Project not found. Run
railway link
to connect to a project.
duglikespiano
HOBBYOP

a year ago

Hi, I am attempting to access to my project's server by ssh.

And I am facing message 'Project not found. Run railway link to connect to a project.' repeatedly.

This is log on my terminal and I think it is connected with my project, service project properly and environment is well designated.

---

suho@SUHOs-PC ~ % railway status

Project: dugsworks

Environment: production

Service: dugsworks-backend

---

---

suho@SUHOs-PC ~ % railway ssh --project dugsworks --environment production --service dugsworks-backend

Project not found. Run railway link to connect to a project.

---

Maybe there's something I am missing.

Where should I check more?

Solved

7 Replies

Right click your service -> Copy SSH Command

Use that.


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved ray-chen 11 months ago


ray-chen

Right click your service -> Copy SSH Command Use that.

duglikespiano
HOBBYOP

a year ago

oh thanks! that works!


Status changed to Awaiting Railway Response Railway 11 months ago


scarpent
HOBBY

a year ago

With railway ssh and with right-click copy ssh command I'm getting:

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

railway link and railway login both run successfully, but ssh has been erroring out the past couple of hours.


scarpent

With `railway ssh` and with right-click copy ssh command I'm getting: Expected welcome message, received: ServerMessage { type: "error", payload: ServerPayload { data: Empty, message: "Could not establish SSH connection to application", code: None } } `railway link` and `railway login` both run successfully, but ssh has been erroring out the past couple of hours.

duglikespiano
HOBBYOP

a year ago

Oh! It was not erroring out when I tried the right-click copy ssh command

Maybe I tried after the problem has been solved, thanks by the way!


scarpent
HOBBY

a year ago

Sorry I'm just hijacking your thread for a perhaps related issue. 😀🧵 Might be a whole different thing.


scarpent

Sorry I'm just hijacking your thread for a perhaps related issue. 😀🧵 Might be a whole different thing.

scarpent
HOBBY

a year ago

(A redeploy resolved this for me.)


a year ago

If you've got a separate issue, please make a separate through and we'll merge em


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved jake 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...