Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Kill node from the cleos query #2277

Closed
sss-CRS-sss opened this issue Apr 9, 2018 · 1 comment
Closed

Kill node from the cleos query #2277

sss-CRS-sss opened this issue Apr 9, 2018 · 1 comment
Assignees
Milestone

Comments

@sss-CRS-sss
Copy link

sss-CRS-sss commented Apr 9, 2018

It was tested on the master branch on April 4 and dawn 3.0 release.
when sending from the cleos query:
cleos push action account action '[]' -p tester
the node falls with error:

thread-0 main.cpp:1158 main ] Failed with error: read_until: End of file (13)
read_until: End of file:

And further start of the node is not possible without resynchronization. It can also kill a remote node.
photo_2018-04-09_20-04-41
photo_2018-04-09_20-04-45

ATC

cd eos/build
./tests/nodeos_run_test.py --dont-kill -v
programs/cleos/cleos --host localhost --port 8888 --wallet-host localhost --wallet-port 8899 push action -j currency transfer '[]' --permission currency@active
(Ensure that both nodeos processes are still running)

@PaulCalabrese PaulCalabrese self-assigned this Apr 9, 2018
@PaulCalabrese
Copy link
Contributor

I was able to recreate this and have a fix. I am looking for any similar problems in fc before I submit a PR.

@heifner heifner added this to the RC2 milestone Apr 10, 2018
heifner added a commit that referenced this issue Apr 10, 2018
Avoid subscripting errors when processing empty json arrays
@PaulCalabrese PaulCalabrese reopened this Apr 10, 2018
@dhaneshvb dhaneshvb self-assigned this Apr 12, 2018
@heifner heifner closed this as completed Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants