-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Describe the bug
In some scenarios, there is a loss of connection between database and pgwatch.
In that time in both pgwatch and database logs there is a log variant on FATAL: password authentication failed for user "pgwatch"
While investigating I've checked DNS, IPs, password etc.
I've fond idle pgwatch connection in db and removed it but the problem still remained.
pgwatch restart fixed the issue at least for a while
To Reproduce
I am unable to tell how exactly the error occurs
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Version pgwatch: 3.5.0
- Version db: 15, 16, 17
Additional context
pgwatch seems to try to use and old connection from it's memmory, that does not exists in the database no more.
Creating new connection fixes the issue