Published messages are not delivered to Queue

43 views
Skip to first unread message

Ravi Chikkam

unread,
Dec 1, 2014, 12:45:23 PM12/1/14
to cmb-use...@googlegroups.com
We are using CMB 2.2.42. When messages are published to a topic (CNS) the messages are not delivered to the subscribed queues (CQS). We are seeing the following error. Please help!

Mon Dec 01 17:35:04 UTC 2014

event=req status=failed client=127.0.0.1 queue=/416934154202/PublishJobQ_0 Action=ReceiveMessage WaitTimeSeconds=20 Version=2012-11-05 MaxNumberOfMessages=1 user=cns_internal resp_ms=1 cass_ms=0 cass_num_rd=0 cass_num_wr=0 redis_ms=0 io_ms=0 asyncq_ms=0 auth_ms=0

ERR unknown command 'EVALSHA' redis.clients.jedis.Protocol.processError(Protocol.java:115) redis.clients.jedis.Protocol.process(Protocol.java:133) redis.clients.jedis.Protocol.read(Protocol.java:202) redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:285) redis.clients.jedis.Connection.getOne(Connection.java:267) redis.clients.jedis.Jedis.getEvalResult(Jedis.java:2902) redis.clients.jedis.Jedis.evalsha(Jedis.java:2930) redis.clients.jedis.Jedis.evalsha(Jedis.java:2923) com.comcast.cqs.persistence.RedisSortedSetPersistence.receiveMessage(RedisSortedSetPersistence.java:1030) com.comcast.cqs.controller.CQSReceiveMessageAction.doAction(CQSReceiveMessageAction.java:127) com.comcast.cqs.controller.CQSControllerServlet.handleAction(CQSControllerServlet.java:238) com.comcast.cmb.common.controller.CMBControllerServlet.handleRequest(CMBControllerServlet.java:511) com.comcast.cmb.common.controller.CMBControllerServlet.access$200(CMBControllerServlet.java:65) com.comcast.cmb.common.controller.CMBControllerServlet$2.run(CMBControllerServlet.java:800) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745)

boriwo

unread,
Dec 1, 2014, 1:47:16 PM12/1/14
to cmb-use...@googlegroups.com
What version of Redis are you using? The error message sounds like Redis doesn't understand the EVALSHA command which CMB is using. For CMB to work you need at least Redis 2.6, in fact we recommend using 2.8.

If you are already running Redis 2.6 or higher, another possibility is that the EVALSHA command is disabled or shadowed for security reasons. Please check your Redis config.

Also, the error comes from the CQS sub system not CNS. For trouble shooting I suggest you try to get CQS to work first and then CNS (because CNS builds on CQS and won't work without it).
Reply all
Reply to author
Forward
0 new messages