Bitcoin Forum
January 23, 2019, 05:01:27 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stratum mining proxy is disconnecting  (Read 1748 times)
tytanick
Legendary
*
Offline Offline

Activity: 1456
Merit: 1030


Simplemining.net Admin


View Profile WWW
May 16, 2014, 09:10:27 AM
Last edit: May 19, 2014, 01:35:19 PM by tytanick
 #1

Hi guys,
I have problem that my stratum mining proxy is disconnecting from remote server
Any ideas why ? Google cant help me.


Code:
/usr/local/lib/python2.7/dist-packages/zope.interface-4.1.1-py2.7-linux-x86_64.egg/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.8.8-py2.7.egg is being added to sys.path
  import pkg_resources
2014-05-18 15:20:52,026 WARNING proxy # Stratum proxy version: 1.5.6
2014-05-18 15:20:52,028 WARNING proxy # Checking for updates...
2014-05-18 15:20:52,301 WARNING proxy # Trying to connect to Stratum pool at eu-01.miningrigrentals.com:3333
2014-05-18 15:20:52,421 WARNING proxy # Authorizing custom user tytanick.1274, password x
2014-05-18 15:20:52,435 WARNING proxy # -----------------------------------------------------------------------
2014-05-18 15:20:52,436 WARNING proxy # PROXY IS LISTENING ON ALL IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2014-05-18 15:20:52,436 WARNING proxy # -----------------------------------------------------------------------
2014-05-18 15:20:53,637 ERROR protocol # [Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 2 values to unpack
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py:614:_doReadOrWrite
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:214:doRead
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:220:_dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:192:dataReceived
--- <exception caught here> ---
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py:7:_handle_event
/root/stratum-mining-proxy/mining_libs/client_service.py:83:handle_event
]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py", line 238, in lineReceived
    result = self.event_handler._handle_event(msg_method, msg_params, connection_ref=self)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py", line 7, in _handle_event
    return defer.maybeDeferred(wrap_result_object, self.handle_event(msg_method, msg_params, connection_ref))
  File "/root/stratum-mining-proxy/mining_libs/client_service.py", line 83, in handle_event
    (hostname, port, wait) = params[:3]
ValueError: need more than 2 values to unpack
2014-05-18 15:20:56,220 WARNING proxy # Authorizing custom user tytanick.1274, password x
2014-05-18 15:20:56,804 ERROR protocol # [Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 2 values to unpack
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py:614:_doReadOrWrite
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:214:doRead
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:220:_dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:192:dataReceived
--- <exception caught here> ---
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py:7:_handle_event
/root/stratum-mining-proxy/mining_libs/client_service.py:83:handle_event
]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py", line 238, in lineReceived
    result = self.event_handler._handle_event(msg_method, msg_params, connection_ref=self)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py", line 7, in _handle_event
    return defer.maybeDeferred(wrap_result_object, self.handle_event(msg_method, msg_params, connection_ref))
  File "/root/stratum-mining-proxy/mining_libs/client_service.py", line 83, in handle_event
    (hostname, port, wait) = params[:3]
ValueError: need more than 2 values to unpack
2014-05-18 15:21:00,100 WARNING proxy # Authorizing custom user tytanick.1274, password x
2014-05-18 15:21:00,679 ERROR protocol # [Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 2 values to unpack
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py:614:_doReadOrWrite
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:214:doRead
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:220:_dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:192:dataReceived
--- <exception caught here> ---
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py:7:_handle_event
/root/stratum-mining-proxy/mining_libs/client_service.py:83:handle_event
]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py", line 238, in lineReceived
    result = self.event_handler._handle_event(msg_method, msg_params, connection_ref=self)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py", line 7, in _handle_event
    return defer.maybeDeferred(wrap_result_object, self.handle_event(msg_method, msg_params, connection_ref))
  File "/root/stratum-mining-proxy/mining_libs/client_service.py", line 83, in handle_event
    (hostname, port, wait) = params[:3]
ValueError: need more than 2 values to unpack
2014-05-18 15:21:03,084 WARNING proxy # Authorizing custom user tytanick.1274, password x
2014-05-18 15:21:03,643 ERROR protocol # [Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 2 values to unpack
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py:614:_doReadOrWrite
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:214:doRead
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py:220:_dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:192:dataReceived
--- <exception caught here> ---
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py:7:_handle_event
/root/stratum-mining-proxy/mining_libs/client_service.py:83:handle_event
]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/protocol.py", line 238, in lineReceived
    result = self.event_handler._handle_event(msg_method, msg_params, connection_ref=self)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/event_handler.py", line 7, in _handle_event
    return defer.maybeDeferred(wrap_result_object, self.handle_event(msg_method, msg_params, connection_ref))
  File "/root/stratum-mining-proxy/mining_libs/client_service.py", line 83, in handle_event
    (hostname, port, wait) = params[:3]
ValueError: need more than 2 values to unpack
^C

I DONT REPLY to PRIVATE MESSAGES ON FORUM
Ask on forum or if you cant find answer then: admin@simplemining.net
Easy mining OS from Pendrive and SimpleRigResetter: simplemining.net
1548262887
Hero Member
*
Offline Offline

Posts: 1548262887

View Profile Personal Message (Offline)

Ignore
1548262887
Reply with quote  #2

1548262887
Report to moderator
1548262887
Hero Member
*
Offline Offline

Posts: 1548262887

View Profile Personal Message (Offline)

Ignore
1548262887
Reply with quote  #2

1548262887
Report to moderator
1548262887
Hero Member
*
Offline Offline

Posts: 1548262887

View Profile Personal Message (Offline)

Ignore
1548262887
Reply with quote  #2

1548262887
Report to moderator
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1548262887
Hero Member
*
Offline Offline

Posts: 1548262887

View Profile Personal Message (Offline)

Ignore
1548262887
Reply with quote  #2

1548262887
Report to moderator
1548262887
Hero Member
*
Offline Offline

Posts: 1548262887

View Profile Personal Message (Offline)

Ignore
1548262887
Reply with quote  #2

1548262887
Report to moderator
alexrossi
Legendary
*
Offline Offline

Activity: 1960
Merit: 1046


Make winning bets on sports with Sportsbet.io!


View Profile WWW
May 17, 2014, 12:34:54 PM
 #2

Have you already tried to switch temporarily to another pool to see if the one that you are using now is the problem?

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





███████████████████████████
███████████▀▀         ▀▀███
████████▀   ▄▄██▄  ▀█▄  ▀██
██████▀  ▄████████▄  ▀█  ██
████▀  ▄██████▄▀  ██▄    ██
███▀  ██████▄▀  ▄▀████▄  ██
██▀  █████▄▀  ▄▀██████  ▄██
██  ▀███▄▀  ▄▀███████  ▄███
██    ▀██▄▄▀███████▀  ▄████
██  █▄  ▀████████▀  ▄██████
██▄  ▀█▄  ▀██▀▀   ▄████████
███▄▄         ▄▄███████████
███████████████████████████
███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████
████████     INDUSTRY LEADING BITCOIN SPORTSBOOK     ████████
LIVE
STREAMING
DAILY PRICE
BOOSTS
LIVE DEALER
CASINO
FAST & SECURE
PAYMENTS
███████████████████████████
████████▀▀       ▀▀████████
█████▀  ▄█▄  ▀  ▄▄   ▀█████
████  ▄  ▀    ▀█████▄  ████
███  ▀█▀   ▀█▄   ▀▀██▄  ███
██  ▄    █▄  ▀██▄▄  ▀█▄  ██
██  █▀ ▄  ▀█▄  ▀███▄  ▀  ██
██    ▄██  ▀██▄  ▀███▄   ██
███  ▀████  ▀███▄  ▀█▀  ███
████  ▀████  ▀████▄    ████
█████▄   ▀▀█▄  ▀▀▀   ▄█████
████████▄▄       ▄▄████████
███████████████████████████
███████████████████████████
████████▀▀ █████ ▀▀████████
█████▀    ▄█████▄    ▀█████
██████▄▄█▀▀ ▄▄▄ ▀▀█▄▄██████
███▀███▀ ▄███▀███▄ ▀███▀███
██   █ ▄██▀     ▀██▄ █   ██
██   █ ██         ██ █   ██
██   █ ▀██▄▄█ █▄▄██▀ █   ██
███▄███▄ ▀██▄▄▄██▀ ▄███▄███
██████▀▀█▄▄ ▀▀▀ ▄▄█▀▀██████
█████▄    ▀█████▀    ▄█████
████████▄▄ █████ ▄▄████████
███████████████████████████





..WIN WITH US!..
tytanick
Legendary
*
Offline Offline

Activity: 1456
Merit: 1030


Simplemining.net Admin


View Profile WWW
May 17, 2014, 04:26:01 PM
 #3

yes but i want that one to work, and it is working normally when i put my cgminer directly to it Smiley

I DONT REPLY to PRIVATE MESSAGES ON FORUM
Ask on forum or if you cant find answer then: admin@simplemining.net
Easy mining OS from Pendrive and SimpleRigResetter: simplemining.net
w5pn73
Sr. Member
****
Offline Offline

Activity: 636
Merit: 251


View Profile
May 19, 2014, 01:42:52 PM
 #4

From the stack trace looks like it doesn't handle the client.reconnect message properly.
That is if the stack trace is related to slush's stratum proxy. Without the full source you are actually using nor a dump of what is received it is hard to tell for sure.
tytanick
Legendary
*
Offline Offline

Activity: 1456
Merit: 1030


Simplemining.net Admin


View Profile WWW
May 22, 2014, 11:06:41 AM
 #5

the problem has been solved
https://github.com/Stratehm/stratum-proxy/issues/1

I DONT REPLY to PRIVATE MESSAGES ON FORUM
Ask on forum or if you cant find answer then: admin@simplemining.net
Easy mining OS from Pendrive and SimpleRigResetter: simplemining.net
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!