Skip to content

Disconnect response has no allow-origin #986

@rdzar

Description

@rdzar

When a socket.io connection is alive and reload my page, I get this error message;

XMLHttpRequest cannot load https://api.s.com/socket.io/1//_vlX-debgDV22Dhw2G4x/?disconnect=1. 
Origin https://localhost.s.com is not allowed by Access-Control-Allow-Origin.
2
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101
socket.io.js:1861

When I inspect the response it indeed doesn't have anything regarding Access-Control-Allow-Origin at all.

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