Red Hat Single Sign-On (RH SSO) Operator is failing to connect to the external Database when using an IP Address

Solution Verified - Updated -

Issue

When trying to setup SSO using the RH SSO Operator with an external PostgreSQL Database on the IP Address 1.1.1.1, the Keycloak pod crashes with the following error:

Caused by: org.postgresql.util.PSQLException: The connection attempt failed.    

Environment

  • Red Hat Single Sign-On (RH SSO)
    • 7.X (Operator)
  • Red Hat OpenShift Container Platform (OCP)
    • 4.X

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content