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

Errors with sispop (RandomX algo) #25

Open
1NF1N18Y opened this issue Nov 22, 2023 · 5 comments
Open

Errors with sispop (RandomX algo) #25

1NF1N18Y opened this issue Nov 22, 2023 · 5 comments

Comments

@1NF1N18Y
Copy link

I added Sispop which is the same as monero to miningcore.

Error:
Connection error: System.NullReferenceException: Object reference not set to an instance of an object.
at Miningcore.Blockchain.Cryptonote.CryptonotePool.OnLoginAsync(StratumConnection connection, Timestamped1 tsRequest) in /home/pool/miningcore/src/Miningcore/Blockchain/Cryptonote/CryptonotePool.cs:line 146
at Miningcore.Blockchain.Cryptonote.CryptonotePool.OnRequestAsync(StratumConnection connection, Timestamped1 tsRequest, CancellationToken ct) in /home/pool/miningcore/src/Miningcore/Blockchain/Cryptonote/CryptonotePool.cs:line 370
at Miningcore.Stratum.StratumServer.OnRequestAsync(StratumConnection connection, JsonRpcRequest request, CancellationToken ct) in /home/pool/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 200
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessReceivePipeAsync(CancellationToken ct, TcpProxyProtocolConfig proxyProtocol, Func`4 onRequestAsync) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 281

I used xmrig to connect:

image

I get this in miningcore console log

[2023-11-22 21:34:15.9560] [I] [sispop] [0HMVBJ50M4351] Banning unauthorized worker 4RDe5gBhdjpadL4Hh4bWDB2RrvQjxpESLB8tJcE1r1gEeGZo16wpC8y8KpgjJ7nSu3dwgDxXyYQmZRKYwArfvgf8BjV6KiZ for 10 sec
[2023-11-22 21:34:15.9674] [I] [sispop] [0HMVBJ50M4351] Connection closed

Please help me!

@b2d2dbone
Copy link

b2d2dbone commented Nov 23, 2023

Maybe you forgot to open port 3032 or the difficulty is too low the api treat it as junk and keeps banning your client
Xmrig sometimes get this weird error "end of file" try testing with rented rig after adjusting your diff and try disabling banning and see how it goes

how did you enable https on your pool could you tell me what I should do am kinda stuck
installed certbot pointed ssl in my nginx etc and did the proxy pass configs and all am getting is https on ui but pools keeps showing the maintenance message I opened an issue like 2 weeks ago you can check it out and see what I tried

thanks

@1NF1N18Y
Copy link
Author

I changed the diff and it didn't work.

when i connect I get this in the console:

[2023-11-23 11:28:24.5110] [I] [sispop] Stratum ports 0.0.0.0:2222 online
[2023-11-23 11:28:27.7508] [I] [sispop] [0HMVC1RN7CIT5] Accepting connection from ::ffff:194....
[2023-11-23 11:28:27.7622] [I] [sispop] [0HMVC1RN7CIT5] Connection from ::ffff:194.6 accepted on port 2222
[2023-11-23 11:28:37.7563] [I] [sispop] [0HMVC1RN7CIT5] Booting zombie-worker (post-connect silence)
[2023-11-23 11:28:37.7613] [I] [sispop] [0HMVC1RN7CIT5] Connection closed

when I turnoff banning

[2023-11-22 21:13:54.9325] [E] [sispop] [0HMVBIU5562TP] Connection error: System.NullReferenceException: Object reference not set to an instance of an object.
at Miningcore.Blockchain.Cryptonote.CryptonotePool.OnLoginAsync(StratumConnection connection, Timestamped1 tsRequest) in /home/pool/miningcore/src/Miningcore/Blockchain/Cryptonote/CryptonotePool.cs:line 146
at Miningcore.Blockchain.Cryptonote.CryptonotePool.OnRequestAsync(StratumConnection connection, Timestamped1 tsRequest, CancellationToken ct) in /home/pool/miningcore/src/Miningcore/Blockchain/Cryptonote/CryptonotePool.cs:line 370
at Miningcore.Stratum.StratumServer.OnRequestAsync(StratumConnection connection, JsonRpcRequest request, CancellationToken ct) in /home/pool/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 200
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessRequestAsync(CancellationToken ct, Func4 onRequestAsync, ReadOnlySequence1 lineBuffer) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 378
at Miningcore.Stratum.StratumConnection.ProcessReceivePipeAsync(CancellationToken ct, TcpProxyProtocolConfig proxyProtocol, Func`4 onRequestAsync) in /home/pool/miningcore/src/Miningcore/Stratum/StratumConnection.cs:line 281

(I think your nginx is broken or something. Miningcore is only backend with a api so frontend and backend are seperated.)

@Lovetheminerseu
Copy link

sispop its not working with miningcore its somting with the code off randomx i have also try it i get Pool sent a malformed rpc2 job [randomx]

@1NF1N18Y
Copy link
Author

That is a different error than me! What is your config/coins.json?

@angelloll
Copy link

if you need help connect my on discord 417534606997192705 or go to getablocks.com for discord link

xiaolin1579 pushed a commit that referenced this issue Jun 13, 2024
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

4 participants