MySQL & Invalid session error on Mattermost

Thanks for the supplement. I’m Mattermost and MariaDB are the same server. I may be influenced by Plesk’s involvement.

I can not use ‘localhost’ with mySQL DataSource in config.json, I have specified the IP address of the server instead of localhost.

"DataSource": "DB-USERNAME:DBPASSWORD@tcp(XXX.XXX.XX.XXX:3306)/DBNAME?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTimeout=30s"

Invalid Session

Instead of logging out, when I display the login screen of Mattermost surely an INFO level Invalid Session error occurs.

Since yesterday somehow MySQL error I first wrote has become very few.

{"level":"error","ts":1548220002.1904187,"caller":"jobs/jobs_watcher.go:70","msg":"Error occurred getting all pending statuses: SqlJobStore.GetAllByStatus: Unable to get the jobs, Status=pending, invalid connection"}

This error does not change.
I sent an invitation mail to a new user and had him access it. Then the screen was empty after mail authentication. There were two people like this.

There seems to be no problem in the post itself after logging in. It is done smoothly so far.