Getting 503 Service Unavailable when accessing route and Network Policies are enabled in RHOCP4

Solution Verified - Updated -

Issue

  • When the allow-from-openshift-ingress and deny-by-default network policy is enforced,
  • When hitting the route url, 503 error received
# curl -vk https://www.example.com/
* About to connect() to www.example.com port 443 (#0)
*   Trying 10.10.0.1...
* Connected to www.example.com (10.10.0.1) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* -----  Output Trimmed-----------
* HTTP/1.0 503 Service Unavailable

Environment

  • Red Hat OpenShift Container Platform 4.6
  • NetworkType: OpenShiftSDN

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In