Hi.
I’m moving a MM instance from a dedicated host to a cPanel/Plesk server. I managed to get everything in place, at first glance everything seems fine, but after some minutes of runtime I see the errors below in logs:
Jan 15 13:21:59 host.com mattermost[130576]: [mysql] 2021/01/15 13:21:59 packets.go:36: unexpected EOF
Jan 15 13:21:59 host.com mattermost[130576]: {"level":"error","ts":1610713364.2011328,"caller":"jobs/jobs_watcher.go:70","msg":"Error occurred getting all pending statuses.","error":"SqlJobStore.GetAllByStatus: Unable to get the jobs, Status=pending, invalid connection"}
I tried disabling TLS as suggested elsewhere (cannot find the link anymore) but it’s still throwing that message.
In Apache I added this to proxy:
ProxyPreserveHost On
# Set web sockets
RewriteEngine On
RewriteCond %{REQUEST_URI} /api/v[0-9]+/(users/)?websocket [NC,OR]
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://127.0.0.1:8065%{REQUEST_URI} [P,QSA,L]
<Location />
Require all granted
ProxyPass http://127.0.0.1:8065/
ProxyPassReverse http://127.0.0.1:8065/
ProxyPassReverseCookieDomain 127.0.0.1 my.domain.com
</Location>
What can be the problem? Thanks