Not able to access the vault from container

10/13/2021

I have a MSFT Container in my data center. After restarting the pod, im seeing the following error.

Init:CrashLoopBackOff

So when I took the logs of init container, I'm able to see following trace

    Exception in thread "main" org.springframework.vault.authentication.VaultLoginException: Cannot login using org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://XXXX.XX.XX.X:XXXX/v1/auth/oke_dp/login": Connection timed out (Connection timed out); nested exception is java.net.ConnectException: Connection timed out (Connection timed out)

When I checked the network policy in this env, it looks fine.

Can someone please help me to sort this issue?

-- Sreehari Kezhedath
containers
docker
kubernetes
timeout

0 Answers