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 when training some images projects #284

Closed
dalelane opened this issue Feb 21, 2020 · 3 comments
Closed

Parse Error when training some images projects #284

dalelane opened this issue Feb 21, 2020 · 3 comments

Comments

@dalelane
Copy link
Member

No description provided.

@dalelane
Copy link
Member Author

Review of the logs shows that this is happening when trying to download training images from Incapsula servers.

e.g. https://image1.masterfile.com/getImage/NjMwLTAxNzA5NzEzZW4uMDAwMDAwMDA=AKea6V/630-01709713en_Masterfile.jpg

@dalelane
Copy link
Member Author

The parse error is reported as HPE_INVALID_HEADER_TOKEN

@dalelane
Copy link
Member Author

This appears to be a result of Node.js being a bit strict about expecting servers to follow the rules about HTTP headers . Which Incapsula isn't.

cf. nodejs/node#27711
cf. nodejs/node#30515

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