Multichain Explorer: No information available about transaction (code -710)

+2 votes

Thanks for reading. As per title this is related to running the Multichain Explorer.

  • I use VirtualBox on windows 7 followed setup instructions and it works fine.
  • Problem is when I repeat the same steps and setups on Ubuntu (Trusty64) using the VMs, it fails to run the below command normally. The Chains I created runs fine.
  • all prerequisites have been installed
  • checked rpcport value and it matches

I run this:

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

I get this:

Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/home/atom/.multichain/testchain1', 'id': 4}
Traceback (most recent call last):
  File "Mce/DataStore.py", line 2892, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Mce/DataStore.py", line 3117, in catch_up_rpc
    tx = get_tx(rpc_tx_hash)
  File "Mce/DataStore.py", line 2974, in get_tx
    rpc_tx_hex = rpc("getrawtransaction", rpc_tx_hash)
  File "Mce/DataStore.py", line 2949, in rpc
    ret = util.jsonrpc(chain_name, url, func, *params)
  File "Mce/util.py", line 246, in jsonrpc
    raise JsonrpcException(resp['error'], method, params)
JsonrpcException: getrawtransaction: No information available about transaction (code -710)

 

The Multichain page itself shows:

A server error occurred.  Please contact the administrator.


Please kindly advise as to the cause and resolution. Thank you so much for your time!!

Please find my relevant files here:
https://drive.google.com/file/d/0Bwa5464d-RbcZm9qMkVYWjhMa0U/view?usp=sharing
asked Mar 27, 2017 by redman

2 Answers

+2 votes
 
Best answer
This should now be fixed in the latest version of the Explorer - please confirm if that's the case.
answered Mar 29, 2017 by MultiChain
selected Mar 30, 2017 by redman
Works now for me, thanks.
Yes new build resolves this issue. Thank you so much :)
+1 vote

The most likely explanation is that the Explorer is making calls to the MultiChain API from what appears to MultiChain to be a non local address (i.e. not 127.0.0.1). By default MultiChain only allows local API calls. You can change this using the rpcallowip parameter – see this answer:

http://www.multichain.com/qa/780/rpcallowip-to-give-access-to-clients?show=781#a781

answered Mar 28, 2017 by MultiChain
Hi and thank you and I appreciate your answer. I will try to update my multichain.conf file later and see if it fixes the problem. But I do believe I need to dig further.

(1) Regarding the Multichain Explorer Setup:

Why do I get a (-710) error, maybe that is the initial problem, actually why I'm I getting this error? I don't see this issue on my Windows setup (I still use VM on windows and use trusty tarh 64), I already ran a few transactions first.

# Config file for MultiChain Explorer
host 0.0.0.0

(2) Regarding the Multichain Explorer Access
In my VirtualBox I always use "Bridged Adapter" in my Network setup. I have no problems viewing my Multichain Explorer from any interface within my local network as long as I type the right ip address to the machine running the Explorer.

My Env Setup:

Host: Windows7
VM1: Ubuntu14.04 <==I run my chain & MC Explorer here. No issues.
VM2: Ubuntu14.04 <==I run my chain

Host: Ubuntu14.04
VM1: Ubuntu14.04 <==I run my chain & MC Explorer here. Issues present.
VM2: Ubuntu14.04 <==I run my chain
I have the same issue on Ubuntu on localhost. Both chain and Explorer is running locally. And they both use protocol version 10007.

I run this:

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

And I get this:

ddl_implicit_commit=true
create_table_epilogue=''
max_varchar=4294967295
clob_type=CLOB
binary_type=buffer
int_type=str
sequence_type=update
limit_style=native
[(u'foobarbaz', u'bazfoobar')]
concat_style=ansi
Assigned chain_id 1 to MultiChain kyc
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/home/morten/.multichain/kyc', 'id': 1}
Traceback (most recent call last):
  File "Mce/DataStore.py", line 2892, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Mce/DataStore.py", line 3117, in catch_up_rpc
    tx = get_tx(rpc_tx_hash)
  File "Mce/DataStore.py", line 2974, in get_tx
    rpc_tx_hex = rpc("getrawtransaction", rpc_tx_hash)
  File "Mce/DataStore.py", line 2949, in rpc
    ret = util.jsonrpc(chain_name, url, func, *params)
  File "Mce/util.py", line 246, in jsonrpc
    raise JsonrpcException(resp['error'], method, params)
JsonrpcException: getrawtransaction: No information available about transaction (code -710)
Hi went and tried the above. Nothing changed. I don't think it's the issue because the setup is the same (all on VM) the problem here is, different host OS causes this. So we really need help on Ubuntu side here  :(
Tried Ubuntu12.04, still doesn't work, must be some additional configs we need to do for VMs running on UBUNTU Hosts only.

(scream: help~~)
There's a general issue with the MultiChain Explorer and the protocol version used by default in the latest MultiChain alpha 29 release. We're looking into this now.
Really appreciate your feedback. Looking forward for your coming fixes :)
Meantime I will play around with the older protocols and see how it goes.
Thanks again!
...