UNOMP / unified-node-open-mining-portal

Development stopped and is now unsupported. The node.js version is being deprecated in October 2016.
GNU General Public License v2.0
347 stars 395 forks source link

Error with payment processing daemon {"type":"request error","message":"connect ETIMEDOUT"} #296

Open sakshigadia opened 6 years ago

sakshigadia commented 6 years ago

When i enabled paymentprocessing to true i got this error. Need help to resolve this.

TheComputerGenie commented 6 years ago

Your wallet (daemon) is stuffed up and the connection "times out" (meaning that it takes longer to respond than reasonably allowable). This is a you issue, not a UNOMP issue.

sakshigadia commented 6 years ago

@TheComputerGenie Okay. Now i get this error Check finished - daemon rpc error with batch gettransactions {"code":-32700,"message":"Parse error"}

TheComputerGenie commented 6 years ago

What coin? What is your config set up (there are 4 files if only running 1 coin - 3 for UNOMP and 1 for the coin itself)? There's no much people can do to help you when you give almost no information.

sakshigadia commented 6 years ago

@TheComputerGenie I am using peercoin sha256. I am running only one coin.

Please find details of config.json { "logLevel": "debug", "logColors": true,

"cliPort": 17117,

"clustering": {
    "enabled": true,
    "forks": "auto"
},

"defaultPoolConfigs": {
    "blockRefreshInterval": 1000,
    "jobRebroadcastTimeout": 55,
    "connectionTimeout": 600,
    "emitInvalidBlockHashes": false,
    "validateWorkerUsername": true,
    "tcpProxyProtocol": false,
    "banning": {
        "enabled": true,
        "time": 600,
        "invalidPercent": 50,
        "checkThreshold": 500,
        "purgeInterval": 300
    },
    "redis": {
        "host": "127.0.0.1",
        "port": 6379,
        "db": 0,
        "password": ""
    }
},

"website": {
    "enabled": true,
    "host": "127.0.0.1",
    "siteTitle": "UNOMP Beta",
    "port": 8181,
    "stratumHost": "stratum+tcp://127.0.0.1:8181",
    "stats": {
        "updateInterval": 60,
        "historicalRetention": 43200,
        "hashrateWindow": 300,
        "graphColors": ["#058DC7", "#50B432", "#ED561B", "#DDDF00", "#24CBE5", "#64E572",
        "#FF9655", "#FFF263", "#6AF9C4"]
    },
    "adminCenter": {
        "enabled": true,
        "password": "password"
    }
},

"redis": {
    "host": "127.0.0.1",
    "port": 6379,
    "db": 0,
    "password": ""
},

"switching": {
    "switch1": {
        "enabled": true,
        "algorithm": "sha256",
        "ports": {
            "3333": {
                "diff": 10,
                "varDiff": {
                    "minDiff": 16,
                    "maxDiff": 512,
                    "targetTime": 15,
                    "retargetTime": 90,
                    "variancePercent": 30
                }
            }
        }
    },
    "switch2": {
        "enabled": false,
        "algorithm": "scrypt",
        "ports": {
            "4444": {
                "diff": 10,
                "varDiff": {
                    "minDiff": 16,
                    "maxDiff": 512,
                    "targetTime": 15,
                    "retargetTime": 90,
                    "variancePercent": 30
                }
            }
        }
    },
    "switch3": {
        "enabled": false,
        "algorithm": "x11",
        "ports": {
            "5555": {
                "diff": 0.001,
                "varDiff": {
                    "minDiff": 0.001,
                    "maxDiff": 1, 
                    "targetTime": 15, 
                    "retargetTime": 60, 
                    "variancePercent": 30 
                }
            }
        }
    }
},

"profitSwitch": {
    "enabled": false,
    "updateInterval": 600,
    "depth": 0.90,
    "usePoloniex": true,
    "useBittrex": true
}

}

TheComputerGenie commented 6 years ago

I'm not sure if it's still that way, due to changes in both UNOMP and PPC in the last year, but as far as I know the blocktemplate code in UNOMP has never supported PPC.