pika.exceptions.ReentrancyError in pika python

178 Views Asked by At

File "C:venv\lib\site-packages\pika\adapters\blocking_connection.py", line 1858, in start_consuming 'start_consuming may not be called from the scope of '

pika.exceptions.ReentrancyError: start_consuming may not be called from the scope of another BlockingConnection or BlockingChannel callback

Error occurred when using three threads. Only two channels created using one connection. But not able to create more channels using same connection.

Please suggest ways to solve this problem. Thanks in advance.

0

There are 0 best solutions below