Skip to content

https://codocs.y-js.org/ websockets blocked by CORS policy #22

@peter-hartmann

Description

@peter-hartmann

When visiting https://codocs.y-js.org/ using Chrome browser Version 65.0.3325.181 (Official Build) (64-bit) I'm getting the error shown below in the dev console:

Failed to load https://y-websockets-server-karpclbnxp.now.sh/socket.io/?EIO=3&transport=polling&t=MAoVTsQ: Redirect from 'https://y-websockets-server-karpclbnxp.now.sh/socket.io/?EIO=3&transport=polling&t=MAoVTsQ' to 'https://zeit.co/deployments/y-websockets-server-karpclbnxp.now.sh?redirect=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://codocs.y-js.org' is therefore not allowed access.

Browsers Affected

  • Chrome CORS issue
  • Firefox CORS issue
  • Safari didn't try
  • Edge shows another error: ReferenceError: 'BroadcastChannel' is not defined

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