[rabbitmq-discuss] UNEXPECTED_FRAME - expected content header for class 60, got non content header frame instead
Simon MacMullen
simon at rabbitmq.com
Thu May 8 14:24:57 BST 2014
On 08/05/14 14:06, xeon Mailinglist wrote:
> I want to execute a set of actions in parallel, so I am trying to run
> python multiprocessing to execute a remote function that I call with the
> help of celery.
> RabbitMQ is the message broker.
>
> My program runs ok if I just run one process. But when I run more than
> one process, I get the error below. As far as I got, the issue is with
> concurrent publishing on the same channel.
>
> RabbitMQ doesn't support concurrent call? I should make this call
> serializable?
Not on the same channel. As long as you open one channel per thread you
should be good.
Cheers, Simon
> File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py",
> line 526, in _close
> (class_id, method_id), ConnectionError)
> UnexpectedFrame: Basic.publish: (505) UNEXPECTED_FRAME - expected
> content header for class 60, got non content header frame instead
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list