I’m trying to create a DR replication between 2 Vault clusters. Both of them are deployed in EKS clusters, and used primari_api_addr for secondary override, since on the primary cluster we use Calico, so the IP address extracted from the JWT will not work, we needed to override it to the Load Balancer domain ending. I got a very weird error.
vault write sys/replication/dr/secondary/enable token=“token” primary_api_addr=“ip override”
Error writing data to sys/replication/dr/secondary/enable: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/sys/replication/dr/secondary/enable
Code: 500. Errors:
- 1 error occurred:
* error unwrapping secondary token: Post “https://ip-override/v1/sys/wrapping/unwrap”: EOF
I couldn’t see anything in the logs. Only an EOF. Could you help me how can i debig this?