Reputation: 448
I am using apache with mod_wsgi in windows platform to deploy my flask application. I am using sqlalchemy to connect redshift database with connection pool(size 10).
After few days suddenly I am getting follwoing error.
(psycopg2.OperationalError) SSL SYSCALL error: Software caused connection abort
Can anybody suggest why I am getting this error and how to fix?
If I do the apache restart then this error gone. But after few days it again comeback.
Upvotes: 4
Views: 5084
Reputation: 3611
I solved this error by turning DEBUG=False
in my config file [and/or in the run.py]. Hope it helps someone.
Upvotes: 1