GitHub user potiuk added a comment to the discussion: FAB Provider - 'Server has gone away'
Please check server logs. Server has gone away is always accompanied by a message on the server side explaining what was wrong. Alternatively - inspect your firewall rules. Often what happens is that in case of lack of activilty on connectoins, firewalls might close such opened connection. That would be the same if your infrastructure has similar behaviour on closing long running connection to a database. Such issues can be solved by enabling pooling, and ping per conneciton or several other techniques described in https://docs.sqlalchemy.org/en/21/core/pooling.html#dealing-with%20-disconnects -> look at the docs, you can pass engine parameters when you configure airflow, so you should be able to experiment with that. Let us know how your experiments went. GitHub link: https://github.com/apache/airflow/discussions/63718#discussioncomment-16157505 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
