socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Opera: spinning loading indicator

Open thekiur opened this issue 15 years ago • 4 comments

Using Socket.IO 0.8.6.

Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10

(Opera 11.10 on Windows 7) falls back to jsonp-polling and triggers the never-ending loading indicator.

Plus, the socket seems to die after initial connection. My chat application will populate the user list but wont send out any messages.

FlashSocket also fails to connect on Opera 11.10 with Flash 11 installed.

thekiur avatar Nov 01 '11 12:11 thekiur

Having the same issue with Opera, Socket will initially open connection and construct a history. However send events fail to fire from the client side.

The page appears to be continuously loading...

stewartl60 avatar Nov 09 '11 20:11 stewartl60

I have the same issue in Opera. It's because currently sio use jsonp for Opera, even when you host it on the subdomain of your main site. This can be fixed for subdomain, but require adding messaging between sio and main-site context for Opera. Other browsers doesn't require such behavior for cross-domain in one subdomain space.

cris avatar Nov 22 '11 12:11 cris

I mean, to fix this issue, instead of jsonp, should be used cross-subdomain AJAX. But in Opera it requires additional tricks with document/window.postMessage

cris avatar Nov 22 '11 12:11 cris

Still having this issue, on 0.8.7... can somebody come up with a patch? Needing it :(

thekiur avatar Jan 09 '12 10:01 thekiur