-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in Python3.3 and not in Python2.7 #82
Comments
I realized I have a wrong issue here. I will repost the proper question. |
What happens when you set verify=False?
Support for SSL certificate verification is experimental and even though the code is there, I recall having trouble getting it to work. Connecting to an HTTPS/WSS server is only guaranteed with verify=False. |
Server certificate verification and client certificate encryption seem to work properly now (see #54). I haven't changed anything in the code, so I am assuming that there must have been a fix introduced in the |
First, thank you so for writing this package! I appreciate your work and it has been very helpful.
I have a simple socket.io emitter and listener I wrote that has been running for the past 6 months ago or so. I upgraded python from 2.7 to 3.3 and am now getting an odd error. The pared down code is as follows:
Python socketio-client emitter is:
When I run the first script with with Python2.7 everything works fine. No errors and I get the proper output from the socket.on("test"...) part.
When I run the code with Python3.3 then I get errors:
The line in the socketIO-client python code is looking for a response of 200:
It appears others have asked similar questions but I have not seen any responses that work. I have tried different machines, Python 3.3 and Python 3.4 and tried re-installing the node and socket.io via npm but to no avail. The really weird thing is that 1 in 10 times I run it in Python 3.3 it works. The other 9/10 times I get the above error.
Any ideas would be appreciated.
The text was updated successfully, but these errors were encountered: