a year ago
Issue Description:
We have a Railway project with multiple services that has a history of SSH access challenges. After resolving initial SSH issues (documented in "Railway SSH Issue with Django Application" post), we recently added a new geo-service for IP geolocation using FastAPI and MaxMind.
Deployment Sequence:
1. Initial State:
- TetraltoDjango and Postgres services with working SSH access
- SSH access was established after significant troubleshooting
2. Added New Service:
- Created geo-service (FastAPI-based IP geolocation service)
- Deployed using railway up
- Result: SSH access working correctly for all three services (TetraltoDjango, Postgres, geo-service)
3. Git-Based Deployment:
- Made changes to repository
- Pushed to GitHub
- Railway automatically redeployed both TetraltoDjango and geo-service
- Deployment completed successfully
- Result:
* SSH access lost for TetraltoDjango
* SSH access maintained for Postgres and geo-service
* Error when attempting SSH to TetraltoDjango:
```
Expected welcome message, received: error
```
4. Attempted Recovery:
- Disconnected geo-service from git
- Redeployed using railway up
- Result: SSH access to TetraltoDjango still not working
Current State:
- Project: TetraltoRail
- Services:
* TetraltoDjango (SSH not working)(Deployed via git since it got too large to Railway up)
* Postgres (SSH working)
* geo-service (SSH working)
The key observations are:
1. SSH access to TetraltoDjango is lost after git-based deployments that trigger simultaneous redeployment of multiple services
2. The issue persists even after reverting to railway up deployment method for geo-service
2 Replies
a year ago
I implemented Railpack on tetraltoDjango and we now have ssh working on all services.
a year ago
Hello,
It's very possible that the previous way you built your apps did not include a shell binary (bash or sh) without a shell, you cannot shell into your deployment, but Railpack does indeed include a shell so that explains why it works now.
Best,
Brody
Status changed to Awaiting User Response Railway • 11 months ago
7 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 • 7 months ago