Description:
We had dns failure which was restored and now apps can’t connect to postgres dbs. These are the logs
2023-08-13 18:26:16.593 UTC [8] WARNING C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:59178 pooler error: SSL required
2023-08-13 18:26:18.222 UTC [8] LOG C-0x5646eb355bf0: netbox/(nouser)@10.42.115.196:35668 closing because: server login has been failing, try again later (server_login_retry) (age=0s)
2023-08-13 18:26:18.222 UTC [8] WARNING C-0x5646eb355bf0: netbox/(nouser)@10.42.115.196:35668 pooler error: server login has been failing, try again later (server_login_retry)
2023-08-13 18:26:26.588 UTC [8] LOG C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:49462 closing because: SSL required (age=0s)
2023-08-13 18:26:26.588 UTC [8] WARNING C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:49462 pooler error: SSL required
2023-08-13 18:26:32.994 UTC [8] LOG stats: 0 xacts/s, 0 queries/s, in 0 B/s, out 0 B/s, xact 0 us, query 0 us, wait 0 us
Can I restart the cluster somehow to reset the login certs? Everything worked fine, but now pgbouncer can’t authenticate logins.
Version:
2.2.0
Logs:
2023-08-13 18:26:16.593 UTC [8] WARNING C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:59178 pooler error: SSL required
2023-08-13 18:26:18.222 UTC [8] LOG C-0x5646eb355bf0: netbox/(nouser)@10.42.115.196:35668 closing because: server login has been failing, try again later (server_login_retry) (age=0s)
2023-08-13 18:26:18.222 UTC [8] WARNING C-0x5646eb355bf0: netbox/(nouser)@10.42.115.196:35668 pooler error: server login has been failing, try again later (server_login_retry)
2023-08-13 18:26:26.588 UTC [8] LOG C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:49462 closing because: SSL required (age=0s)
2023-08-13 18:26:26.588 UTC [8] WARNING C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:49462 pooler error: SSL required
2023-08-13 18:26:32.994 UTC [8] LOG stats: 0 xacts/s, 0 queries/s, in 0 B/s, out 0 B/s, xact 0 us, query 0 us, wait 0 us
There is also this in logs
2023-08-13 18:32:58.268 UTC [8] WARNING DNS lookup failed: pg-cluster-pg-db-primary: result=0
2023-08-13 18:32:58.268 UTC [8] LOG S-0x5646eb366d60: netbox/_crunchypgbouncer@(bad-af):0 closing because: server DNS lookup failed (age=0s)
but DNS works in the cluster for other pods and applications