R
RailwayNiccolò

Deploy failed and it's weird

Hi, for some reason I am getting this when deploying:
#13 1.852 django.db.utils.OperationalError: connection to server at "containers-us-west-65.railway.app" (x.x.x.x), port 7892 failed: Connection refused
#13 1.852 Is the server running on that host and accepting TCP/IP connections?
#13 1.852 django.db.utils.OperationalError: connection to server at "containers-us-west-65.railway.app" (x.x.x.x), port 7892 failed: Connection refused
#13 1.852 Is the server running on that host and accepting TCP/IP connections?
Why is it refusing connection to that host?
P
Percy511d ago
Project ID: 9a8cdddf-87aa-4caf-848a-69fb07710946
N
Niccolò511d ago
9a8cdddf-87aa-4caf-848a-69fb07710946
J
jackson511d ago
double check the port and hostname, should also make sure that the database is running
N
Niccolò511d ago
Where should that be checked? The deploy I am triggering does not include any of such changes.
J
jackson511d ago
in the database itself, your app is likely fine if you've checked that the environment variables in the deployment are correct
N
Niccolò511d ago
This kind of concerns me. I haven't touched those variables at all since the last deploy. Does it mean such a problem is bound to occur suddenly in the future?
J
jackson511d ago
unsure, i don't work here so i cannot say much about the uptime
N
Niccolò511d ago
What's it got to do with the uptime?
J
jackson511d ago
well i think the problem here is the db you have on railway broke or something since your django app cannot connect to it
N
Niccolò511d ago
I hope this is not true
J
jackson511d ago
ideally not but i poked around in a few other threads and i saw something about db's going down/needing to be restarted might just be a temporary issue
N
Niccolò511d ago
Well I just went on the postgresql service we're talking about and it says there are no tables I REALLY hope this is not true. Else it means I have lost freaking everything
J
jackson511d ago
anguish
N
Niccolò511d ago
I cannot believe this.
J
jackson511d ago
are you in the right environment if you have multiple?
N
Niccolò511d ago
It's the only environment there is. This is crazy And there is nothing in the logs saying anything about this.
N
Niccolò511d ago
J
jackson511d ago
django doesn't tend to just nuke dbs
N
Niccolò511d ago
I was on the website yesterday and all was fine.
J
jackson511d ago
talked with some other people and apparently it's a known issue
N
Niccolò511d ago
What issue?
A
angelo511d ago
Your data is still there, going to reboot the DB
J
jackson511d ago
🙏
N
Niccolò511d ago
oh thank god
A
angelo511d ago
A
angelo511d ago
did you delete the service? I am not seeing anything in your project
N
Niccolò511d ago
I did not, for sure I am on the dashboard and see everything
A
angelo511d ago
are you sure this is the correct project Id?
N
Niccolò511d ago
0e69e8c1-1752-4f08-bcdf-c624b1d6ae93 this is the db
A
angelo511d ago
why is your DB in a separate project? restarting
N
Niccolò511d ago
It's always been and it's not the first time I am reaching out for help it was never an issue Thank you.
A
angelo511d ago
data is back
N
Niccolò511d ago
Thank you, the website is reachable again Is there a way to download the db data from the dashboard?
J
jackson511d ago
no but you could just connect with psql yourself and export it
N
Niccolò511d ago
Alright, thank you
Want results from more Discord servers?
Add your server
More Posts
Can't build my Django project.I saw tutorial on Youtube which I followed. I created Procfile (see attached photos) and requirmentsread ECONNRESET on my databaseConnections and queries to my database suddenly stoped working, and I have no idea why.Is it possible to unlink the credit card for a credit-based sub?Hello, I'm liking Railway so far (despite still not being able to get chromedriver/google-chrome insstrapi + cloudinary bulk upload crashLocally I have Strapi running, uploading images to Cloudinary, bulk uploads all work fine. Same repSpawning RQ Worker during deploy.Im running in to the problem of not knowing how to launch the workers on deployment automatically. NDeploy Codeigniter 4 to railway.appdoes anyone have a tutorial how to deploy codeigniter to railway ? I have tried several times but faWhere should issues be reported?I reported several issues in this discord group, but it seems that their communication went stale. How do I connect service to service without exposing it to the internet?TLDR; I'm trying to have two services one Frontend, one Backend, backend will not have auth so I donDeploy organization github repo on railwayIm trying to deploy my organization's frontend repo but because its technically not a repo on my gitRedisTimeoutError Connection timed outI got lots of "Redis::TimeoutError: Connection timed out" errors in the last 30 minutes. It seems toPlan not updatingWe ran out of our starter credits for the month and upgraded our plan. I'm not the one with the credCLI Railway up service prompt on CI CDHi, When using railway up from a CI/CD pipeline, how do you select the correct service from the prom`failed to compute cache key` docker build step@Angelo The previous post I had submitted (and you commented on) was deleted (I guess?) My project iDeveloper plan issueHi All and Reailway Team, I'm on the Developer Plan, and forgot to pay my invoice and then my plan AWS S3 IntegrationHello! I am brand new to Railway and just deployed my first app. I will be using AWS S3 in order to crash problemWhy during the build it crashesHow do I kill everything inside the deployment when I remove it?When I remove the deployment celery worker receives sigterm and waits for the current task to finishReact + Vite DeprecationWarning for OutgoingMessage.prototype._headersI created a new react project using the React + Vite template, when i run npm start and go to my broFixed IPI have an application which requires a fixed IP, how can I obtain one?Running a command on deployHow do i run a command on startup or re-deployment? I am trying to run '''rq worker'' on startup.