Postgres looping with the next error: panic: error checking stolon status

Hello, seems like my web app stopped working due to Postgres unavailability. Here are the logs from Postgres

2023-04-01T17:05:00.342 app[3d8dd11b019389] fra [info] keeper | 2023-04-01T17:05:00.341Z ERROR cmd/keeper.go:811 error retrieving cluster data {"error": "invalid character '\\x06' in string literal"}

2023-04-01T17:05:00.349 app[3d8dd11b019389] fra [info] keeper | 2023-04-01T17:05:00.349Z ERROR cmd/keeper.go:719 cannot get configured pg parameters {"error": "dial unix /tmp/.s.PGSQL.5433: connect: no such file or directory"}

2023-04-01T17:05:00.396 app[3d8dd11b019389] fra [info] keeper | 2023-04-01T17:05:00.395Z ERROR cmd/keeper.go:1041 error retrieving cluster data {"error": "invalid character '\\x06' in string literal"}

2023-04-01T17:05:00.421 app[3d8dd11b019389] fra [info] sentinel | 2023-04-01T17:05:00.421Z ERROR cmd/sentinel.go:1852 error retrieving cluster data {"error": "invalid character '\\x06' in string literal"}

2023-04-01T17:05:00.891 app[3d8dd11b019389] fra [info] checking stolon status

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] panic: error checking stolon status: cannot get cluster data: invalid character '\x06' in string literal

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] : exit status 1

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] goroutine 9 [running]:

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] main.main.func2(0xc0000ce000, 0xc000082a00)

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] /go/src/github.com/fly-examples/postgres-ha/cmd/start/main.go:81 +0x72c

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] created by main.main

2023-04-01T17:05:01.125 app[3d8dd11b019389] fra [info] /go/src/github.com/fly-examples/postgres-ha/cmd/start/main.go:72 +0x43b

2023-04-01T17:05:01.816 app[3d8dd11b019389] fra [info] Starting clean up.

2023-04-01T17:05:01.832 app[3d8dd11b019389] fra [info] Umounting /dev/vdb from /data

2023-04-01T17:05:02.838 app[3d8dd11b019389] fra [info] [ 3.175089] reboot: Restarting system

I appreciate any help.

I’ve recreated the new DB from a snapshot and attached it to the app

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.