Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: dockingtriple on December 05, 2015, 09:18:14 AM



Title: [iquidus Explorer] Not connect. Help
Post by: dockingtriple on December 05, 2015, 09:18:14 AM
Just compiled iquidus/explorer, but can't connect to chain.

Check console for errors: Blocks
Check console for error: Connections.

Coin Daemon work properly and sync.

Just changed this is setting.json: (with same info stored in daemon .conf file launched with listen=1 server=1 daemon=1 rpcuser= password= and port= ).

  // wallet settings
  "wallet": {
    "host": "localhost",
    "port": 9332,
    "user": "darkcoinrpc",
    "pass": "123gfjk3R3pCCVjHtbRde2s5kzdf233sa"
  },


Is there any other parameters needed to change to connect to daemon chain?

Everything is properly set-up: Mongo-Node-daemon-Cronjobs etc. Dunno why can't connect explorer to coin chain.


Title: Re: [iquidus Explorer] Not connect. Help
Post by: dockingtriple on December 06, 2015, 12:11:28 PM
EDIT:

GET /ext/getlasttxs/10/0.00000001?_=1449403734335 200 12ms - 11b
{ [Error: socket hang up] code: 'ECONNRESET' }

Doesn't sync. dunno why.


Title: Re: [iquidus Explorer] Not connect. Help
Post by: psionin on December 06, 2015, 12:41:58 PM
Where is your Mongo DB located? After installation, it defaults to only allowing local connections.

Code:
# Listen to local interface only. Comment out to listen on all interfaces.
bind_ip = 127.0.0.1


Title: Re: [iquidus Explorer] Not connect. Help
Post by: dockingtriple on December 06, 2015, 12:52:43 PM
Where is your Mongo DB located? After installation, it defaults to only allowing local connections.

Code:
# Listen to local interface only. Comment out to listen on all interfaces.
bind_ip = 127.0.0.1


Thanks for your answer. Mongodb work properly,since i'm able to check 127.0.0.1:port

Everything setted up properly: Latest mongo,node,coind,cronjobs etc.

When i run npm start from explorer directory,i get always those error messages:

GET /themes/Cyborg/bootstrap.min.css 304 4ms
GET /vendor/jqplot/jquery.jqplot.css 304 4ms
GET /stylesheets/style.css 304 0ms
GET /vendor/jqplot/jquery.jqplot.min.js 304 1ms
GET /vendor/jqplot/plugins/jqplot.dateAxisRenderer.min.js 304 1ms
GET /vendor/jqplot/plugins/jqplot.ohlcRenderer.min.js 304 1ms
GET /vendor/jqplot/plugins/jqplot.highlighter.min.js 304 0ms
GET /vendor/jqplot/plugins/jqplot.pieRenderer.min.js 304 1ms
GET /vendor/jqplot/plugins/jqplot.barRenderer.min.js 304 1ms
GET /vendor/jqplot/plugins/jqplot.categoryAxisRenderer.min.js 304 1ms
GET /javascripts/chart.js 304 1ms
GET /images/logo.png 304 4ms
GET /ext/getlasttxs/10/0.00000001?_=1449405268380 200 3ms - 11b
{ [Error: socket hang up] code: 'ECONNRESET' }
GET /api/getdifficulty 200 60253ms - 39b
{ [Error: socket hang up] code: 'ECONNRESET' }
GET /api/getnetworkhashps 200 60965ms - 39b
{ [Error: socket hang up] code: 'ECONNRESET' }


Is there something missing in changing settings.json file? or something else?


Title: Re: [iquidus Explorer] Not connect. Help
Post by: psionin on December 06, 2015, 01:13:09 PM

Everything setted up properly: Latest mongo,node,coind,cronjobs etc.



The cronjob should only be set up last, once everything is working properly and after the initial wallet->mongo synchronization. (Otherwise it could cause issues.)

Have you tried running the sync.js script?

Code:
sudo node scripts/sync.js index update

Have the collections been created in Mongo DB?

It should show something like this when viewed in Mongo Management Studio.

http://i63.tinypic.com/6yzfpc.png

However, I think the script can only be run after the "npm start" launches the server properly, without the ECONNRESET error, so it could be related to the settings. Can you post your "database settings" section?


Title: Re: [iquidus Explorer] Not connect. Help
Post by: dockingtriple on December 06, 2015, 01:47:37 PM

Everything setted up properly: Latest mongo,node,coind,cronjobs etc.



The cronjob should only be set up last, once everything is working properly and after the initial wallet->mongo synchronization. (Otherwise it could cause issues.)

Have you tried running the sync.js script?

Code:
sudo node scripts/sync.js index update

Have the collections been created in Mongo DB?

It should show something like this when viewed in Mongo Management Studio.

http://i63.tinypic.com/6yzfpc.png

However, I think the script can only be run after the "npm start" launches the server properly, without the ECONNRESET error, so it could be related to the settings. Can you post your "database settings" section?

Solved.
Current node.js version stuck.
Installed a previous ones and it worked.



Title: Re: [iquidus Explorer] Not connect. Help
Post by: psionin on December 07, 2015, 05:30:13 AM

Solved.
Current node.js version stuck.
Installed a previous ones and it worked.



Glad to hear it!


Title: Re: [iquidus Explorer] Not connect. Help
Post by: helloword2013 on January 25, 2016, 09:13:51 PM
I find the website couldn't display blocks and couldn't display the action "processing" after run the block explorer some days.
the same problem also :
http://explorer.gambitcrypto.com/
https://blockchain.vanillacoin.net/
http://explorer.infernopool.com/
why?


Title: Re: [iquidus Explorer] Not connect. Help
Post by: webvn2k on June 21, 2017, 01:22:24 AM
i try config iquidus Explorer on window 7
1- run wallet - get info from config file C:\Users\<user>\AppData\Roaming\Coin
and config https://github.com/iquidus/explorer
mongo run ok- checked robomongo
iquidus connect wallet ok
however, i see mongo not sync iquidus and mongo emty
i run npm i see error 
https://4.bp.blogspot.com/-OgwccbIySC8/WUnIzX2-AXI/AAAAAAAAIwA/i3cCCQlfnmsfwBC-CeSZQqk2zHg1qz76wCLcBGAs/s1600/112.jpg
https://2.bp.blogspot.com/-Ktml4JIlQDo/WUnIwEuDO4I/AAAAAAAAIv8/XMgNixFYaEUSrrtBJNPIYVu9aPcfY5WJQCLcBGAs/s1600/2.jpg
please help me


Title: Re: [iquidus Explorer] Not connect. Help
Post by: jgle on April 13, 2018, 09:10:54 AM
I have the same problem with you. How do you solve this problem?


Title: Re: [iquidus Explorer] Not connect. Help
Post by: Krestien on May 06, 2018, 10:12:17 PM
I have the same problem with you. How do you solve this problem?
Do what the error is saying - try a more current nodejs version  ;)
In the screen 4.4.x is used, latest version is 10!


Title: Re: [iquidus Explorer] Not connect. Help
Post by: Mambocoin on November 02, 2018, 03:05:14 AM
I'm getting the same issue, someone has the fix for it?


Title: Re: [iquidus Explorer] Not connect. Help
Post by: ScoobyCoin on January 12, 2019, 06:16:46 PM
We were having a similar issue.
It kept saying it was already running.

npm start should be running in another window before running the index

Fixed it with this:
rm tmp/index.pid 

Then re-indexed it with this:

cd home/username/explorer
sudo node scripts/sync.js index update