Health checks do not connect on tcp socket for Openshift Online v3

Solution Verified - Updated -

Issue

After build application hold on more than 5 minutes throwing Readiness Health Check failed errors

Readiness probe failed: Get http://10.10.10.10:8080/api/ready: dial tcp 10.10.10.10:8080: getsockopt: connection refused

But when doing curl to the "/api/ready" after status Created container gets a healthy response.

Environment

Red Hat Openshift Online v3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In