9 months ago
Hello 
amazing to see the SSH feature shipped!
I'm running into issues when I try to SSH into my Django app service -Error: Could not establish SSH connection to application.
SSH to e.g. postgres service works fine, so I'm quite certain that the login/linking is successful.
Could you please help me with some guidance on how to resolve this?
Thanks!
5 Replies
9 months ago
What version of the CLI are you running? Is the application slept?
Status changed to Awaiting User Response Railway • 9 months ago
angelo-railway
What version of the CLI are you running? Is the application slept?
9 months ago
Hello,
I've got the latest (3.2.22) CLI version. The app is not sleeping, I'm using it right now and getting the same error.
```
% railway ssh
Connecting to service... Error: Could not establish SSH connection to application
```
Status changed to Awaiting Railway Response Railway • 9 months ago
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
Its a "python:3.13" Dockerfile build.
I've tried using Nixpacks and it works now, but it also means I had to downgrade to Python 3.12, as 3.13 is not supported by Nixpacks.
So the issue is in the Dockerfile.
Do you have an idea what could be causing this? I've attached my Dockerfile.
Attachments
Status changed to Awaiting Railway Response Railway • 9 months ago
Status changed to Awaiting User Response Railway • 9 months ago
4 months 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 • 4 months ago