Bitcoin Forum
December 05, 2016, 12:50:42 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 »  All
  Print  
Author Topic: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy  (Read 96683 times)
greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 16, 2014, 03:39:09 PM
 #241

I am getting a warning in eloipool.log file

Code:
2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last):
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/opt/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

What is it and how to get read of it?

Thanks,

I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up.  Is your bitcoind still downloading blocks?

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
1480899042
Hero Member
*
Offline Offline

Posts: 1480899042

View Profile Personal Message (Offline)

Ignore
1480899042
Reply with quote  #2

1480899042
Report to moderator
1480899042
Hero Member
*
Offline Offline

Posts: 1480899042

View Profile Personal Message (Offline)

Ignore
1480899042
Reply with quote  #2

1480899042
Report to moderator
1480899042
Hero Member
*
Offline Offline

Posts: 1480899042

View Profile Personal Message (Offline)

Ignore
1480899042
Reply with quote  #2

1480899042
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ShurikAg
Newbie
*
Offline Offline

Activity: 9


View Profile
February 17, 2014, 06:57:24 AM
 #242

I am getting a warning in eloipool.log file

Code:
2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last):
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/opt/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

What is it and how to get read of it?

Thanks,

I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up.  Is your bitcoind still downloading blocks?


I tried different scenarios. Waited for bitcoin to finish syncing. Tried to restart. Start bitcoin wait for a while and start eloipool.
Everything behaves the same way.
ShurikAg
Newbie
*
Offline Offline

Activity: 9


View Profile
February 17, 2014, 07:14:20 AM
 #243

...

I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up.  Is your bitcoind still downloading blocks?


Hmm, all of a sudden started to work. And I think I am very sad... I just missed a block Sad
ShurikAg
Newbie
*
Offline Offline

Activity: 9


View Profile
February 17, 2014, 07:31:59 AM
 #244

I am getting this in the logs:
Code:
2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 00000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc
eloipool.py: no process found
2014-02-16 23:15:09,471 merkleMaker INFO New block: 00000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc (height: 286323; bits: 19015f53)
2014-02-16 23:15:09,474 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:15:10,191 JSONRPCServer INFO Nobody to longpoll
eloipool.py: no process found
2014-02-16 23:18:32,053 BitcoinLink DEBUG Received block inv over p2p for 00000000000000004b86d9bc749093ddaa11156fb007a3735125898df92f654a
2014-02-16 23:18:32,215 merkleMaker INFO New block: 00000000000000004b86d9bc749093ddaa11156fb007a3735125898df92f654a (height: 286324; bits: 19015f53)
2014-02-16 23:18:32,216 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:18:32,828 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:23:42,376 BitcoinLink DEBUG Received block inv over p2p for 0000000000000001337babf9df90a713cc1abfac2bb63b00b8d336a7b9017e5e
eloipool.py: no process found
2014-02-16 23:23:42,570 merkleMaker INFO New block: 0000000000000001337babf9df90a713cc1abfac2bb63b00b8d336a7b9017e5e (height: 286325; bits: 19015f53)
2014-02-16 23:23:42,573 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:23:43,220 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:28:11,354 BitcoinLink DEBUG Received block inv over p2p for 0000000000000000479bceaf71cf63741e9bf2905415d46cdf9c33d09b3aa9ee
eloipool.py: no process found
2014-02-16 23:28:11,548 merkleMaker INFO New block: 0000000000000000479bceaf71cf63741e9bf2905415d46cdf9c33d09b3aa9ee (height: 286326; bits: 19015f53)
2014-02-16 23:28:11,558 JSONRPCServer INFO Nobody to longpoll
2014-02-16 23:28:12,292 JSONRPCServer INFO Nobody to longpoll

Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block?
Luke-Jr
Legendary
*
Offline Offline

Activity: 2086



View Profile
February 17, 2014, 03:24:41 PM
 #245

I am getting a warning in eloipool.log file

Code:
2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last):
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/opt/eloipool-server/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/opt/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

What is it and how to get read of it?

Thanks,
This seems to be yet another bug in the latest bitcoinrpc.
Eligius runs 22e290b0bcabf6bc88b4d3f5a7d074677e8fe7b9

greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 17, 2014, 05:37:03 PM
 #246

I am getting this in the logs:
Code:
2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 0000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc

Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block?


I'm assuming you are referring to this.  This just means there has been a new block found by the network, not your pool. bitcoind is notifying eloipool of the new block.

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
ShurikAg
Newbie
*
Offline Offline

Activity: 9


View Profile
February 18, 2014, 06:21:48 AM
 #247

I am getting this in the logs:
Code:
2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 0000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc

Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block?


I'm assuming you are referring to this.  This just means there has been a new block found by the network, not your pool. bitcoind is notifying eloipool of the new block.
Understood, thanks
valsha
Jr. Member
*
Offline Offline

Activity: 39


View Profile
February 18, 2014, 11:53:21 AM
 #248


Your miner is configured to use scrypt, which is used by litecoin and various other crypotcoins.  eloi does NOT support scrypt...

Hi, is this patch helps me to support scrypt https://gitorious.org/bitcoin/luke-jr-bitcoin/source/8f3f29550c2ad33f5635799ba835276eaebb4a2e:contrib/merged-mine-proxy ??

eloipool only supports sha256, basically only bitcoin is supported.
all cryptocurrency sha256 is supported ? or ONLY bitcoin ??
Thank you.
agibby5
Sr. Member
****
Offline Offline

Activity: 265


View Profile
February 18, 2014, 03:31:28 PM
 #249

eloipool only supports sha256, basically only bitcoin is supported.
all cryptocurrency sha256 is supported ? or ONLY bitcoin ??
Thank you.

alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt.

Code:
# Network ID for the primary blockchain
# Other known network IDs can be found at:
#     https://en.bitcoin.it/wiki/Protocol_specification#Message_structure
UpstreamNetworkId = b'\x0b\x11\x09\x07'  # testnet3

BTC: 1PGUrmBkN3r3NsB6de6p2whDguG2W6C4WA
valsha
Jr. Member
*
Offline Offline

Activity: 39


View Profile
February 18, 2014, 06:41:49 PM
 #250

eloipool only supports sha256, basically only bitcoin is supported.
all cryptocurrency sha256 is supported ? or ONLY bitcoin ??
Thank you.

alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt.

Code:
# Network ID for the primary blockchain
# Other known network IDs can be found at:
#     https://en.bitcoin.it/wiki/Protocol_specification#Message_structure
UpstreamNetworkId = b'\x0b\x11\x09\x07'  # testnet3
Thank you.
Let say i need to run bitcoin and continuum, all sha256 based.
I need to run 2 separate copies Eloipool?
agibby5
Sr. Member
****
Offline Offline

Activity: 265


View Profile
February 18, 2014, 09:37:39 PM
 #251

eloipool only supports sha256, basically only bitcoin is supported.
all cryptocurrency sha256 is supported ? or ONLY bitcoin ??
Thank you.

alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt.

Code:
# Network ID for the primary blockchain
# Other known network IDs can be found at:
#     https://en.bitcoin.it/wiki/Protocol_specification#Message_structure
UpstreamNetworkId = b'\x0b\x11\x09\x07'  # testnet3
Thank you.
Let say i need to run bitcoin and continuum, all sha256 based.
I need to run 2 separate copies Eloipool?

https://bitcointalk.org/index.php?topic=61731.msg3807307#msg3807307

BTC: 1PGUrmBkN3r3NsB6de6p2whDguG2W6C4WA
mydjuu
Newbie
*
Offline Offline

Activity: 2


View Profile
February 19, 2014, 09:53:06 PM
 #252

I installed Eloipool and all its required dependencies. I tried eloipool on two different machines with the same problem. I get two errors.

The first error is when bfgminer connects over straturm on port 3334:

Code:

2014-02-19 16:43:02,707 StratumServer ERROR Traceback (most recent call last):
  File "/home/xxx/eloipool-server-master/eloipool/networkserver.py", line 392, in serve_forever
    f()
  File "/home/xxx/eloipool-server-master/eloipool/stratumserver.py", line 135, in sendJob
    self.push(self.server.JobBytes)
AttributeError: 'StratumServer' object has no attribute 'JobBytes'




The second type of error that appears whenever I Start the server and floods my screen repetitively is

Code:
2014-02-19 16:51:50,480 merkleMaker CRITICAL Traceback (most recent call last):
  File "/home/xxx/eloipool-server-master/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/home/xxx/eloipool-server-master/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/home/xxx/eloipool-server-master/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/home/xxx/eloipool-server-master/eloipool/merklemaker.py", line 553, in _updateMerkleTree
    if self.needMerkle == 2:
AttributeError: 'merkleMaker' object has no attribute 'needMerkle'

I have been trying to fix this problem for two days before I come here and appreciate any help!

greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 21, 2014, 02:14:41 AM
 #253

Is the TrackerAddr a valid Bitcoin address.
Do 25 BTC of a solved block go on that address?

Yes, put your BTC address in there.

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
whitehathacker
Newbie
*
Offline Offline

Activity: 14

I fight for the user.


View Profile
February 27, 2014, 03:27:14 PM
 #254

Greetings! New poster, solved MOST problems. The only problems I have now are:

Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

and

Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last                                                                                        ):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/var/www/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/var/www/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/var/www/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/var/www/eloipool/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

I've solved some of the issues I had already with this thread (thank you very much guys).

Once I get this sucker running without errors I plan on helping out (if thats alright with you luke-jr) by documenting the whole process thoroughly. Also eventually working on a basic frontend.

~WHH
greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 27, 2014, 04:16:54 PM
 #255


Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last                                                                                        ):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/var/www/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/var/www/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/var/www/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/var/www/eloipool/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

Luke-Jr seems to think this is a problem with the bitcoind rpc.  I see this error when bitcoin isn't up to date or still starting.  the first error I've not seen before.

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
whitehathacker
Newbie
*
Offline Offline

Activity: 14

I fight for the user.


View Profile
February 27, 2014, 04:26:44 PM
 #256


Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last                                                                                        ):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/var/www/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/var/www/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/var/www/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/var/www/eloipool/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

Luke-Jr seems to think this is a problem with the bitcoind rpc.  I see this error when bitcoin isn't up to date or still starting.  the first error I've not seen before.

So is there a specific build of the bitcoind rpc that works works?
greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 27, 2014, 04:31:12 PM
 #257


Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last                                                                                        ):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/var/www/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/var/www/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/var/www/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/var/www/eloipool/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

Luke-Jr seems to think this is a problem with the bitcoind rpc.  I see this error when bitcoin isn't up to date or still starting.  the first error I've not seen before.

So is there a specific build of the bitcoind rpc that works works?

I use this PPA, for my ubuntu box. It doesn't produce any errors for me.

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
whitehathacker
Newbie
*
Offline Offline

Activity: 14

I fight for the user.


View Profile
February 27, 2014, 04:50:15 PM
 #258


Code:
2014-02-26 20:43:30,962 StratumHandler  DEBUG   Traceback (most recent call last                                                                                        ):
  File "/var/www/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/var/www/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/var/www/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/var/www/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/var/www/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/var/www/eloipool/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

Luke-Jr seems to think this is a problem with the bitcoind rpc.  I see this error when bitcoin isn't up to date or still starting.  the first error I've not seen before.

So is there a specific build of the bitcoind rpc that works works?

I use this PPA, for my ubuntu box. It doesn't produce any errors for me.

Interesting, I just checked my repo and I'm using the same one you are (Also ubuntu user)
greatbotboy
Jr. Member
*
Offline Offline

Activity: 37



View Profile WWW
February 27, 2014, 04:56:30 PM
 #259

Weird.. Other than a couple extra signals, for restarting and stopping, my eloipool is unmolested.

Code:
2014-02-27 10:44:50,958 BitcoinLink DEBUG Received block inv over p2p for 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac
2014-02-27 10:44:51,046 newBlockNotification INFO Received new block notification
2014-02-27 10:44:51,734 merkleMaker INFO New block: 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac (height: 288136; bits: 19015f53)
2014-02-27 10:44:51,827 JSONRPCServer INFO Longpoll woke up 5 clients in 0.005 seconds
2014-02-27 10:44:52,846 JSONRPCServer INFO Waiting 3.98 seconds to longpoll
2014-02-27 10:44:56,920 JSONRPCServer INFO Longpoll woke up 5 clients in 0.092 seconds

and my debug logs only show errors when I have restarted the server.

1BoTBoY7YTEfZCgSZLr4FGaUYiysAPSpxA
NoctumDesign BTC Pool - VarDiff, GBT, Stratum, ASIC Ready
whitehathacker
Newbie
*
Offline Offline

Activity: 14

I fight for the user.


View Profile
February 27, 2014, 05:01:20 PM
 #260

Weird.. Other than a couple extra signals, for restarting and stopping, my eloipool is unmolested.

Code:
2014-02-27 10:44:50,958 BitcoinLink DEBUG Received block inv over p2p for 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac
2014-02-27 10:44:51,046 newBlockNotification INFO Received new block notification
2014-02-27 10:44:51,734 merkleMaker INFO New block: 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac (height: 288136; bits: 19015f53)
2014-02-27 10:44:51,827 JSONRPCServer INFO Longpoll woke up 5 clients in 0.005 seconds
2014-02-27 10:44:52,846 JSONRPCServer INFO Waiting 3.98 seconds to longpoll
2014-02-27 10:44:56,920 JSONRPCServer INFO Longpoll woke up 5 clients in 0.092 seconds

and my debug logs only show errors when I have restarted the server.

So do you just get the new block notifications and the standard longpools in your logfile?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 »  All
  Print  
 
Jump to:  

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!