<div dir="ltr">Hey all, <br><br>I got again the famous error<br>sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back<br><br>i tried to <br>1. change to session pool to be zero size (i don't really need it for my app): <br>SQLALCHEMY_POOL_SIZE = 0 <br><br>2. rollback each teardown_request <br><br>3. few different settings and tips from the internet<br><br>Nothing really helped me. <br>i don't need the pool of connection and really don't need anything but working and stable connection to the DB. <br><br>the question is: what is the right approach to do when this error happend?<br><br><br>Thanks, <br>Barak. <br><br><br><br><br></div>