nodejs-pool icon indicating copy to clipboard operation
nodejs-pool copied to clipboard

Frontend shows no stats

Open beaverx opened this issue 7 years ago • 1 comments

I have the latest nodejs-pool up and running.

Workers can connect and get shares. I have verified that http://127.0.0.1/api/pool/stats giving back the stats:

{"pool_list":["pplns","solo"],"pool_statistics":{"hashRate":64,"miners":1,"totalHashes":28535968,"lastBlockFoundTime":0,"lastBlockFound":0,"totalBlocksFound":0,"totalMinersPaid":0,"totalPayments":0,"roundHashes":28535968},"last_payment":0}

On the page:

Network : 0 H/s Pool : 0 H/s You : 0 H/s When I try to login with the worker ID I get an error.

beaverx avatar Feb 24 '18 21:02 beaverx

From Readme : You'll need to change the API endpoint for the frontend code in the poolui/build/globals.js and poolui/build/globals.default.js -- This will usually be http(s)://<your server FQDN>/api unless you tweak caddy!

Your case : http://xx.xx.xx.xx/api (xx is your server IP not 127.0.0.1)

bobbieltd avatar Feb 25 '18 02:02 bobbieltd