Bitcoin Forum
July 26, 2024, 11:28:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stratum Connection Interrupted  (Read 10272 times)
The Goat Master (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 502



View Profile
May 24, 2013, 09:56:18 PM
Last edit: September 03, 2013, 10:28:52 PM by The Goat Master
 #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!

            ██
         ▄▄▀  ▀▄
        ▄▀▀▄▄▄  ▀▄
      ▄██▄▄▄▄▄██▄▄▀▄
    ▄▀ █  ▄▄▀▀ █  █ ▀▄▄
  ▄▀  ██▀█ ▄▀▀▄ █ █  █▀▄
██   █ █▐▌█ ██ █ ██ █   ██
  ▀▄█  █ █ ▀▄▄▀▄▄███  ▄▀
   ▀▀▄ █▄▄█▄█▀▀   █ ▄▀
      ▀▄▀▀▄▄ ▀▀▀▀██▀
        ▀▄  ▀▀▄▄▄▀
          ▀▄  ▄▀▀
            ██
.
    ▄▄███████▄▄
  ▄███▀▀   ▀▀███▄
 ███▀         ▀▀
███
███
███
 ███▄         ▄▄
  ▀███▄▄   ▄▄███▀
    ▀▀███████▀▀
██████████▄
▀▀▀▀▀▀▀▀▀███▄
          ▀██▌
          ▄██▌
▄▄▄▄▄▄▄▄▄███▀
██████████▀
██▌    ▀███▄
██▌      ▀███▄
██▌        ▀███
█████████████



█████████████



█████████████
        ██
       ████
      ██▌▐██
     ██▌  ▐██
    ██▌    ▐██
   ██▌      ▐██
  ██▌        ▐██
 ██▌          ▐██
██▌    ███████████
██████████████▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
    ▄▄███████▄▄
  ▄███▀▀   ▀▀███▄
 ███▀         ▀███
███             ███
███             ███
███             ███
 ███▄         ▄███
  ▀███▄▄   ▄▄███▀
    ▀▀███████▀▀
██████████▄
▀▀▀▀▀▀▀▀▀███▄
          ▀██▌
          ▄██▌
▄▄▄▄▄▄▄▄▄███▀
██████████▀
██▌    ▀███▄
██▌      ▀███▄
██▌        ▀███



 ▄▄
████
 ▀▀
        ██
       ████
      ██▌▐██
     ██▌  ▐██
    ██▌    ▐██
   ██▌      ▐██
  ██▌        ▐██
 ██▌          ▐██
██▌    ███████████
██▌
██▌
██▌
██▌
██▌
██▌
██▌
██▌
██▌
███
███
███
███
███
███
███
███
███

███
███

███
███
███
███
███
███
███
███
███
███
███

███
███

███
███
.▀▀▀▀▀▀▀▀    WHITEPAPER    ▀▀▀▀▀▀▀▀.
FACEBOOK       REDDIT       TELEGRAM
BITCOINTALK   TWITTER   INSTAGRAM
computerparts
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile
May 26, 2013, 12:58:28 AM
 #2

Sounds like your goat got forked.
bitcoinreactor
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
August 13, 2013, 09: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)


BTC: 17CHqn3XE3Waf7Qfkm9p2MQE1VgB8gVbG4
The Goat Master (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 502



View Profile
September 03, 2013, 10: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!

            ██
         ▄▄▀  ▀▄
        ▄▀▀▄▄▄  ▀▄
      ▄██▄▄▄▄▄██▄▄▀▄
    ▄▀ █  ▄▄▀▀ █  █ ▀▄▄
  ▄▀  ██▀█ ▄▀▀▄ █ █  █▀▄
██   █ █▐▌█ ██ █ ██ █   ██
  ▀▄█  █ █ ▀▄▄▀▄▄███  ▄▀
   ▀▀▄ █▄▄█▄█▀▀   █ ▄▀
      ▀▄▀▀▄▄ ▀▀▀▀██▀
        ▀▄  ▀▀▄▄▄▀
          ▀▄  ▄▀▀
            ██
.
    ▄▄███████▄▄
  ▄███▀▀   ▀▀███▄
 ███▀         ▀▀
███
███
███
 ███▄         ▄▄
  ▀███▄▄   ▄▄███▀
    ▀▀███████▀▀
██████████▄
▀▀▀▀▀▀▀▀▀███▄
          ▀██▌
          ▄██▌
▄▄▄▄▄▄▄▄▄███▀
██████████▀
██▌    ▀███▄
██▌      ▀███▄
██▌        ▀███
█████████████



█████████████



█████████████
        ██
       ████
      ██▌▐██
     ██▌  ▐██
    ██▌    ▐██
   ██▌      ▐██
  ██▌        ▐██
 ██▌          ▐██
██▌    ███████████
██████████████▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
      ██▌
    ▄▄███████▄▄
  ▄███▀▀   ▀▀███▄
 ███▀         ▀███
███             ███
███             ███
███             ███
 ███▄         ▄███
  ▀███▄▄   ▄▄███▀
    ▀▀███████▀▀
██████████▄
▀▀▀▀▀▀▀▀▀███▄
          ▀██▌
          ▄██▌
▄▄▄▄▄▄▄▄▄███▀
██████████▀
██▌    ▀███▄
██▌      ▀███▄
██▌        ▀███



 ▄▄
████
 ▀▀
        ██
       ████
      ██▌▐██
     ██▌  ▐██
    ██▌    ▐██
   ██▌      ▐██
  ██▌        ▐██
 ██▌          ▐██
██▌    ███████████
██▌
██▌
██▌
██▌
██▌
██▌
██▌
██▌
██▌
███
███
███
███
███
███
███
███
███

███
███

███
███
███
███
███
███
███
███
███
███
███

███
███

███
███
.▀▀▀▀▀▀▀▀    WHITEPAPER    ▀▀▀▀▀▀▀▀.
FACEBOOK       REDDIT       TELEGRAM
BITCOINTALK   TWITTER   INSTAGRAM
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!