krestix opened a new issue #16830:
URL: https://github.com/apache/airflow/issues/16830
Something bad has happened.
Please consider letting us know by creating a bug report using GitHub.
Python version: 3.6.13
Airflow version: 2.1.0
Node: airflow2-webserver-d6c664665-h2f62
Hi, suddenly without any configuration changes airflow crashed and while
trying to access the host we got an html page with this content:
```
Traceback (most recent call last):
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py",
line 2336, in _wrap_pool_connect
return fn()
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 364, in connect
return _ConnectionFairy._checkout(self)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 778, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 500, in checkout
rec._checkin_failed(err)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py",
line 70, in __exit__
with_traceback=exc_tb,
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py",
line 182, in raise_
raise exception
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 497, in checkout
dbapi_connection = rec.get_connection()
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 610, in get_connection
self.__connect()
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 661, in __connect
pool.logger.debug("Error on connect(): %s", e)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py",
line 70, in __exit__
with_traceback=exc_tb,
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py",
line 182, in raise_
raise exception
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py",
line 656, in __connect
connection = pool._invoke_creator(self)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py",
line 114, in connect
return dialect.connect(*cargs, **cparams)
File
"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py",
line 508, in connect
return self.dbapi.connect(*cargs, **cparams)
File
"/home/airflow/.local/lib/python3.6/site-packages/psycopg2/__init__.py", line
127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: ERROR: pgbouncer cannot connect to server
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]