eos icon indicating copy to clipboard operation
eos copied to clipboard

Loading the Bios Contract ERROR

Open JonieH opened this issue 8 years ago • 3 comments

virtual-machine:~/eos$ cleos set contract eos build/contracts/eosio.bios -p eosio@active Reading WAST/WASM from build/contracts/eosio.bios/eosio.bios.wasm... Using already assembled WASM... Publishing contract... 2488106ms thread-0 main.cpp:2756 main ] Failed with error: Assert Exception (10) response_content_length >= 0: Invalid content-length response

JonieH avatar Jul 19 '18 06:07 JonieH

please add --http-validate-host=false to your nodeos then retry

taokayan avatar Jul 19 '18 06:07 taokayan

@taokayan

nodeos -e -p eosio --verbose-http-errors --http-validate-host=false --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin it didn't work

JonieH avatar Jul 19 '18 10:07 JonieH

@taokayan Its a real issue. Got the same error. adding --http-validate-host=false doesn't work. Update: I just solved it with setting the correct wallet url by prepending the command with --wallet-url while publishing the contract:

image

manishatGit avatar Jul 26 '18 10:07 manishatGit