Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
RPC failed: No JSON object could be decoded
Savoir: No JSON object could be decoded
Python Savoir API "no json object could be decoded"
Failed to issue JSON-RPC request. C#
System.InvalidOperationException: Failed to issue JSON-RPC request.
4,156
questions
4,369
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
RPC failed: No JSON object could be decoded
+1
vote
While executing "python -m Mce.abe --config chain1.conf" I am getting RPC failed: No JSON object could be decoded.
On the browser status = No Connection and it is showing No JSON object could be decoded.
asked
Apr 26, 2017
by
amitsh
Can you please explain which line of code is giving this error?
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
–1
vote
Looking at the other questions you posted, I think the problem is that you need to run each Explorer on the same server as the MultiChain node it communicates with, and you may not be doing this.
answered
Apr 26, 2017
by
MultiChain
Show 7 previous comments
"No Connection" is appearing in browser.
OS = Ubuntu 14.04LTE
Browser is running on the same computer as python script.
Content of multichain.conf :
rpcuser=multichainrpc
rpcpassword=2AG1rKAfhpfgZtHNoxoGdpZ1sZUM4dQYaHabqXX6Woei
rpcport=7444
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 0.0.0.0 # 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
I can't see anything wrong there. The only way we can help with this is if you want to give us access to the server, and we can try to figure it out. If so please send the details to multichain dot debug at gmail dot com, including the directories where we will find the relevant files.
I am also facing the same problem. By any chance did you manage to solve the above problem? I have performed the same steps as mentioned above and the result is also the same. On the browser I am unable to see anything as it says "No JSON object could be decoded." Please revert.
Thanks in advance.
Facing the same problem. Did anybody solve it?
Thanks inadvance
Please
log in
or
register
to add a comment.
...