Bitcoin Forum
July 04, 2024, 06:16:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: setup iquidus explorer (Unable to connect to explorer API)  (Read 299 times)
lucy2015 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile WWW
March 24, 2018, 11:51:13 PM
 #1

Hello
I have such a problem,
i created block explorer and when I connect with my coin writes an error:
root@newera:/explorer# node scripts/sync.js index reindex
Script already running..
root@newera:/explorer# node scripts/sync.js index reindex
script launched with pid: 29567
Unable to connect to explorer API
index cleared (reindex)

TypeError: Cannot read property 'length' of undefined
at /root/explorer/lib/database.js:642:36
at Request._callback (/root/explorer/lib/explorer.js:107:14)
at Request.self.callback (/root/explorer/node_modules/request/request.js:187:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/root/explorer/node_modules/request/request.js:1044:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage. (/root/explorer/node_modules/request/request.js:965:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

newera.conf
rpcuser=newerarpc
rpcpassword=mypassword
rpcallowip=127.0.0.1
rpcport=49110
listen=0
server=1
txindex=1

blockexplorer - http://178.62.226.109:3001

I use server ubuntu 16.04 digitalocean.com
please explain what the problem is

psycodad
Legendary
*
Offline Offline

Activity: 1616
Merit: 1636


精神分析的爸


View Profile
March 25, 2018, 08:46:03 AM
 #2

..
Unable to connect to explorer API
..

There is your hint, the index script can't connect to the explorer.
Make sure your iquidus is running before trying to index.

HTH

psycodad
Legendary
*
Offline Offline

Activity: 1616
Merit: 1636


精神分析的爸


View Profile
March 25, 2018, 11:30:23 AM
 #3

how to run iquidus please tell me

Follow the readme at https://github.com/iquidus/explorer it cointains step-by-step instructions to install and run the iquidus explorer. Once it is running you can start the indexing script.

i am typing
./newerad -daemon -reindex -txindex

Error: An error occurred while setting up the RPC port 49110 for listening on IPv4: bind: Address already in use

Your coin daemon seems to be already running, try connecting with either newerad getinfo or newera-cli getinfo (I don't know which is valid for that specific coin).

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!