bonesoul / CoiniumServ

Next-gen crypto currency mining pool software
Other
795 stars 493 forks source link

miner not connecting #948

Open bobozm opened 6 years ago

bobozm commented 6 years ago

everthing is up and running not showing any error but cant get miner to connect seems miner cant find

jeong760 commented 6 years ago

Dears,

I think your problem caused by bind IP setting on your pool/default.json. Another if you are using a hardware-based firewall, then you should be open your Stratum port on it example if you are using a 3333 as your miner stratum, then create a 3333 and allow it on your firewall

"stratum": { "enabled": true, "bind": "0.0.0.0", <---- If you set 127.0.0.1, then please change it to 0.0.0.0

References 0.0.0.0 means that allow connecting to your mining pool from anywhere 127.0.0.1** means that allow connecting to your mining pool from localhost only.

Regards, John Ahn

bobozm commented 6 years ago

I set bind 0.0.0.0 ufw allow (port) still miner not finding

bobozm commented 6 years ago

try to connect miner this is error from coiniumserv

Error] [StratumServer] [Bulwark] SocketException on ReceiveCallback System.Net.Sockets.SocketException (0x80004005): Connection reset by peer at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in :0 at CoiniumServ.Server.Mining.Stratum.Sockets.Connection.EndReceive (System.IAsyncResult result) [0x00006] in <04b2c682de9745d9b07721af4397ecfd>:0 at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.ReceiveCallback (System.IAsyncResult result) [0x00011] in <04b2c682de9745d9b07721af4397ecfd>:0

bobozm commented 6 years ago

this is miner

[10:10:47] Started sgminer 5.6.1-nicehash-51 [10:10:47] * using Jansson 2.7 [10:10:47] Probing for an alive pool [10:11:47] No servers were found that could be used to get work from. [10:11:47] Please check the details from the list below of the servers you have input [10:11:47] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers

jeong760 commented 6 years ago

@bobozm, What is your Stratum socket and are you sure you will allow them on Linux firewall? also if you have a private router between your pool and miner it should be check.

Above SocketException occurred when designated Stratum ports used by another process.

bobozm commented 6 years ago

all firewalls have been handled error occurs after miner fails to connect if it was port issue error occurs with start up of CoiniumServ

jeong760 commented 6 years ago

@bobozm, Could you capture your CoiniumServ console screen?