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