Hi!
I'm trying some simple reading operations from to the Redis memorystore.
My code is in a GCP Function and is written in Go as follows:
client := Client: redis.NewClient(&redis.Options{
Addr: addr,
DB: db,
})}
val, err := client.Get(ctx, key).Result()
if err == redis.Nil {
return nil, nil
}
if err != nil {
return nil, fmt.Errorf("[GET_REDIS_KEYWORDS]: %v", err)
}
The error I'm facing is this: read tcp IP:PORT: i/o timeout