potiuk commented on issue #63671:
URL: https://github.com/apache/airflow/issues/63671#issuecomment-4063982816

   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.


-- 
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]

Reply via email to