debasishg / scala-redis

A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.
1.02k stars 219 forks source link

Using with memcached redis protocol times out #299

Open sedhha opened 2 years ago

sedhha commented 2 years ago

I am trying to setup a redis client. Here's how my cloud configuration looks like:

image

I am using the SAML password to make the connection as shown below: image

I am using the following code to make a connection which doesn't give any error:

scala> val client = new RedisClient(host="HOST ADDRESS",port=PORTNUMBER,database=0,secret=Option("SecretKey"))

which is working fine but when I try to make a get item request as shown below:

client.get("Something")

it takes a very long time and then times out can someone help me understand if I need to modify any configurations or something?