Opera problem with cross domain / port requests #657

kitek opened this Issue Nov 21, 2011 · 1 comment


None yet

2 participants


Hi, I'm using:

node: v0.6.2
socket.io: 0.8.7
Socket.IO.js build:0.8.7
Opera 11.52

and i have a comunication problem with Opera when socket.io and webserver are located on different port / host.
I have created a simple example (based on your chat example) to reproduce an error: kitek/socket.io@9b7d548

I think Opera can't establish connection to socket.io and it is associated with support for Cross-Origin Resource Sharing.


I use Opera as well and it works for cross-domain via jsonp. You are using quite non-production scheme.
My working environment is site.local, comet.site.local(instead of localhost:300x). All proxied through HaProxy. It emulates live environment on production.

Opera can have issue especially with localhost. You can try to put it in your etc/hosts alias to 'yoursite.local' and use it instead of localhost.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment