Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OriginNotPermittedException on non-default allowedOrigins option #31

Open
cj-wong opened this issue Jan 11, 2023 · 0 comments
Open

OriginNotPermittedException on non-default allowedOrigins option #31

cj-wong opened this issue Jan 11, 2023 · 0 comments

Comments

@cj-wong
Copy link

cj-wong commented Jan 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant