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

Parse Error: Expected HTTP on localhost #155

Open
tomasz-zukowski opened this issue Mar 14, 2024 · 0 comments
Open

Parse Error: Expected HTTP on localhost #155

tomasz-zukowski opened this issue Mar 14, 2024 · 0 comments

Comments

@tomasz-zukowski
Copy link

tomasz-zukowski commented Mar 14, 2024

Hello,
I'm facing some issue after updating from v6.0.0 to v7.2.0.
Trying to run wait-on by defining scripts in npm in my angular project:

"scripts": {
    "test:accessibility": "npm-run-all -p -r start check-accessibility",
    "check-accessibility": "wait-on http://localhost:4600/ && hint --debug http://localhost:4600",
}

The server was starting, but nothing more was heppening. I used --verbose parameter and here is the errors I've got:

making HTTP(S) head request to url:http://localhost:4600/ ...
HTTP(S) error for http://localhost:4600/ Error: Parse Error: Expected HTTP/

As mentioned it was working well on v6.0.0. I also noticed that when I use 127.0.0.1 instead of localhost then it works well.

image

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