Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC error while running init.js #311

Open
shakibebz opened this issue Feb 6, 2021 · 2 comments
Open

RPC error while running init.js #311

shakibebz opened this issue Feb 6, 2021 · 2 comments

Comments

@shakibebz
Copy link

Im working on a mining pool project and i wana use unomp proxy. I tired to run init.js file but I had an error:
Pool litecoin Thread 4 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}

I also have these lines :

Payments litecoin Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED"}
[2021-02-06 07:44:52.952] [DEBUG] [default] - Website Server Website started on 0.0.0.0:8070
[2021-02-06 07:44:53.035] [ERROR] [default] - Website litecoin Could not dumpprivkey for litecoin {"type":"offline","message":"connect ECONNREFUSED"}

Any suggestion??

@TheComputerGenie
Copy link

ECONNREFUSED means that your daemon is refusing outside connections, this can be because of being offline or bad config credentials

@shakibebz
Copy link
Author

ECONNREFUSED means that your daemon is refusing outside connections, this can be because of being offline or bad config credential

I opend every necessary port that I know. do you think there is some port that i missed and forgot to open them? what do you mean for bad config? this is my litecoin.jason file in pool_configs:

{
"enabled": true,
"coin": "litecoin.json",

"auxes": [],
"address": "LhbwNk5XaoYY1VdM6KurWLJY1eJEYGsA53",

"rewardRecipients": {
    "LaHmavLvpDKzEwKue2iZmypuAtykJVZjND": 1.5,
    "LNFG69GAaDkfTViYZpabN1jBrprL5cgL22": 0.1
},

"paymentProcessing": {
    "enabled": true,
    "paymentInterval": 30,
    "minimumPayment": 0.01,
    "daemon": {
        "host": "127.0.0.1",
        "port": 19332,
        "user": "virtualcoin2018",
        "password": "kamisama123"
    }
},

"ports": {
    "3008": {
        "diff": 8
    },
    "3032": {
        "diff": 32,
        "varDiff": {
            "minDiff": 8,
            "maxDiff": 512,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    },
    "3256": {
        "diff": 256
    }
},

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 19332,
        "user": "litecoinrpc",
        "password": "kamisama123"
    }
],

"p2p": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 19333,
    "disableTransactions": false
},

"mposMode": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 3306,
    "user": "me",
    "password": "mypass",
    "database": "ltc",
    "checkPassword": false,
    "autoCreateWorker": false
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants