Comments (10)
Yeah we experienced something similar - our problem was the json file. Try running it through https://jsonlint.com/ and it'll let you know if something isn't paired properly.
A couple of things to note - you should start your json with { and end it with } for jsonlint to like it.
Also, if you got your .json file from another repo (we got ours from cryptonote-forknote-pool github) there we're plenty of issues with nesting that we needed to resolve.
from electroneum-pool.
I'm not 100% sure, but I would say some kind of configuration issue.
Could you post your config.json file?
from electroneum-pool.
`{
"coin": "electroneum",
"symbol": "ETN",
"logging": {
"files": {
"level": "info",
"directory": "logs",
"flushInterval": 5
},
"console": {
"level": "info",
"colors": true
}
},
"poolServer": {
"enabled": true,
"clusterForks": "auto",
"poolAddress": "etnkCG7SZ525rESy65AwWLZcyfF4z1w7s2PsKKq6WUjpdniUkVg5V7jUG4tyh18gKBARkiKmHneWSHiJk8pg7RL86fVtnNTCUs",
"blockRefreshInterval": 1000,
"minerTimeout": 900,
"ports": [
{
"port": 3333,
"difficulty": 100,
"desc": "Low end hardware"
},
{
"port": 5555,
"difficulty": 2000,
"desc": "Mid range hardware"
},
{
"port": 7777,
"difficulty": 10000,
"desc": "High end hardware"
}
],
"varDiff": {
"varDiff": {
"minDiff": 2,
"maxDiff": 100000,
"targetTime": 100,
"retargetTime": 30,
"variancePercent": 30,
"maxJump": 100
},
"shareTrust": {
"enabled": true,
"min": 10,
"stepDown": 3,
"threshold": 10,
"penalty": 30
},
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 25,
"checkThreshold": 30
"maxDiff": 100000,
"targetTime": 100,
"retargetTime": 30,
"variancePercent": 30,
"maxJump": 100
},
"shareTrust": {
"enabled": true,
"min": 10,
"stepDown": 3,
"threshold": 10,
"penalty": 30
},
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 25,
"checkThreshold": 30
},
"slushMining": {
"enabled": false,
"weight": 300,
"lastBlockCheckRate": 1
}
},
"payments": {
"enabled": true,
"interval": 600,
"maxAddresses": 10,
"mixin": 0,
"transferFee": 1,
"minPayment": 5,
"denomination": 100
},
"blockUnlocker": {
"enabled": true,
"interval": 30,
"depth": 20,
"poolFee": 1.8,
"coreDevDonation": 0.1
},
"api": {
"enabled": true,
"hashrateWindow": 600,
"updateInterval": 3,
"port": 8117,
"blocks": 30,
"payments": 30,
"password": ""
},
"daemon": {
"host": "127.0.0.1",
"port": 26968
},
"wallet": {
"host": "127.0.0.1",
"port": 8082
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"auth": null
}
}
`
I really need help
from electroneum-pool.
@icsugti it looks like github mangled your .json a bit - can you try to edit that?
from electroneum-pool.
@icsugti also you should remove your password from the .json (also change it in your live version...)
from electroneum-pool.
Ok I pasted the code again , Valid Json... still got the same error...
`{
"coin": "electroneum",
"symbol": "ETN",
"logging": {
"files": {
"level": "info",
"directory": "logs",
"flushInterval": 5
},"console": { "level": "info", "colors": true }
},
"poolServer": {
"enabled": true,
"clusterForks": "auto",
"poolAddress": "etnk2Hqs9pGEYKQc2RMbahUh6VCnXyVnriecZpvMHS6RYof4oiFsuMnBVxvTFMYkNQ7HWdxgeAdaqVo1LRThEJGu1CwNe3GuXy",
"blockRefreshInterval": 1000,
"minerTimeout": 900,
"ports": [{
"port": 3333,
"difficulty": 100,
"desc": "Low end hardware"
},
{
"port": 5555,
"difficulty": 2000,
"desc": "Mid range hardware"
},
{
"port": 7777,
"difficulty": 10000,
"desc": "High end hardware"
}
],
"varDiff": {
"minDiff": 2,
"maxDiff": 100000,
"targetTime": 100,
"retargetTime": 30,
"variancePercent": 30,
"maxJump": 100
},
"shareTrust": {
"enabled": true,
"min": 10,
"stepDown": 3,
"threshold": 10,
"penalty": 30
},
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 25,
"checkThreshold": 30
},
"slushMining": {
"enabled": false,
"weight": 300,
"lastBlockCheckRate": 1
}
},
"payments": {
"enabled": true,
"interval": 600,
"maxAddresses": 10,
"mixin": 0,
"transferFee": 1,
"minPayment": 10000,
"denomination": 100
},
"blockUnlocker": {
"enabled": true,
"interval": 30,
"depth": 20,
"poolFee": 1.8,
"devDonation": 0.1,
"coreDevDonation": 0.1
},
"api": {
"enabled": true,
"hashrateWindow": 600,
"updateInterval": 3,
"port": 8117,
"blocks": 30,
"payments": 30,
"password": "test"
},
"daemon": {
"host": "127.0.0.1",
"port": 26968
},
"wallet": {
"host": "127.0.0.1",
"port": 26969
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"auth": null
}
}`
from electroneum-pool.
`root@endivo:~/pool# node init.js
2017-11-14 16:32:02 [master] Pool spawned on 4 thread(s)
2017-11-14 16:32:03 [unlocker] Started
2017-11-14 16:32:03 [unlocker] No blocks candidates in redis
2017-11-14 16:32:03 [payments] Started
2017-11-14 16:32:03 [payments] No workers' balances reached the minimum payment threshold
2017-11-14 16:32:03 [charts] Started
TypeError: Cannot read property 'pool' of undefined
at getPoolChartsData (/root/pool/lib/charts.js:211:39)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at iterateeCallback (/root/pool/node_modules/async/dist/async.js:983:17)
at /root/pool/node_modules/async/dist/async.js:958:16
at /root/pool/node_modules/async/dist/async.js:3871:13
at async.parallel.config (/root/pool/lib/api.js:127:13)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at /root/pool/node_modules/async/dist/async.js:1002:9
TypeError: Cannot read property 'pool' of undefined
at getPoolChartsData (/root/pool/lib/charts.js:211:39)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at iterateeCallback (/root/pool/node_modules/async/dist/async.js:983:17)
at /root/pool/node_modules/async/dist/async.js:958:16
at /root/pool/node_modules/async/dist/async.js:3871:13
at async.parallel.config (/root/pool/lib/api.js:127:13)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at /root/pool/node_modules/async/dist/async.js:1002:9
2017-11-14 16:32:03 [master] API died, spawning replacement...
`
from electroneum-pool.
Ok... I solved the problem by reinstall the pool , deleted the folder, upload it from git clone command again , npm update then all fine BUT!!! I've got another problem... the pool started, no error but the api doesn''t work... domain, added in confing + port 8117 but when I acces the port... nothing happnes, why? and the data for the site also doesnt work... still need some help !
from electroneum-pool.
SOLVED!!! The firewall still blocked my ports so i forced to open from vesta control panel now 100% working... So for people who got the first problem... just rm -rf pool folder , git clone again from here, not other versions... and go for npm update then everything will e good!
from electroneum-pool.
Glad you got this sorted. I'll now close this issue.
from electroneum-pool.
Related Issues (20)
- Please help me, also like with ASCI,
- Cryptonote util after asic-resistance? HOT 3
- Help please
- Bad hash from miner HOT 8
- How to generate multiple accounts or addresses with some RPC method? HOT 1
- Invalid address used for login
- cryptonote-util build error (dependency) HOT 1
- some questions HOT 1
- ETN stuck in blockchain bco'z payment i'd is wrong
- SSL support for mining HOT 1
- Errors when mining under cryptonight. Problems gone when using cryptonightV7 HOT 10
- Hi
- daemon reject all share HOT 2
- Not displaying stats when hosting website with Nginx. Works fine with apache
- Website Not working with SSL HOT 1
- Asic Miners Disconnect randomly
- Run init.js / nginx proxy / correct api stats / electroneum-wallet-rpc HOT 24
- Frontend showing wrong hashrate of network pool HOT 1
- More and more bad hashes from ASIC HOT 1
- No payment, after finding a block
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 electroneum-pool.