Skip to content

IE7 with node server on same domain, different port: access denied #69

@gygelly

Description

@gygelly

I'm using the socket.io-node server 6.1 for testing and as an example so you can easily recreate the issue.
Everything works great when the browser goes directly to mydomain:8080/chat.html.
However, I'd like to host the files via nginx on port 80 (with the node server still running on port 8080).
Everything works great when I use any browser besides IE7, and go to mydomain/chat.html. This includes IE6 and IE8.
However, when I use IE7, I get the following script error:

Line 338 (I think it's actually line 337, when req.open is called).

Char 3

Error: access is denied

code:0

IE7 is defaulting to htmlfile. It gives the same error when I try to force xhr-multipart, or xhr-polling, and fails without an error when I force flashsocket.
Both IE6 and IE8 also use htmlfile, but work perfectly. All 3 browsers are using the same default security settings of "medium-high".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions