forknote / forknote-pool

Mining pool for Bytecoin/Forknote based coins such as Bytecoin and Dashcoin.
https://github.com/forknote/forknote-pool
GNU General Public License v2.0
123 stars 185 forks source link

pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} #88

Open efraim007 opened 5 years ago

efraim007 commented 5 years ago

My pool is not running. The daemon is runing same server.

Error messages: 2018-10-02 11:01:27 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:28 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:28 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}

2018-10-02 11:01:40 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:40 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:41 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:41 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:42 [api] Error getting daemon data {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:42 [api] Stat collection finished: 3 ms redis, 5 ms daemon 2018-10-02 11:01:42 [api] Error collecting all stats 2018-10-02 11:01:42 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"} 2018-10-02 11:01:42 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}

My config json:

{ "coin": "sekelcoin", "symbol": "SKC", "coinUnits": 8000000000000000000, "coinDifficultyTarget": 240,

"logging": {
    "files": {
        "level": "info",
        "directory": "logs",
        "flushInterval": 5
    },
    "console": {
        "level": "info",
        "colors": true
    }
},

"poolServer": {
    "enabled": true,
    "clusterForks": "auto",
    "poolAddress": "SFz5Q77kqLeby2BN3diJdjQJbc6m64tFvbtmBRTgKJkqDyPXpn6sGfAXBYUDGEY6XycHP2MRSAzqQ7NhwN89t8zQ37roYTS5W",
    "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"
        },
        {
            "port": 8888,
            "difficulty": 10000,
            "desc": "Hidden port",
            "hidden": true
        }
    ],
    "varDiff": {
        "minDiff": 100,
        "maxDiff": 200000,
        "targetTime": 100,
        "retargetTime": 30,
        "variancePercent": 30,
        "maxJump": 100
    },
    "fixedDiff": {
        "enabled": true,
        "addressSeparator": "."
    },
    "shareTrust": {
        "enabled": true,
        "min": 10,
        "stepDown": 3,
        "threshold": 10,
        "penalty": 30
    },
    "banning": {
        "enabled": true,
        "time": 600,
        "invalidPercent": 25,
        "checkThreshold": 30
    },
    "slushMining": {
        "enabled": false,
        "weight": 120,
        "lastBlockCheckRate": 1
    }
},

"payments": {
    "enabled": true,
    "interval": 600,
    "maxAddresses": 50,
    "mixin": 3,
    "transferFee": 50000000,
    "minPayment": 1000000000,
    "maxTransactionAmount": 0,
    "denomination": 1000000000
},

"blockUnlocker": {
    "enabled": true,
    "interval": 30,
    "depth": 10,
    "poolFee": 2,
    "devDonation": 0.1,
    "coreDevDonation": 0.1,
    "extraFeaturesDevDonation":0.1
},

"api": {
    "enabled": true,
    "hashrateWindow": 600,
    "updateInterval": 5,
    "port": 8117,
    "blocks": 30,
    "payments": 30,
    "password": "test"
},

"daemon": {
    "host": "127.0.0.1",
    "port": 17001,
    "legacy": false
},

"wallet": {
    "host": "127.0.0.1",
    "port": 18001
},

"redis": {
    "host": "127.0.0.1",
    "port": 6379
},

"monitoring": {
    "daemon": {
        "checkInterval": 60,
        "rpcMethod": "getblockcount"
    },
    "wallet": {
        "checkInterval": 60,
        "rpcMethod": "getbalance"
    }
},

"charts": {
    "pool": {
        "hashrate": {
            "enabled": true,
            "updateInterval": 60,
            "stepInterval": 1800,
            "maximumPeriod": 86400
        },
        "workers": {
            "enabled": true,
            "updateInterval": 60,
            "stepInterval": 1800,
            "maximumPeriod": 86400
        },
        "difficulty": {
            "enabled": true,
            "updateInterval": 1800,
            "stepInterval": 10800,
            "maximumPeriod": 604800
        },
        "price": {
            "enabled": true,
            "updateInterval": 1800,
            "stepInterval": 10800,
            "maximumPeriod": 604800
        },
        "profit": {
            "enabled": true,
            "updateInterval": 1800,
            "stepInterval": 10800,
            "maximumPeriod": 604800
        }
    },
    "user": {
        "hashrate": {
            "enabled": true,
            "updateInterval": 180,
            "stepInterval": 1800,
            "maximumPeriod": 86400
        },
        "payments": {
            "enabled": true
        }
    }
}

}