Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Mattermost fails connecting to pgpool?

$
0
0

While trying to run mattermost,
It's working successfully with a single postgresql instance.

and while tries to run the same with postgresql cluster setup(for scaling)
It is failing to connect to database at some specific points and
throwing the below error.

[EROR] Failed to retrieve user profiles
team_id=5esim8ypjpbdub75hy693nwfny, err=SqlUserStore.GetProfiles:
store.sql_user.get_profiles.app_error, read tcp
x.x.x.x:49766->x.x.x.x:5432: i/o timeout

code
ref:https://github.com/mattermost/platform/blob/bb69e98631b2541954b6ae465b8ba5f788b9dc49/store/sql_user_store.go#L469

But at the same time chat, usercreation, and all are working properly on
the same setup. This is causing only while accessing the system
console.(attached a screen-shot of system console page)
,

and am not getting any clue to move forward, so please share if anyone
gets an idea and also please ask if more verbosity is needed

Thanks


Viewing all articles
Browse latest Browse all 25778

Trending Articles