RPC failed: [Errno socket error] [Errno -2] Name or service not known

+1 vote
When I execute

python -m Mce.abe --config chain1.conf --commit-bytes 100000 --no-serve

Am getting "RPC failed: [Errno socket error] [Errno -2] Name or service not known"

Is there any solution for this.?
asked May 3, 2017 by anonymous

1 Answer

0 votes
Did you follow the instructions in full to configure your MultiChain Explorer with the right port, directory, and so on?
answered May 3, 2017 by MultiChain
Ya I followed. I did not change content of chain1.example.conf file. Now am getting "RPC failed: [Errno socket error] [Errno -3] Temporary failure in name resolution"
Please post the content of your chain1.conf file.
Content of multichain.conf :


Content of chain1.conf :

# Config file for MultiChain Explorer
# Same file format as Abe.  Please refer to Abe.conf for more
# information about the parameters shown below and other advanced options.

# Port to serve web pages
port 2750

# Who to accept connections from.
# You can only have one host entry in the config file otherwise the explorer will report an error.
# host         # to accept connections from anybody (including localhost) e.g. production
# host localhost     # to only accept connections from your local machine e.g. testing
host localhost

# Configure a MultiChain network
datadir += [{
        "dirname": "~/.multichain/chain1",              # Path to chain's data folder
        "loader": "default",                            # Do not change
        "chain": "MultiChain chain1",                      # Display name in explorer
        "policy": "MultiChain"                          # Do not change

# Database type (do not change)
dbtype = sqlite3

# Filename of database
connect-args = chain1.explorer.sqlite