Skip to content

OriginNotPermittedException on non-default allowedOrigins option #31

@cj-wong

Description

@cj-wong

Hi,

I'm getting this error when I try to access my server after adding allowedOrigins to my configuration file. I currently use the Docker package (version 1.1.13) to set it up. From there, I access the server through a reverse proxy. If I omit allowedOrigins or set it to the default value ([]), I encounter no problems. However, I've tried adding the subdomain I use for xBrowserSync, and I get that error. I've also tried using the IP address of the proxy and the host, and also get the same error. I also tried using a regex as explained in here, but the service won't even start, even if the regex is quoted.

I'm not sure how to proceed, but I currently don't have allowedOrigins set. Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions