Cannot resolve domain name when using lettuce library to connect Redis running on Openshift Container Platform

Solution Verified - Updated -


  • Cannot resolve the domain name when using lettuce-core library to connect Redis server running on OpenShift.


  • spring-boot-starter-data-redis 2.3.*
  • lettuce-core 5.x.x
  • Openshift Container Platform 4.x
  • Base image Red Hat Universal Base Image 7/8, UBI7/8

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