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
xhr-polling and jsonp-polling don't seem to work (for the django chat example) in IE9 #142
Comments
Can you try with Chrome or Firefox and see what's going on in the console? 2013/5/20 a-e-m notifications@github.com
|
In Chrome, the responses/requests looked like this (for the websocket transport): First request: Second request: Websocket frames: [more "2::"] 5::/chat:{"name":"user message","args":["test"]} Firefox with WebSockets looks about the same. I tried Firefox with WebSockets and Flash disabled. Here are the results: First request: Second request: The rest of the XHR-polling requests had the same URL except for the timestamp, so I'll just list all of the requests/responses (one on a line, including the first xhr-request response already given above). XHR-polling response bodies: [more "2::"] 5:1+:/chat:{"name":"nickname","args":["test"]} (request) [... more omitted for length] Basically, it worked fine with WebSockets, it worked fine with Flash, and it worked fine with xhr-polling in Firefox. But for some reason, it didn't work with xhr-polling or jsonp-polling in IE. |
Please read invitation to Wednesday September 18th's sprint: https://groups.google.com/forum/#!topic/gevent-socketio/2OIRKA8M2uE |
I'm running the server on an Ubuntu virtual machine (Quantal) and the client is IE9 on Windows Vista, with Flash disabled to test the other transports. I'm just testing, so I'm running the django chat example as it says to (./bin/django runserver_socketio)
Library information:
Gevent version 13.8 / Greenlet version 0.4.0 (the latest versions of both)
Newest versions of gevent-websocket and gevent-socketio available on PyPI
The first socketio request looks like this:
URL: http://192.168.1.6:8000/socket.io/1/?t=1369019846312
Request body: 807003570925:60:60:websocket,xhr-multipart,htmlfile,jsonp-polling,flashsocket,xhr-polling
The next request is like this:
URL: http://192.168.1.6:8000/socket.io/1/htmlfile/807003570925?t=1369019846524
Request body: 5120
1:: [lots of white space for padding]
Then there's a bunch of apparently randomly alternating xhr-polling and jsonp-polling requests and responses, which all only involve message types 1, 2, and 8. (connect, heartbeat, and noop.) The problem is that the example never actually works, it just sits there saying "connecting to the server", which is odd because it's definitely connected to the server.
Is there something wrong with my setup, or is something going wrong with gevent-socketio?
The text was updated successfully, but these errors were encountered: