eos icon indicating copy to clipboard operation
eos copied to clipboard

Error 3110001: Missing Chain API Plugin

Open rainssong opened this issue 8 years ago • 6 comments

when I run ./cleos -u http://localhost:8899 create account eosio myaccount key1 key2 I got error :

Error 3110001: Missing Chain API Plugin
Ensure that you have eosio::chain_api_plugin added to your node's configuration!
Error Details:
Chain API plugin is not enabled

but I already set Chain API Plugin in ~/.local/share/eosio/nodeos/config/config.ini like this:

#Lad the testnet genesis state, which creates some initial block producers with the default key
genesis-json = genesis.json
# Enable production on a stale chain, since a single-node test chain is pretty much always stale
enable-stale-production = true
# Enable block production with the testnet producers
producer-name = eosio
# Load the block producer plugin, so you can produce blocks
plugin = eosio::producer_plugin
# Wallet plugin
plugin = eosio::wallet_api_plugin
# As well as API and HTTP plugins
plugin = eosio::chain_api_plugin
plugin = eosio::http_plugin
# This will be used by the validation step below, to view account history
plugin = eosio::history_api_plugin

and run nodeos like this: ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --resync-blockchain

Why?

rainssong avatar May 29 '18 10:05 rainssong

If you use the config file, it's not necessary to write args on command. Do you have the latest version of eosio ? In your node config file, make sure that the adress is localhost:8899

maxb14 avatar May 29 '18 11:05 maxb14

you do mean the

# The local IP and port to listen for incoming http connections; set blank to disable. (eosio::http_plugin)
http-server-address = localhost:8899

yeah?

I'm still getting the same error.

bluabaleno avatar Jul 24 '18 13:07 bluabaleno

Getting the same error as well.

ricktobacco avatar Sep 06 '18 02:09 ricktobacco

Are you fix your problem? I have been same error like you. "Error 3110001: Missing Chain API Plugin"

kidnuri avatar Oct 12 '18 03:10 kidnuri

Same problem guys. And it's not the port (8899). :cry:

nikdale avatar Jan 21 '19 10:01 nikdale

nodeos
-e -p eosio
--plugin eosio::producer_plugin
--plugin eosio::producer_api_plugin
--plugin eosio::chain_api_plugin
--plugin eosio::http_plugin
--plugin eosio::history_plugin
--plugin eosio::history_api_plugin
--contracts-console
--access-control-allow-origin=''
--http-validate-host=false
--verbose-http-errors
--filter-on="
"

Try running this cmd on your local

BharatXBhalla avatar May 16 '21 18:05 BharatXBhalla