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

can't run get transaction command! #768

Closed
jatinmehta420 opened this issue Nov 23, 2017 · 8 comments
Closed

can't run get transaction command! #768

jatinmehta420 opened this issue Nov 23, 2017 · 8 comments
Milestone

Comments

@jatinmehta420
Copy link

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

@heifner
Copy link
Contributor

heifner commented Nov 23, 2017

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

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

@jatinmehta420
Copy link
Author

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

@heifner
Copy link
Contributor

heifner commented Nov 24, 2017

Does ./eosc get info work?

@jatinmehta420
Copy link
Author

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

@heifner
Copy link
Contributor

heifner commented Nov 25, 2017

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

@jatinmehta420
Copy link
Author

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

@heifner
Copy link
Contributor

heifner commented Nov 25, 2017

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.

@jatinmehta420
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants