Getting 502 Bad Gateway error after login. On reloading page multiple times, page sometimes load partially and give below error message:
WARNING: /var/www/html/piwik/libs/Zend/Db/Statement/Pdo.php(228): Warning - Error while sending QUERY packet. PID=17524 - Matomo 3.3.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.
Any help will be highly appreciated.