Closed dabura667 closed 6 years ago
HPE_INVALID_CONSTANT seems to be an error on the lower layer TCP parsing:
Googling around found:
http://stackoverflow.com/questions/19009182/uncaught-exception-error-in-nodejs-for-get-call and https://www.bountysource.com/issues/1397159-http-hpe_invalid_constant-parse-error-if-connect-response-contains-body
We need to check we are sending content-size:0 if not body is sent in the request.
It could be that I don't have push notifications configured on my BWS, but my Copay has push notifications enabled from when I was using bitpay BWS.
I dont think is related to the URI handler itself, but pre processing by express/nodejs.
I installed latest bitcore, bitcore-node, bws etc.
I reindexed blockchain
Now every time I open Copay and then close it, bitcored crashes.