Mattermost fails connecting to pgpool?

Steps to reproduce the issue

Deploying on openshift
or
Deploying on docker
after deploying, do a signup and go to system console