R
Railway13mo 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
Percy13mo ago
Project ID: fc8a7fe5-8c10-4239-83ac-600c95f88869
law
law13mo ago
project ID: fc8a7fe5-8c10-4239-83ac-600c95f88869
Brody
Brody13mo ago
can you connect to that database locally?
law
law13mo ago
yes i can
Brody
Brody13mo ago
try increasing the connection timeout to your database
law
law13mo 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
Brody13mo ago
increasing the connection timeout worked?
law
law13mo ago
no it didn't unfortunately. doubled it also
Solution
Brody
Brody13mo ago
put the connection attempt on a retry loop
law
law13mo ago
@Brody ty
Brody
Brody13mo ago
no problem!
Want results from more Discord servers?
Add your server