I have been using ws4py to provide web sockets from CherryPy. On my Mac OS X development environment, CherryPy 3.8.0, ws4py 0.3.4, python 2.7.10, things appear to work fine. Then I moved the code over to a CentOS box. Identical versions of everything but python itself, which is 2.7.6 rather than 2.7.10. Now, for some reason, the web socket shows no indication that it ever receives messages from the client. I can establish the socket connection fine, and messages sent from the server to the client via the socket get through, but when sending a message back, or closing the connection from the client, neither the received_message or closed functions of the socket ever get called. Obviously this causes serious difficulties in being able to use the socket. What am I doing wrong? Why does it work perfectly from one OS, and not at all from another?
On a related note, is ws4py considered stable? Between this issue, and the other issues I have asked about here, as well as some I have simply worked around, I'm getting the feeling that I should be looking for a different solution. Or is it just that I am doing something wrong?
Thanks for any information.