Replies: 2 comments 2 replies
-
New information |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see that in the test code you use the Does the operation fail if you also use the this.connection.sync().set("test", "value");
this.connection.sync().get("test");
this.pubSubConnection.sync().publish("test-channel", "test"); // THIS LINE IS ALTERED |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I have a discord bot(discord-jda) that uses Lettuce Redis client. I use Lettuce client and connection with default settings(we could say everything is default).
After 2-5 minutes(or more), when a do "connection.sync().publish" it stucks one minute then throw RedisServerDisconnect error with or without timeout exception. The thing is I can set, del, etc. without any problem! It only happens when publishing something.
Important: It happens only if the Redis database server and application are in different region/network. If Redis database server and application are in same network/dedicated server, it works.
Base redis connection code
Test code
Environment
Beta Was this translation helpful? Give feedback.
All reactions