Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Opera problem with cross domain / port requests #657

Closed
kitek opened this Issue · 1 comment

2 participants

Marcin Kitowicz Sergii Boiko
Marcin Kitowicz

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.

Sergii Boiko

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
Something went wrong with that request. Please try again.