Hi, 
I am facing below connection timeout error while using Postgres as database 
for my Django application. 

"psycopg2.operationalerror: could not connect to server: connection timed 
out:

Solutions tried:
1. increased timeout at server end. 
2. added conn_max_age in the settings and tried multiple values ( eg. None, 
60,120)

It is a random error but occurs very frequently.
Kindly share if anyone aware about the reason for this issue and any 
solutions for the same.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0c59297-5125-46f5-843f-55c0c00eb4acn%40googlegroups.com.

Reply via email to