Support Topics Documentation Slack YouTube Blog

Why am i getting this Redis socket timeout?


(Okwui Agada) #1

I made a service to use in querying and returning my query result as json. It worked the first time but now I keep getting this error

Exception in thread “ResponderProcessor” CodeRunnerException{code=0, message=‘java.net.SocketTimeoutException: Read timed out’, errorData=null}

at com.backendless.coderunner.processor.ResponderProcessor.run(ResponderProcessor.java:60)

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out

at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:202)

at redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)

at redis.clients.jedis.Protocol.process(Protocol.java:151)

at redis.clients.jedis.Protocol.read(Protocol.java:215)

at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)

at redis.clients.jedis.Connection.getIntegerReply(Connection.java:265)

at redis.clients.jedis.BinaryJedis.publish(BinaryJedis.java:3064)

at com.backendless.coderunner.processor.ResponderProcessor.run(ResponderProcessor.java:56)

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

at java.net.SocketInputStream.read(SocketInputStream.java:171)

at java.net.SocketInputStream.read(SocketInputStream.java:141)

at java.net.SocketInputStream.read(SocketInputStream.java:127)

at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:196)

… 7 more


(Anton Govorushkin) #2

Hello, Okwui Agada

Are you still experiencing this issue?

Anton


(Anton Govorushkin) #3

Closing this issue due to inactivity. If you ever face this problem again - please leave a comment or created a new topic

Regards Anton