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
When producing RR will try to create the same queue delayed-20000.amqp.direct. for them, which will cause an error:
Error 'rpc_push:
jobs_plugin_push:
rabbitmq_push:
rabbitmq_handle_item: Exception (406) Reason: "PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-routing-key' for queue 'delayed-20000.amqp.direct.' in vhost '/': received 'queue2' but current is 'queue1'"' on tcp://127.0.0.1:6001
I think this is happening because we have a direct exchange type and there are no queue names in the pipeline config.
Maybe we should add a check for an empty queue and use "rk" instead at this point?
Relevant log output
2023-11-28T05:08:05+0000 INFO server {"message":"Exception thrown when handling an exception (Spiral\\RoadRunner\\Jobs\\Exception\\JobsException: Error 'rpc_push:\n\tjobs_plugin_push:\n\trabbitmq_push:\n\trabbitmq_handle_item: Exception (406) Reason: \"PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-routing-key' for queue 'delayed-20000.amqp.direct.' in vhost '/': received 'queue2' but current is 'queue1'\"' on tcp://127.0.0.1:6001 at /var/www/project/vendor/spiral/roadrunner-jobs/src/Queue/Pipeline.php line 47)","context":{"exception":{"class":"Spiral\\RoadRunner\\Jobs\\Exception\\JobsException","message":"Error 'rpc_push:\n\tjobs_plugin_push:\n\trabbitmq_push:\n\trabbitmq_handle_item: Exception (406) Reason: \"PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-routing-key' for queue 'delayed-20000.amqp.direct.' in vhost '/': received 'queue2' but current is 'queue1'\"' on tcp://127.0.0.1:6001","code":0,"file":"/var/www/project/vendor/spiral/roadrunner-jobs/src/Queue/Pipeline.php:47","previous":{"class":"Spiral\\Goridge\\RPC\\Exception\\ServiceException","message":"Error 'rpc_push:\n\tjobs_plugin_push:\n\trabbitmq_push:\n\trabbitmq_handle_item: Exception (406) Reason: \"PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-routing-key' for queue 'delayed-20000.amqp.direct.' in vhost '/': received 'queue2' but current is 'queue1'\"' on tcp://127.0.0.1:6001","code":0,"file":"/var/www/project/vendor/spiral/goridge/src/RPC/RPC.php:101"}}},"level":500,"level_name":"CRITICAL","channel":"exception","datetime":"2023-11-28T05:08:05.481257+00:00","extra":{"http_method":"GET","ip":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36","status_code":500}}
The text was updated successfully, but these errors were encountered:
Hey @fereron 👋
Yes, you're right, this is the bug. We should add some randomness to these values. Will be fixed in the next bugfix release. Thanks for noting that 👍
No duplicates 🥲.
What happened?
..
Version (rr --version)
2023.3.6
How to reproduce the issue?
When producing RR will try to create the same queue
delayed-20000.amqp.direct.
for them, which will cause an error:I think this is happening because we have a direct exchange type and there are no queue names in the pipeline config.
Maybe we should add a check for an empty queue and use "rk" instead at this point?
Relevant log output
The text was updated successfully, but these errors were encountered: