Comments (4)
Would need to see the error log to see the problem. You might try reading the pm2 docs to understand the software you are attempting to utilize
http://pm2.keymetrics.io/docs/usage/quick-start/
This Issue tracker is for bugs, not help desk requests
from eth-netstats.
Sorry mikeyb, I tried every possible way to set everything up as discribed in the different wiki and READMEs around, but couldn't resolve this.
It appears the problem is with pm2 not properly connecting:
2018-02-22 18:48 +01:00: [wsc] =✘= Socket error: { Error: connect ECONNREFUSED 127.0.0.1:3000
at Object._errnoException (util.js:1003:13)
at _exceptionWithHostPort (util.js:1024:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000,
type: 'error',
target:
WebSocket {
domain: null,
_events: { error: [Function: onerror] },
_eventsCount: 1,
_maxListeners: undefined,
_socket: null,
_ultron: null,
_closeReceived: false,
bytesReceived: 0,
readyState: 3,
supports: { binary: true },
extensions: null,
_binaryType: 'arraybuffer',
_isServer: false,
url: 'ws://localhost:3000/api/?_primuscb=M6-eNQn',
protocolVersion: 13,
_closeTimer: null,
_closeCode: 1006 } }
I will look into it further. Still some help would be awesome. Maybe more user trying to set netstats up have this problem, so it would be worth discussing it here and fix the issue behind it :)
from eth-netstats.
You might check closed issues, but this error is stating that you don't have anything running on port 3000 via localhost. So some dependency is not running, or there is a firewall blocking access to localhost port 3000
from eth-netstats.
Thanks for the advice. I did not know pm2 that well. Apparently this package expects an open port to connect to. I thought it would open the port itself.
I resolved this issue by running eth-netstats
before starting the eth-net-intelligence-api
.
I guess everyone with more experience would have known this. But maybe there should be a hint in the README or wiki, stating in which order to execute the different parts?
from eth-netstats.
Related Issues (20)
- Error: [$interpolate:interr] HOT 5
- can we run eth-netstats with a network that uses PoA ? HOT 2
- how can I start a new similar eth-netstats server on our own blockchain HOT 1
- Questions about ethstats HOT 2
- On goerli ethstats, one of the clients causes server to crash HOT 9
- How can I install self-signed SSL in eth-netstats? So I can run fronted with HTTPS. HOT 2
- Not able to see Node Type. Also network, protocol and web3 values are being displayed as null. HOT 1
- unable to use eth-netstats along with --ethstats in geth HOT 2
- eth-netstats statistics is not correct
- Empty response from server HOT 2
- Best block is ahead of time HOT 1
- my running nodes in docker containers does not appear in eth-netstats interface, the api returns web3 connection failed HOT 1
- accumulating JS errors in Chrome console
- TypeError: Cannot read property 'height' of undefined
- Eth-netstats in not installed HOT 1
- Eth netstat uses minimal-icons.
- 谁出个视频呗 HOT 1
- no Show location in the map
- no Show location in the map
- Install does NOT WORK on Windows environnement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eth-netstats.