Skip to content

How to customize the pgautofailover_replicator username and password when the second run at the first time #1093

@omyhub

Description

@omyhub

11:30:54 12800 ERROR Connection to database failed: connection to server at "primary" (10.4.xx.xx), port 5432 failed: fe_sendauth: no password supplied
11:30:54 12800 ERROR Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?" after 10 attempts in 3568 ms, pg_autoctl stops retrying now
11:30:54 12800 WARN Failed to contact the primary node 1 "node_1" (primary:5432)

11:30:55 12800 WARN Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?", retrying until the server is ready
11:30:58 12800 ERROR Connection to database failed: connection to server at "primary" (10.4.xx.xx), port 5432 failed: fe_sendauth: no password supplied
11:30:58 12800 ERROR Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?" after 8 attempts in 3464 ms, pg_autoctl stops retrying now
11:30:58 12800 WARN Failed to contact the primary node 1 "node_1" (primary:5432)
11:30:59 12800 WARN Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?", retrying until the server is ready
11:31:02 12800 ERROR Connection to database failed: connection to server at "primary" (10.4.xx.xx), port 5432 failed: fe_sendauth: no password supplied
11:31:02 12800 ERROR Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?" after 7 attempts in 2471 ms, pg_autoctl stops retrying now
11:31:02 12800 WARN Failed to contact the primary node 1 "node_1" (primary:5432)
11:31:02 12800 INFO Still waiting for the to create our replication slot
11:31:02 12800 WARN Please make sure that the primary node is currently running pg_autoctl run and contacting the monitor.
11:31:03 12800 WARN Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?", retrying until the server is ready
11:31:06 12800 ERROR Connection to database failed: connection to server at "primary" (10.4.xx.xx), port 5432 failed: fe_sendauth: no password supplied
11:31:06 12800 ERROR Failed to connect to "postgres://pgautofailover_replicator@primary:5432/postgres?" after 7 attempts in 2857 ms, pg_autoctl stops retrying now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions