I am using Django with RDS along with Aptible deployement. I started receiving lots (2027, 'Malformed packet') for a while but when I run the same query using Django "shell" OR "dbshell" then the query works fine.
I am not able to find any lead around that, found some articles/answers but now one could help.