Giter VIP home page Giter VIP logo

Comments (5)

hello2mao avatar hello2mao commented on June 10, 2024

same problem, any update?

from eth-netstats.

AyushyaChitransh avatar AyushyaChitransh commented on June 10, 2024

Nodes being displayed on the site are made available via APIs. Make sure the API from https://github.com/cubedro/eth-net-intelligence-api is running.

from eth-netstats.

hello2mao avatar hello2mao commented on June 10, 2024
09:21:02 3|node-4   | 2018-08-02 09:21 +00:00: [his] =s= Got history request
09:21:02 3|node-4   | [his] =s= Getting history from undefined to undefined
09:21:02 3|node-4   | 2018-08-02 09:21 +00:00: [eth] =✘= TypeError: results.reverse is not a function
09:21:02 3|node-4   |     at /eth-net-intelligence-api/lib/node.js:622:21
09:21:02 3|node-4   |     at /eth-net-intelligence-api/node_modules/async/lib/async.js:52:16
09:21:02 3|node-4   |     at /eth-net-intelligence-api/node_modules/async/lib/async.js:361:13
09:21:02 3|node-4   |     at /eth-net-intelligence-api/node_modules/async/lib/async.js:52:16
09:21:02 3|node-4   |     at iterate (/eth-net-intelligence-api/node_modules/async/lib/async.js:260:24)
09:21:02 3|node-4   |     at async.forEachOfSeries.async.eachOfSeries (/eth-net-intelligence-api/node_modules/async/lib/async.js:281:9)
09:21:02 3|node-4   |     at _asyncMap (/eth-net-intelligence-api/node_modules/async/lib/async.js:355:9)
09:21:02 3|node-4   |     at Object.mapSeries (/eth-net-intelligence-api/node_modules/async/lib/async.js:347:20)
09:21:02 3|node-4   |     at Node.getHistory (/eth-net-intelligence-api/lib/node.js:601:8)
09:21:02 3|node-4   |     at Primus.<anonymous> (/eth-net-intelligence-api/lib/node.js:246:8)
2018-08-02 09:21:02: App [node-4] with id [3] and pid [2152], exited with code [1] via signal [SIGINT]
09:21:02 PM2        | App [node-4] with id [3] and pid [2152], exited with code [1] via signal [SIGINT]
2018-08-02 09:21:02: Starting execution sequence in -fork mode- for app name:node-4 id:3
09:21:02 PM2        | Starting execution sequence in -fork mode- for app name:node-4 id:3
async.mapSeries(interv, function (number, callback)
	{
		web3.eth.getBlock(number, false, callback);
	},
	function (err, results)
	{
		if (err) {
			console.error('his', 'history fetch failed:', err);

			results = false;
		}
		else
		{
			for(var i=0; i < results.length; i++)
			{
				results[i] = self.formatBlock(results[i]);
			}
		}

		self.emit('history', {
			id: self.id,
			history: results.reverse()
		});

		console.timeEnd('=H=', 'his', 'Got history in');
	});

results maybe not an array, there is a bug?

from eth-netstats.

hello2mao avatar hello2mao commented on June 10, 2024

@cubedro hi,could you help me to fix it?

from eth-netstats.

zscole avatar zscole commented on June 10, 2024

Is ETH Net Intelligence API running on the other nodes in the network? You need to indicate the URL of the node that's running ETH netstats and also the port number.

from eth-netstats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.