oliverw / miningcore

Miningcore is a high-performance Mining Pool Software for Linux and Windows.
https://store.miningcore.pro
MIT License
728 stars 669 forks source link

always banning all connections #1463

Closed oravil closed 2 years ago

oravil commented 2 years ago

after update latest version from miningcore and ergo core 4.0.104 all coming connections from nicehash or others clients become banned

2022-10-08 23:16:04.2528] [I] [ergo] [0HML9GC97V28F] Accepting connection from ::ffff:35.233.127.215:38636 ... 
[2022-10-08 23:16:04.2611] [I] [ergo] [0HML9GC97V28F] Connection from ::ffff:35.233.127.215:38636 accepted on port 3030 
[2022-10-08 23:16:04.2611] [D] [ergo] [0HML9GC97V28F] [NET] Waiting for data ... 
[2022-10-08 23:16:04.2611] [D] [ergo] [0HML9GC97V28F] [NET] Received data: {"id":1,"method":"mining.subscribe","params":["NiceHash/1.0.0","1665270964210","f77551e60f854a9b96f8e1178c3a2710614822671dfd9bc5bdf18cdf50d21e41"]}

[2022-10-08 23:16:04.2611] [D] [ergo] [0HML9GC97V28F] [NET] Waiting for data ... 
[2022-10-08 23:16:04.2704] [D] [ergo] [0HML9GC97V28F] [PIPE] Waiting for data ... 
[2022-10-08 23:16:04.2704] [D] [ergo] [0HML9GC97V28F] [PIPE] Received data: {"id":1,"method":"mining.subscribe","params":["NiceHash/1.0.0","1665270964210","f77551e60f854a9b96f8e1178c3a2710614822671dfd9bc5bdf18cdf50d21e41"]}

[2022-10-08 23:16:04.2793] [D] [ergo] [0HML9GC97V28F] Dispatching request 'mining.subscribe' [1] 
[2022-10-08 23:16:04.2862] [D] [ergo] [0HML9GC97V28F] [PIPE] Waiting for data ... 
[2022-10-08 23:16:04.3021] [D] [ergo] [0HML9GC97V28F] Sending: {"result":[[["mining.set_difficulty","0HML9GC97V28F"],["mining.notify","0HML9GC97V28F"]],"0001",6],"id":1} 
[2022-10-08 23:16:04.3849] [D] [ergo] [0HML9GC97V28F] [NET] Received data: {"id":2,"method":"mining.authorize","params":["9gAVD2bdBWUQ41zNQmTvRXXt2WpTxVWnRfHXP9bCkeGkp6weV5f","x"]}

[2022-10-08 23:16:04.3849] [D] [ergo] [0HML9GC97V28F] [NET] Waiting for data ... 
[2022-10-08 23:16:04.3849] [D] [ergo] [0HML9GC97V28F] [PIPE] Received data: {"id":2,"method":"mining.authorize","params":["9gAVD2bdBWUQ41zNQmTvRXXt2WpTxVWnRfHXP9bCkeGkp6weV5f","x"]}

[2022-10-08 23:16:04.3849] [D] [ergo] [0HML9GC97V28F] Dispatching request 'mining.authorize' [2] 
[2022-10-08 23:16:04.3986] [D] [ergo] [0HML9GC97V28F] Sending: {"result":false,"error":{"code":24,"message":"Authorization failed","data":null},"id":2} 
[2022-10-08 23:16:04.3986] [I] [ergo] [0HML9GC97V28F] Banning unauthorized worker 9gAVD2bdBWUQ41zNQmTvRXXt2WpTxVWnRfHXP9bCkeGkp6weV5f for 10 sec 
[2022-10-08 23:16:04.4090] [D] [ergo] [0HML9GC97V28F] [PIPE] Waiting for data ... 
[2022-10-08 23:16:04.4090] [D] [ergo] [0HML9GC97V28F] [PIPE] Received data:  
[2022-10-08 23:16:04.4137] [I] [ergo] [0HML9GC97V28F] Connection closed 

is there any way to clear banning connections or anyway to solve?

oliverw commented 2 years ago

Looks like the coin daemon does not consider the login information sent by Nicehash (address 9gAVD2bdBWUQ41zNQmTvRXXt2WpTxVWnRfHXP9bCkeGkp6weV5f) as valid. Check your Nicehash config.

oravil commented 2 years ago

@oliverw thanks for your replay that's was my fault from coin node config

l-urk commented 1 year ago

this helped me a lot. If someone is having a connection issue it's not miningcore , it's 100% your software, double check your running options and that you're running the correct mining software. This happened to me with ccminer not cpuminer , whoops . Thanks