miguelgrinberg / python-socketio

Python Socket.IO server and client
MIT License
3.98k stars 587 forks source link

Failing for iOS 5 Safari - Something is causing a hang #46

Closed blockjon closed 5 years ago

blockjon commented 8 years ago

When I try my sockio project using python-socketio, it works in all browsers that Ive tried it on except for safari on an iPhone5. It fails there in both a real iPhone5 device as well as apple's iOS simulator. i cant figure out how to debug it. the problem commonly happens when you first load my socket io app .. and i think the problem relates to the code that manages the pausing and connection upgrading.

I believe that the problem relates to this library since the iOS 5 demos work on http://socket.io/ so deductive reasoning tells me there's something causing this from within python-socketio.

Can someone comment on how the pausing/upgrading is supposed to work and explain why perhaps it seems to hang on iOS5 Safari?

miguelgrinberg commented 8 years ago

Not sure how easy this is, but it would be very useful if you can get Socket.IO logging enabled on the iPhone, and also on the server.

miguelgrinberg commented 5 years ago

Reopen if this is still a problem.