Skip to content

Browser sync | socket.io Allow origin errors #2636

Open
@rollermy

Description

@rollermy
  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack v4.2.0 / v4.2.2
Node v8.1.2
npm 5.4.0
Operating System Ubuntu 17.04
browser chrome / firefox
Item Answer
Transpiler Babel
Markup HTML
CSS SCSS
Router ui-router
Client Tests Mocha
DB MongoDB
Auth Y

I'm getting this error over and over in the console:

Failed to load http://localhost:3001/browser-sync/socket.io/?EIO=3&transport=polling&t=LwCIPFx: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://localhost:3000' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

Happens in my old project and in the new one i just generated. It is make the browser debugger unusable. Every 5s or so the same error is printed.
It seems to have something to do with browsersync and socket.io but i'm not sure how to debug it from there.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions