eos icon indicating copy to clipboard operation
eos copied to clipboard

can't run get transaction command!

Open jatinmehta420 opened this issue 9 years ago • 8 comments

Whenever I run ./eosc get transactions inita. Im getting following error: capture5 2842616ms thread-0 main.cpp:1101 main ] Failed with error: 10 assert_exception: Assert Exception status_code == 200: Error code 404 : {"code":404,"message":"Not Found","details":"Unknown Endpoint"} {"c":404,"msg":"{"code":404,"message":"Not Found","details":"Unknown Endpoint"}"} thread-0 httpc.cpp:113 call {"server":"localhost","port":8888,"path":"/v1/account_history/get_transactions","postdata": {"account_name":"inita"}} thread-0 httpc.cpp:117 call

jatinmehta420 avatar Nov 23 '17 08:11 jatinmehta420

Make sure you have the following plugins in your config.ini.

plugin = eosio::account_history_plugin
plugin = eosio::account_history_api_plugin

heifner avatar Nov 23 '17 14:11 heifner

I'm still getting that error sir even after editing my config.ini file! @heifner

jatinmehta420 avatar Nov 24 '17 06:11 jatinmehta420

Does ./eosc get info work?

heifner avatar Nov 24 '17 19:11 heifner

Yes sir it's working and giving information about head block number and head block id! @heifner

jatinmehta420 avatar Nov 25 '17 05:11 jatinmehta420

You restarted your eosd after editing the config.ini in the data-dir? What error do you get now?

heifner avatar Nov 25 '17 05:11 heifner

Sir im getting the same error while executing that transaction command!

jatinmehta420 avatar Nov 25 '17 05:11 jatinmehta420

That error is pretty specific. Are you sure you edited the config.ini file in use? Can you repaste the error? You can try adding something like plugin = junk to your config.ini file. Then restart with ./eosd --resync if you get an error about .. unable to fine plugin: junk then you know it is the correct config.ini.

heifner avatar Nov 25 '17 19:11 heifner

That error has been solved sir! Thanks for your help :)

jatinmehta420 avatar Nov 26 '17 05:11 jatinmehta420