eos icon indicating copy to clipboard operation
eos copied to clipboard

Cleos unable to parse responses which have been filtered by patroneos

Open michaeljyeates opened this issue 8 years ago • 1 comments

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 ........

michaeljyeates avatar Jun 08 '18 12:06 michaeljyeates

Hi @michaeljyeates, Thanks for the detailed report. This has been resolved in EOSIO/patroneos#33.

ericiles avatar Jun 08 '18 20:06 ericiles