eos
eos copied to clipboard
Cleos unable to parse responses which have been filtered by patroneos
I am running a full node with patroneos and haproxy acting as a filter for rpc data.
I get the following errors when using haproxy -> patroneosd -> nodeos
$ cleos -u https://testapi.eosdac.io:443 system listproducers
2882332ms thread-0 main.cpp:2584 main ] Failed with error: Assert Exception (10)
response_content_length >= 0: Invalid content-length response
If I change the haproxy config to haproxy -> nodeos then it succeeds
cleos -u https://testapi.eosdac.io:443 system listproducers
Producer Producer key Url Scaled votes
eosriobrazil EOS8ga2nCH1aXZxtnssqB75iGhtY599xDZh5LEvuDEgN7xffBW4rR https://eosrio.io 0.1345 ........
Hi @michaeljyeates, Thanks for the detailed report. This has been resolved in EOSIO/patroneos#33.