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

Invalid Host/Origin header in local development #42

Open
SydneyUni-Jim opened this issue Jun 20, 2021 · 4 comments
Open

Invalid Host/Origin header in local development #42

SydneyUni-Jim opened this issue Jun 20, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@SydneyUni-Jim
Copy link

In local development, after the first live reloading the console fills repeatedly with following 2 errors:

client:169 Invalid Host/Origin header
client:172 [WDS] Disconnected!

I can reproduce this when following through the getting started tutorial.

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
@exlibris/exl-cloudapp-cli: v1.0.1
npm: v6.14.13
node: v14.17.1

@jweisman
Copy link
Contributor

Hi @SydneyUni-Jim - thanks for this report. It looks like this is webpack/webpack-dev-server#1604. We're checking work-arounds.

@jweisman
Copy link
Contributor

We've published a new minor version which supports arguments on eca start. As a workaround you can use eca start --disable-host-check (after installing the latest CLI).

@SydneyUni-Jim
Copy link
Author

The new option resolved this issue for me. Thanks @jweisman for the speedy response.

@jweisman
Copy link
Contributor

I'm glad- thanks for the feedback. I'm going to leave this open as we try to fix the underlying issue.

@jweisman jweisman reopened this Jun 21, 2021
@jweisman jweisman added the bug Something isn't working label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants