[zeromq-dev] Incompatibility between PyZMQ and uWSGI
Jaime Fernández
jjjaime at gmail.com
Tue Nov 23 17:16:33 CET 2010
Hi all,
I'm using the Python binding for ZMQ.Initially I was using 2 patterns:
REQ/REP and PUSH/PULL with the reference WSGi server (wsgiref) and
everything worked perfectly.
Yesterday, I decided to move the code to a sandbox based on 2 Ubuntu
machines (Ubuntu 10.04 LTS). I installed the latest versions of zmq and
pyzmq (both of them were 2.0.10) available in the website as tar.gz.
Although everything compiled, the PUSH/PULL messages were not exchanged
(even in the same machine). Everything was solved after downloading the GIT
version of both zmq and pyzmq.
However, the unsolved problem is that zmq (or pyzmq) does not work when
executed in uWSGI server. I don't know what's the reason of the problem but
no zmq message is sent from the code executed inside the uWSGI. However, if
the code is executed inside wsgiref, ZMQ works perfectly.
Do you know what can cause this behaviour? Any solution? Could another ZMQ
version fix the problem?
Thanks in advance,
Jaime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101123/40bada68/attachment.htm>
More information about the zeromq-dev
mailing list