Skip to content

"?disconnect=1" response has no allow-origin #1214

@tarikozket

Description

@tarikozket

Using socket.io with subdomain like "socket.mydomain.com" and client configured sync disconnect on unload to true. and server origins configured to ":"

when I press the refresh button after connection establish, that log appears on console:

XMLHttpRequest cannot load http://socket.mydomain.com:443/socket.io/1//1AMbT-zUoTlrJ1tiw-0H/?disconnect=1. Origin http://mydomain.com is not allowed by Access-Control-Allow-Origin.
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101

socket.io version : 0.9.11
nodejs version : 0.10.4

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