I have been using rabbitmqBundle for 2 years without problem, but i just created a new project with symfony 5.3 and rabbitmqbundle 2.7.0 and now i have this problem.
First step : I launch the consumer (php bin/console rabbitmq:consumer xxxxx) which will create the tail and it will consume the message that will arrive, it good.
second step :I stop consuming it (or it crashes due to a bug in my code).
third step : I restart my consumer so that it reconnects to my tail to consume message that arrived while it was shut down, but that's where my problem occurs. If the queue has no messages in it everything works, but if there is at least one message in it then the consumer stops with the error message: INTERNAL_ERROR (0,0).
I have to delete my queue (and therefore lose all the messages), then go back to step 1
I have another project running on the same rabbitmq server and I don't have this problem.
Here are the logs of my rabbitmq-server when the problem arises.
Here are the logs of my consumer php rabbitmq with option debug when the problem arises.
Hi,
Sorry for my english, i am french.
I have been using rabbitmqBundle for 2 years without problem, but i just created a new project with symfony 5.3 and rabbitmqbundle 2.7.0 and now i have this problem.
php bin/console rabbitmq:consumer xxxxx
) which will create the tail and it will consume the message that will arrive, it good.I have to delete my queue (and therefore lose all the messages), then go back to step 1
I have another project running on the same rabbitmq server and I don't have this problem.
Here are the logs of my rabbitmq-server when the problem arises.
Here are the logs of my consumer php rabbitmq with option debug when the problem arises.
`` bin/console ra:co wexlog_discrepancy --debug < [hex]: 0000 41 4D 51 50 00 00 09 01 AMQP....
waiting for 10,10 waiting for a new frame
< 10,11:: Connection.start_ok waiting for 10,20, 10,30 waiting for a new frame
< 10,31:: Connection.tune_ok < 10,40:: Connection.open < [hex]: 0000 01 00 00 00 00 00 16 00 0A 00 28 0F 72 65 63 65 ........ ..(.rece 0010 74 74 65 35 2E 64 65 76 2E 72 62 00 00 CE tte5.dev .rb..�
< 10,40:: Connection.open waiting for 10,41 waiting for a new frame
< 20,10:: Channel.open waiting for 20,11 waiting for a new frame
< 20,10:: Channel.open waiting for 20,11 waiting for a new frame
< 40,10:: Exchange.declare waiting for 40,11 waiting for a new frame
< 50,10:: Queue.declare waiting for 50,11 waiting for a new frame
< 50,20:: Queue.bind waiting for 50,21 waiting for a new frame
< 60,20:: Basic.consume waiting for 60,21 waiting for a new frame waiting for any method waiting for a new frame
< 10,51:: Connection.close_ok closing input closing socket
In AbstractConnection.php line 760:
INTERNAL_ERROR(0, 0)
rabbitmq:consumer [-m|--messages [MESSAGES]] [-r|--route [ROUTE]] [-l|--memory-limit [MEMORY-LIMIT]] [-d|--debug] [-w|--without-signals] [--]
< 20,40:: Channel.close < [hex]: 0000 01 00 02 00 00 00 0B 00 14 00 28 00 00 00 00 00 ........ ..(..... 0010 00 00 CE ..�
closing input closing socket
``
thank you in advance for your help