Configure standby failing

While configuring a stand-by node, the process fails after sometime with a connection termination.

The standby node can reach the master in all 443, 5432 and 1999 ports and also has enough resources (memory/cpu).

root@01e46ffcc731:/# evoke unpack seed /root/standby.tar
tar: Removing leading `/’ from member names
Seed file was successfully unpacked.
Run ‘evoke configure standby’ or ‘evoke configure upgradable’ to configure this machine.

root@01e46ffcc731:/# evoke configure standby

psql: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
psql: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
error: Replication connection could not be established

root@01e46ffcc731:/# free -g
total used free shared buff/cache available
Mem: 15 0 13 0 1 14
Swap: 0 0 0

root@01e46ffcc731:/# nproc
4

root@01e46ffcc731:/# nc -v $master 443
Connection to $master 443 port [tcp/https] succeeded!
^C
root@01e46ffcc731:/# nc -v $master 5432
Connection to $master 5432 port [tcp/postgresql] succeeded!
^C
root@01e46ffcc731:/# nc -v $master 1999
Connection to $master 1999 port [tcp/*] succeeded!

1 Like

Did you ever find a solution for this? We’re running into the same “Replication connection could not be established” trying to evoke configuration of the standby.

Hi @BL75082, sorry for the delay! No, unfortunately I was not able to fix this and gave up on configuring stand-by, waiting to have an opportunity to work on it again.

Cheers.

Hey @joalmaraz and @BL75082 ,

Just to be clear, are you running the open source version? If so, the evoke tool and standby are not available in the OSS version. You would need to use the Enterprise version of Conjur to use Evoke and the standby feature.

Some people have been experimenting in the forum with other ways to do this with the OSS version in the forum, so it might be worth searching for those threads.

Thanks,
John