Bitcoin Forum
April 24, 2024, 05:28:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 123078 times)
agibby5
Sr. Member
****
Offline Offline

Activity: 267
Merit: 250


View Profile
December 03, 2013, 02:46:40 PM
 #221

Also, how hard would it be to add share log file rotation? Mine grows out of control.
Already supported.

I tried to use the same mechanism as I use for the regular log file and it doesn't appear to be working...


I keep getting the following error repeatedly.

Ideas?

Quote
2013-10-25 12:38:04,438   StratumHandler   DEBUG   Traceback (most recent call last):
  File "../eloipool/eloipool.py", line 668, in receiveShare
    checkShare(share)
  File "../eloipool/eloipool.py", line 506, in checkShare
    MWL = workLog[None]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 91, in found_terminator
    rv = getattr(self, funcname)(*rpc['params'])
  File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 199, in _stratum_mining_submit
    self.server.receiveShare(share)
  File "../eloipool/eloipool.py", line 677, in receiveShare
    logShare(share)
  File "../eloipool/eloipool.py", line 651, in logShare
    share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8')
KeyError: 'data'

Is this a setup issue? Or is this a code issue?  Has anyone else seen his?  Everything else seems to work properly, but then I get this error all the time. I'm not sure if I'm getting blocks or not.  I'm using this pool software for Alt-SHA256 coins... I just started this up again yesterday and I haven't seen any payouts yet.  This makes me worried.


EDIT: looks like someone else has seen this...
I keep getting the following exception though.

Code:
2013-11-23 03:58:18,716 StratumHandler  DEBUG   Traceback (most recent call last):
  File "./eloipool.py", line 668, in receiveShare
    checkShare(share)
  File "./eloipool.py", line 506, in checkShare
    MWL = workLog[None]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/foo/build/eloipool/stratumserver.py", line 91, in found_terminator
    rv = getattr(self, funcname)(*rpc['params'])
  File "/home/foo/build/eloipool/stratumserver.py", line 199, in _stratum_mining_submit
    self.server.receiveShare(share)
  File "./eloipool.py", line 677, in receiveShare
    logShare(share)
  File "./eloipool.py", line 651, in logShare
    share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8')
KeyError: 'data'

2013-11-23 03:58:18,720 JSONRPCServer   INFO    Nobody to longpoll


I am wondering if I should be concerned that eloipool won't be handling winning shares correctly.

Anyone work around this?

Is this a known issue?

I had this four times overnight.
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713936524
Hero Member
*
Offline Offline

Posts: 1713936524

View Profile Personal Message (Offline)

Ignore
1713936524
Reply with quote  #2

1713936524
Report to moderator
agibby5
Sr. Member
****
Offline Offline

Activity: 267
Merit: 250


View Profile
December 03, 2013, 02:48:22 PM
 #222

How would I go about setting up multiple instances of eloipool on one server for multiple crypto coins?  I'm guessing there is a problem with sending signals to the eloipool process if there are many running... for example.

I figured this out on my own.  I don't know if this is the right way, but I copied and renamed my eloipool-server folder and changed the name of the eloipool.py file and made sure my newblock script was sending the message to the right process name and it workes fine!
aTg
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
December 10, 2013, 08:01:09 PM
 #223

Hi Luke, I installed eloi and it works perfectly, my question is, how can I make the rewards go only to the user who submitted the winning hash, I understand it has to be configured in diff1 to two different people not working in the same hash but how?
Thanks in advance.
danny1987
Member
**
Offline Offline

Activity: 85
Merit: 11


View Profile
December 10, 2013, 08:48:34 PM
 #224

Hello,

I've installed eloipool and everything is working fine except for one thing, my miner stays at difficulty 0. Is there some setting I did wrong or is there some extra configuration needed for vardiff to work ?

Thanks for the reply!

Regards,

Danny
FoldingTime
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 12, 2013, 02:02:19 PM
Last edit: December 12, 2013, 05:34:56 PM by FoldingTime
 #225

Restart pool server (including upgrades) without miners losing work.

Can someone let me know how to restart the pool server without miners losing work?

Many thanks.
FoldingTime
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 12, 2013, 02:04:07 PM
 #226

Hello,

I've installed eloipool and everything is working fine except for one thing, my miner stays at difficulty 0. Is there some setting I did wrong or is there some extra configuration needed for vardiff to work ?

Thanks for the reply!

Regards,

Danny
There is a workaround at https://bitcointalk.org/index.php?topic=61731.msg3598140#msg3598140

FoldingTime
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 13, 2013, 04:41:10 PM
 #227

I occasionally get this error. any ideas what it could be?

Code:
  File "./eloipool.py", line 668, in receiveShare
    checkShare(share)
  File "./eloipool.py", line 506, in checkShare
    MWL = workLog[None]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bitcoin/eloipool/stratumserver.py", line 91, in found_terminator
    rv = getattr(self, funcname)(*rpc['params'])
  File "/home/bitcoin/eloipool/stratumserver.py", line 199, in _stratum_mining_submit
    self.server.receiveShare(share)
  File "./eloipool.py", line 677, in receiveShare
    logShare(share)
  File "./eloipool.py", line 651, in logShare
    share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8')
KeyError: 'data'

From what I can make out the checkShare fails to handle the share being passed but not sure other than that.
agibby5
Sr. Member
****
Offline Offline

Activity: 267
Merit: 250


View Profile
December 16, 2013, 05:26:57 AM
 #228

I occasionally get this error. any ideas what it could be?

Code:
  File "./eloipool.py", line 668, in receiveShare
    checkShare(share)
  File "./eloipool.py", line 506, in checkShare
    MWL = workLog[None]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bitcoin/eloipool/stratumserver.py", line 91, in found_terminator
    rv = getattr(self, funcname)(*rpc['params'])
  File "/home/bitcoin/eloipool/stratumserver.py", line 199, in _stratum_mining_submit
    self.server.receiveShare(share)
  File "./eloipool.py", line 677, in receiveShare
    logShare(share)
  File "./eloipool.py", line 651, in logShare
    share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8')
KeyError: 'data'

From what I can make out the checkShare fails to handle the share being passed but not sure other than that.

This is a very mysterious problem, apparently.

littlemc
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 26, 2013, 05:56:32 AM
 #229

so... no scrypt support?

koosBR
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 04, 2014, 12:01:21 AM
 #230

need support to create a pool for a new currency. Who can help me send PM and reward in the currency in question
wuzamarine
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250

derp


View Profile
January 19, 2014, 12:58:08 AM
 #231

I am trying to get eloipool up and running in a solo mining configuration using this installation https://bitcointalk.org/index.php?topic=158105.0 eolipool starts up error free but clients cannot connect. The port is up and no visual errors in any log. tcpdump does show the packets hitting the port.

I followed the directions and I get no errors. Port 8338 comes live and can be seen via netstat.

tcp6      15      0 :::8338                 :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6      70      0 192.168.1.8:8338        192.168.1.8:33885       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33896       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33890       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33897       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33899       CLOSE_WAIT
tcp6      70      0 192.168.1.8:8338        192.168.1.8:33892       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33895       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33891       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33900       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33889       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33894       CLOSE_WAIT
tcp6      71      0 192.168.1.8:8338        192.168.1.8:33898       CLOSE_WAIT
tcp6      70      0 192.168.1.8:8338        192.168.1.8:33887       CLOSE_WAIT
tcp6      70      0 192.168.1.8:8338        192.168.1.8:33884       CLOSE_WAIT
tcp6      70      0 127.0.0.1:8338          127.0.0.1:49649         CLOSE_WAIT



gentoo001 home # ./minerd -o stratum+tcp://192.168.1.8:8338 -u admin -p butthole -q
[2014-01-18 22:51:19] 1 miner threads started, using 'scrypt' algorithm.
[2014-01-18 22:51:19] Starting Stratum on stratum+tcp://192.168.1.8:8338
[2014-01-18 22:51:49] stratum_subscribe timed out
[2014-01-18 22:51:49] ...retry after 30 seconds
[2014-01-18 22:52:49] stratum_subscribe timed out
[2014-01-18 22:52:49] ...retry after 30 seconds





gentoo001 eloipool # cat config.py
# Please note that config files are Python source code!
# A common mistake is to put an option list (such as TemplateChecks,
# JSONRPCAddresses, etc) excluding the final comma.
# For example (this is WRONG):
#     JSONRPCAddresses = (
#         ('', 8337)  # <-- there must be a comma after EVERY item, even last
#     )
# Without the final comma, should the option list ever have only one item in
# it, Python would interpret the "main" parenthesis as a mere sub-expression
# instead of a list of values. If that occurs, you might get crazy errors, or
# things might just not work correctly. Be careful to not miss the commas.

### Settings relating to server identity

# Name of the server
ServerName = 'Whirpools'

### Settings relating to server scaling/load

# Share hashes must be below this to be valid shares
# If dynamic targetting is enabled, this is a minimum
ShareTarget = 0x000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffff

# Automatically adjust targets per username
# 0 = disabled
# 1 = arbitrary targets
# 2 = power of two difficulties (zero bit counts)
DynamicTargetting = 2

# How many shares per minute to try to achieve on average
DynamicTargetGoal = 6

# Number of seconds hashrate is measured over
DynamicTargetWindow = 120

# Minimum and maximum of merkle roots to keep queued
WorkQueueSizeRegular = (0x100, 0x1000)

# Minimum and maximum of BLANK merkle roots to keep queued
# (used if we run out of populated ones)
WorkQueueSizeClear = (0x1000, 0x2000)

# Minimum and maximum of BLANK merkle roots to keep queued, one height up
# (used for longpolls)
WorkQueueSizeLongpoll = (0x1000, 0x2000)

# How long to wait between getmemorypool updates normally
MinimumTxnUpdateWait = 5

# How long to wait between retries if getmemorypool fails
TxnUpdateRetryWait = 1

# How long to sleep in idle loops (temporary!)
IdleSleepTime = 0.1

### Settings relating to reward generation

# Address to generate rewards to
TrackerAddr = '13siH3VpL4nwJCXpWnMMAaSZCAz9EVsNCv'  # testnet

# Coinbaser command to control reward delegation
# %d is replaced with the total value of the block reward (in satoshis)
# %p is replaced with the previous block hash in hexadecimal
# NOTE: This example donates 1% of block rewards to Luke-Jr for Eloipool development
#CoinbaserCmd = 'echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU"'

### Settings relating to upstream data providers

# JSON-RPC servers to get block templates from
# See https://en.bitcoin.it/wiki/BIP_0023#Logical_Services for key details
TemplateSources = (
        {
                'name': 'primary',
                'uri': 'http://admin:"bunghole"@localhost:8332',
                'priority': 0,
                'weight': 1,
        },
        {
                'name': 'secondary',
                'uri': 'http://admin:"bunghole"@localhost:18332',
                'priority': 1,
                'weight': 1,
        },
)

# JSON-RPC servers to check block proposals with
# If none provided, and selected source supports proposals, it alone will also
# be used for checking
# NOTE: Any servers listed here MUST support BIP 23 Block Proposals
# NOTE: Mainline bitcoind (as of 0.Cool does NOT support this (though the 0.8.0.eligius branch does)
TemplateChecks = (
#       {
#               'name': 'primary',
#               'uri': 'http://admin:"bunghole"@localhost:8332',
#
#               # If 'unanimous' is true, no template will be used if this node
#               # rejects it
#               'unanimous': False,
#
#               # If check servers disagree on all templates, they will be scored and
#               # the highest score will be used; 'weight' can be used to control the
#               # scoring per-server
#               'weight': 1.1,
#       },
#       {
#               'name': 'secondary',
#               'uri': 'http://admin:"bunghole"@localhost:18332',
#               'unanimous': False,
#               'weight': 1,
#       },
)

# JSON-RPC servers to submit found blocks to (when they meet the full target)
# The specific TemplateSource that the block was based on will always be sent
# the block first.
# If setting is not specified, or None, full TemplateSources list will be used.
# If an empty list, no extra submissions will be attempted.
# If an empty list, and the block was found on a "clear" merkle root (not based
# on any TemplateSource), the full TemplateSources list will be used.
BlockSubmissions = (
        {
                'name': 'primary',
                'uri': 'http://admin:"bunghole"@localhost:8332',
        },
        {
                'name': 'secondary',
                'uri': 'http://admin:"bunghole"@localhost:18332',
        }
)

# Templates will not be used unless they have an acceptance ratio above this
# Range: 0.00 - 1.00
MinimumTemplateAcceptanceRatio = 0

# No template with a combined total score below this will be used
MinimumTemplateScore = 1

# Set to True if you want shares meeting the upstream target to wait for a
# response from an upstream server before logging them. Otherwise, for such
# shares, upstreamResult will always be True and upstreamRejectReason will
# always be None. Note that enabling this may cause shares to be logged out of
# order, or with the wrong timestamp (if your share logger uses the log-time
# rather than share-time).
DelayLogForUpstream = True

# Bitcoin p2p server for announcing blocks found
UpstreamBitcoindNode = ('127.0.0.1', 8333)  # mainnet

# 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
UpstreamNetworkId = b'\xF9\xBE\xB4\xD9'

# Secret username allowed to use setworkaux
#SecretUser = ""

# URI to send gotwork with info for every share submission
#GotWorkURI = ''

# Share hashes must be below this to be submitted to gotwork
GotWorkTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

# Aim to produce blocks with transaction counts that are a power of two
# This helps avoid any chance of someone abusing CVE-2012-2459 with them
# 1 = cut out feeless transactions; 2 = cut out even fee-included transactions (if possible)
#POT = 2

# Avoid mining feeless transactions except to satisfy POT
# Note this only works if POT is in fact enabled in the first place
Greedy = False

### Settings relating to network services
# Note that Eloipool only supports IPv6 sockets, and if you want to bind to an
# IPv4 address you will need to prepend it with ::ffff: eg ::ffff:192.168.1.2

# Addresses to listen on for JSON-RPC GBT/getwork server
JSONRPCAddresses = (
        ('', 8337),
)

# Addresses to listen on for Stratum mining server
StratumAddresses = (
        ('', 3334),
)

# Addresses to listen on for Bitcoin node
# Note this will only be used to distribute blocks the pool finds, nothing else
BitcoinNodeAddresses = (
        ('', 8338),
)

# Addresses that are allowed to "spoof" from address with the X-Forwarded-For header
TrustedForwarders = ('::ffff:127.0.0.1',)


# Logging of shares:
ShareLogging = (
        {
                'type': 'logfile',
                'filename': 'share-logfile',
                'format': "{time} {Q(remoteHost)} {username} {YN(not(rejectReason))} {dash(YN(upstreamResult))} {dash(rejectReason)} {solution}\n",
        },
        {
                'type': 'sql',
                'engine': 'mysql',
                'dbopts': {
                        'host': 'localhost',
                        'db': 'pools',
                        'user': 'admin',
                        'password': 'bunghole',
                },
                'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, unhex({solution}))",
#       },
#       {
#               'type': 'sql',
#               'engine': 'sqlite',
#               'dbopts': {
#                       'database': 'share.db',
#               },
#               'statement': "insert into shares (remoteHost, username, rejectReason, upstreamResult, solution) values ({remoteHost}, {username}, {rejectReason}, {upstreamResult}, {solution})",
        },
)

# Authentication
# There currently are 2 modules.
# - allowall will allow every username/password combination
# - simplefile will use the username/passwords from a file, which contains username<tab>password\n with no \n on the last line.
Authentication =  (
        {
                'module': 'allowall',
        },
#       {
#               'module': 'simplefile',
#               'filename': 'userdatabase',
#       },
)

### Settings related to poolserver logging

# By default, significant events will be printed to the interactive console
# You can customize your logging using either simple parameters, or Python's advanced logging framework
# Note that using Python's logging framework will override the default console logging!

# To simply log everything to the system log (syslog) as well:
# LogToSysLog = True

# To make a log file:
# LogFile = 'filename.log'

# For a rotating log file:
LogFile = {
        'filename': 'eolipool.log',
        'when': 'midnight',
        'backupCount': 7,
}
# For details, see:
# http://docs.python.org/3/library/logging.handlers.html#logging.handlers.TimedRotatingFileHandler

kinlo
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250


Pool operator of Triplemining.com


View Profile
January 19, 2014, 03:11:26 PM
 #232

On which network are you trying to mine?

eloipool only supports sha256, basically only bitcoin is supported.

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

Perhaps you want to correctly configure your miner?
wuzamarine
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250

derp


View Profile
January 19, 2014, 09:45:47 PM
 #233

On which network are you trying to mine?

eloipool only supports sha256, basically only bitcoin is supported.

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

Perhaps you want to correctly configure your miner?

Its running on bitcoind, though once I figure it out I will be hotwiring it for other coins.
I am not sure about how it is configure for the network, none of the tutorials referenced that specifically.
greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
January 22, 2014, 11:05:47 PM
 #234

I followed the directions and I get no errors. Port 8338 comes live and can be seen via netstat.

gentoo001 home # ./minerd -o stratum+tcp://192.168.1.8:8338 -u admin -p butthole -q

Given your configuration:

# Addresses to listen on for JSON-RPC GBT/getwork server
JSONRPCAddresses = (
        ('', 8337),
)

# Addresses to listen on for Stratum mining server
StratumAddresses = (
        ('', 3334),
)

# Addresses to listen on for Bitcoin node
# Note this will only be used to distribute blocks the pool finds, nothing else
BitcoinNodeAddresses = (
        ('', 8338),
)

Your miners should connect to:
8337 for GBT/Getwork
3334 for stratum

You miner should be something like (sorry not too familiar with minerd):

./minerd -o http://192.168.1.8:8337 -u admin -p butthole -q
or
./minerd -o stratum+tcp://192.168.1.8:3334 -u admin -p butthole -q


8338 is a listening port for your bitcoind to connect to. You need to add a line to the configuration file for bitcoind. If eloipool and bitcoind are not on the same server you need to put the IP of the box running eloipool.
addnode=127.0.0.1:8338
smoothrunnings
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
February 01, 2014, 09:53:06 PM
 #235

Is there a complete guide some where to installing Eloipool from scratch? And is there any kind of support site like P2pool has?

Thanks,
greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
February 05, 2014, 02:39:55 PM
 #236

Is there a complete guide some where to installing Eloipool from scratch? And is there any kind of support site like P2pool has?

Thanks,


jgarzik did a little step-by-step guide here. I've used it, it works.
https://bitcointalk.org/index.php?topic=158105.0

Or you can use zero-asic's Install script. I've used it as well it also works.
https://bitcointalk.org/index.php?topic=171782.0

As for a support site, bitcointalk.org is as good as it gets.
ShurikAg
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 16, 2014, 11:04:55 AM
 #237

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,
greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



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

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?
ShurikAg
Newbie
*
Offline Offline

Activity: 9
Merit: 0


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

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
Merit: 0


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

...

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
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 »  All
  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!