Expected /HTTP
See original GitHub issueFlaky test 😕
FAIL test/client-stream.js
✖ Expected HTTP/
test/client-stream.js
314 | return pt
315 | }, (err) => {
> 316 | t.error(err)
| --------^
317 | t.equal(pt.destroyed, true)
318 | })
319 | })
test: test/client-stream.js stream destroy if not readable
stack: |
test/client-stream.js:316:9
lib/api/api-stream.js:150:14
Error Origin:
}
util.destroy(socket, new HTTPParserError(message, constants.ERROR[ret]))
---------------------------^
}
}
at:
line: 564
column: 28
file: lib/client.js
function: Parser.execute
stack: |
Parser.execute (lib/client.js:564:28)
type: HTTPParserError
code: HPE_INVALID_CONSTANT
message: Expected HTTP/
Issue Analytics
- State:
- Created 2 years ago
- Comments:30 (30 by maintainers)
Top Results From Across the Web
Parse Error: Expected HTTP/ · Issue #662 - GitHub
Using a get request saved in a send.http file (GET http://url HTTP/1.1) it now shows a Parse Error: expected HTTP/.
Read more >python - Parse Error: The server returned a malformed response
What does Error: Parse Error: Expected HTTP/ mean? I checked my app logs but it seems it is not handling any request, even...
Read more >Expect - HTTP - MDN Web Docs - Mozilla
The Expect HTTP request header indicates expectations that need to be met by the server to handle the request successfully.
Read more >Getting Error: "Parse Error: Expected HTTP" - General
Hi,. I have a ethernet webrelay (WebRelay | Ethernet Relay | Remote Relay Control) that opens my front door.
Read more >"Error: Parse Error: Expected HTTP/" when using dns
I have a simple http rest api, which works perfectly when using the ip address directly. I made a dns A record (unproxied)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe would be nice if there was a meaningful way to dump the llhttp state? @indutny
Nope. Not that one. I don’t remember if/when I saw it on CI last time. As I said this issue was created when it happened locally.