我在问题中附上了错误信息
ERROR - Exception when executing SchedulerJob._run_scheduler_loop
Traceback (most recent call last):
File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
cursor, statement, parameters, context
File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
答案 0 :(得分:0)
PostgreSQL 数据库服务器意外关闭了连接。 查看 PostgreSQL 日志文件以获取解释。
您会在那里找到解释原因的错误消息,或者您会发现类似的消息(意外连接丢失),这表明恶意防火墙或路由器中断了网络连接。