Seemingly random PostgreSQL connection drops while handling Django requests

Seems like someone else had the same issue with an identical setup (with no solution): https://groups.google.com/g/django-users/c/oYeh9KPxlLc
InterfaceError and TransactionManagementError (PostgreSQL)