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

Problem when i try to connect my asic #36

Open
h8ax opened this issue Dec 22, 2023 · 2 comments
Open

Problem when i try to connect my asic #36

h8ax opened this issue Dec 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@h8ax
Copy link

h8ax commented Dec 22, 2023

[2023-12-22 12:03:44.8392] [I] [bitcoin1] [0HN02PIRT1KGV] Connection from ::ffff:176.118.24.30:58616 accepted on port 3052
[2023-12-22 12:03:44.8392] [I] [bitcoin1] [0HN02PIRT1KGV] Using version-rolling mask 1fffe000
[2023-12-22 12:03:44.9856] [I] [bitcoin1] [0HN02PIRT1KGV] Banning unauthorized worker SS1122 for 10 sec

[2023-12-22 12:03:57.0938] [E] [bitcoin1] [0HN02PIRT1KH0] Connection error: System.NullReferenceException: Object reference not set to an instance of an object.
at Miningcore.Blockchain.Bitcoin.BitcoinPool.OnAuthorizeAsync(StratumConnection connection, Timestamped1 tsRequest, CancellationToken ct) in /home/h8ax/miningcore/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs:line 146 at Miningcore.Blockchain.Bitcoin.BitcoinPool.OnRequestAsync(StratumConnection connection, Timestamped1 tsRequest, CancellationToken ct) in /home/h8ax/miningcore/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs:line 419
at Miningcore.Stratum.StratumServer.OnRequestAsync(StratumConnection connection, JsonRpcRequest request, CancellationToken ct) in /home/h8ax/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 200
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/h8ax/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/h8ax/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessReceivePipeAsync(CancellationToken ct, TcpProxyProtocolConfig proxyProtocol, Func`4 onRequestAsync) in /home/h8ax/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 281

@h8ax h8ax added the bug Something isn't working label Dec 22, 2023
@h8ax
Copy link
Author

h8ax commented Dec 22, 2023

maybe something wrong wiht config.json?

{
"logging": {
"level": "info",
"enableConsoleLog": true,
"enableConsoleColors": true,
"logFile": "miningcore.log",
"logBaseDirectory": "/home/mynode/miningcore/logs/",
"perPoolLogFile": false
},
"banning": {
"banOnJunkReceive": false,
"banOnInvalidShares": false
},
"notifications": {
"enabled": true,
"email": {
"host": "smtp.example.com",
"port": 587,
"user": "user",
"password": "password",
"fromAddress": "info@yourpool.org",
"fromName": "pool support"
},
"admin": {
"enabled": false,
"emailAddress": "user@example.com",
"notifyBlockFound": true
}
},
"persistence": {
"postgres": {
"host": "127.0.0.1",
"port": 5432,
"user": "miningcore",
"password": "mypassword",
"database": "miningcore"
}
},
"paymentProcessing": {
"enabled": true,
"interval": 180,
"shareRecoveryFile": "recovered-shares.txt"
},
"api": {
"enabled": true,
"listenAddress": "",
"port": 4000
},
"pools": [{
"id": "bitcoin1",
"enabled": true,
"coin": "bitcoin",
"address": "my wallet"
"rewardRecipients": [{
"address": "my waleet"
"percentage": 1.5
}],
"blockRefreshInterval": 400,
"jobRebroadcastTimeout": 10,
"clientConnectionTimeout": 600,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 50
},
"ports": {
"3052": {
"listenAddress": "
",
"difficulty": 0.02,
"tls": false,
"varDiff": {
"minDiff": 0.01,
"maxDiff": null,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30,
"maxDelta": 500
}
}
},
"daemons": [{
"host": "127.0.0.1",
"port": 8332,
"user": "rpcuser,
"password": rpcpassword,
}],
"paymentProcessing": {
"enabled": true,
"minimumPayment": 0.01,
"payoutScheme": "PPLNS",
"payoutSchemeConfig": {
"factor": 2.0
}
}
}]
}

@xiaolin1579
Copy link
Collaborator

try
#23
#22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants