You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So check the message handling code on your side. It should be one off:
undef: message is done;
equal or greater than -1: a REQ will be sent with that value as delay.
If you return a hashRef, it will end-up on this branch (a string like that would be converted to 0), and it will fail all the normalisation tests we have on requeue_msg() also, and it would end up on the protocol.
I think -1 case is a bug, it should be >= 0, but this issue would still be allowed through.
So, to summarise, look at your message code, you are returning a hashRef somewhere, and you need to return either undef or a >= 0 integer.
Finally, this setup with return codes doesn't allow for asynchronous processing of messages, you cannot start something else, and later call a method to mark the message as done, or requeued.
I've been emailing another developer also using this code and he will write that part and send us, so we'll get it eventually.
This is the message on nsqd
2014/09/02 00:21:05 ERROR: [127.0.0.1:60252] - E_INVALID REQ could not parse timeout HASH(0xadb8ba8) - failed to convert to Base10
Will add further info later on
The text was updated successfully, but these errors were encountered: