简体   繁体   English

(psycopg2.OperationalError)SSL SYSCALL错误:软件导致连接中止

[英](psycopg2.OperationalError) SSL SYSCALL error: Software caused connection abort

I am using apache with mod_wsgi in windows platform to deploy my flask application. 我在windows平台上使用带有mod_wsgi的apache来部署我的烧瓶应用程序。 I am using sqlalchemy to connect redshift database with connection pool(size 10). 我使用sqlalchemy连接redshift数据库和连接池(大小10)。 After few days suddenly I am getting follwoing error. 几天后我突然发现了一些错误。
(psycopg2.OperationalError) SSL SYSCALL error: Software caused connection abort (psycopg2.OperationalError)SSL SYSCALL错误:软件导致连接中止

Can anybody suggest why I am getting this error and how to fix? 任何人都可以建议我为什么会收到此错误以及如何解决?

If I do the apache restart then this error gone. 如果我重新启动apache然后这个错误消失了。 But after few days it again comeback. 但几天后又再次复出。

I solved this error by turning DEBUG=False in my config file [and/or in the run.py]. 我通过在配置文件[和/或run.py]中转换DEBUG=False来解决此错误。 Hope it helps someone. 希望它可以帮助某人。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 psycopg2.OperationalError:SSL SYSCALL 错误:检测到 EOF - psycopg2.OperationalError: SSL SYSCALL error: EOF detected `sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SSL SYSCALL 错误:在 Ubuntu 上检测到 EOF,但在 Mac OS 上没有 - `sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SSL SYSCALL error: EOF detected` on Ubuntu but not on Mac OS psycopg2.OperationalError:SSL SYSCALL 错误:在 Flask/SQLAclemy/Celery + PostgreSQL 应用程序上检测到 EOF - psycopg2.OperationalError: SSL SYSCALL error: EOF detected on Flask/SQLAclemy/Celery + PostgreSQL app psycopg2.OperationalError:SSL SYSCALL 错误:对等方重置连接 (0x00002746/10054) 致命:主机用户数据库没有 pg_hba.conf 条目 - psycopg2.OperationalError: SSL SYSCALL error: Connection reset by peer (0x00002746/10054) FATAL: no pg_hba.conf entry for host user database (psycopg2.OperationalError) SSL 错误:证书验证失败 - (psycopg2.OperationalError) SSL error: certificate verify failed psycopg2.OperationalError 错误 - psycopg2.OperationalError errors Docker- django 在连接到 postgres 时抛出错误:psycopg2.OperationalError:无法连接到服务器:连接被拒绝 - Docker- django throws error while connecting to postgres: psycopg2.OperationalError: could not connect to server: Connection refused (psycopg2.OperationalError)无法连接到服务器:连接被拒绝是服务器 - (psycopg2.OperationalError) could not connect to server: Connection refused Is the server psycopg2.DatabaseError:SSL SYSCALL错误:连接超时 - psycopg2.DatabaseError: SSL SYSCALL error: Connection timed out (psycopg2.OperationalError) 无效 - 操作码 - (psycopg2.OperationalError) Invalid - opcode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM