Author

Topic: Stratum mining proxy is disconnecting (Read 1813 times)

legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
sr. member
Activity: 635
Merit: 251
May 19, 2014, 08:42:52 AM
#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.
legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
May 17, 2014, 11:26:01 AM
#3
yes but i want that one to work, and it is working normally when i put my cgminer directly to it Smiley
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
May 17, 2014, 07:34:54 AM
#2
Have you already tried to switch temporarily to another pool to see if the one that you are using now is the problem?
legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
May 16, 2014, 04:10:27 AM
#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: : 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
--- ---
/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: : 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
--- ---
/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: : 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
--- ---
/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: : 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
--- ---
/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
Jump to: