R
Railway8mo ago
law

Start command for Django app

Hello, I am encountering this message after I pushed to Github. I did not change any settings in CORS. Postgres DB is also hosted on railway
No description
Solution:
put the connection attempt on a retry loop
Jump to solution
11 Replies
Percy
Percy8mo ago
Project ID: fc8a7fe5-8c10-4239-83ac-600c95f88869
law
law8mo ago
project ID: fc8a7fe5-8c10-4239-83ac-600c95f88869
Brody
Brody8mo ago
can you connect to that database locally?
law
law8mo ago
yes i can
Brody
Brody8mo ago
try increasing the connection timeout to your database
law
law8mo ago
is it a db issue or a server issue?
2023-10-26 19:22:32.250 UTC [1] LOG: database system is ready to accept connections
2023-10-26 19:22:32.250 UTC [1] LOG: database system is ready to accept connections
Brody
Brody8mo ago
increasing the connection timeout worked?
law
law8mo ago
no it didn't unfortunately. doubled it also
Solution
Brody
Brody8mo ago
put the connection attempt on a retry loop
law
law8mo ago
@Brody ty
Brody
Brody8mo ago
no problem!