Author

Topic: Stratum Connection Interrupted (Read 10292 times)

hero member
Activity: 868
Merit: 502
September 03, 2013, 05:28:34 PM
#4
My stratum connection to a pool keeps getting "interrupted" according to my cgminer.
I'm running a 64-bit version of Windows 7.

thanks!


i ran into that kind of problem when rewriting my own pool engine. It appears miners expects "mining.notify" notifications at various minimum intervals before considering a pool as dead, interrupting connection.

for example, cgminer 3.3.3 source code include the following comment:
Quote
/* The protocol specifies that notify messages should be sent
 * every minute so if we fail to receive any for 90 seconds we
 * assume the connection has been dropped and treat this pool
 * as dead */

my rewritten pool now notifies miners at 45 seconds interval (without asking them to discard previous jobs in this case).


If you're running into that "stratum connection to pool xx interrupted" problem, there are chances the chosen pool just waits for new transactions or new blocks before notifying miners.
(i must admit i was first doing the same thing, as i could not see any minimum notification delay in specifications)



Thank you!
member
Activity: 112
Merit: 10
August 13, 2013, 04:23:05 AM
#3
My stratum connection to a pool keeps getting "interrupted" according to my cgminer.
I'm running a 64-bit version of Windows 7.

thanks!


i ran into that kind of problem when rewriting my own pool engine. It appears miners expects "mining.notify" notifications at various minimum intervals before considering a pool as dead, interrupting connection.

for example, cgminer 3.3.3 source code include the following comment:
Quote
/* The protocol specifies that notify messages should be sent
 * every minute so if we fail to receive any for 90 seconds we
 * assume the connection has been dropped and treat this pool
 * as dead */

my rewritten pool now notifies miners at 45 seconds interval (without asking them to discard previous jobs in this case).


If you're running into that "stratum connection to pool xx interrupted" problem, there are chances the chosen pool just waits for new transactions or new blocks before notifying miners.
(i must admit i was first doing the same thing, as i could not see any minimum notification delay in specifications)

sr. member
Activity: 378
Merit: 250
May 25, 2013, 07:58:28 PM
#2
Sounds like your goat got forked.
hero member
Activity: 868
Merit: 502
May 24, 2013, 04:56:18 PM
#1
My stratum connection to a pool keeps getting "interrupted" according to my cgminer.
I'm running a 64-bit version of Windows 7.

thanks!
Jump to: