Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR block_updater # UpdateWatchdog.run failed #68

Closed
jinpeng309 opened this issue Dec 28, 2013 · 7 comments
Closed

ERROR block_updater # UpdateWatchdog.run failed #68

jinpeng309 opened this issue Dec 28, 2013 · 7 comments

Comments

@jinpeng309
Copy link

I want to build a JKC Pool(https://github.com/Hartland/JKC) , but when I run the twisted get the error message like below:
2013-12-28 23:16:51,888 ERROR block_updater # UpdateWatchdog.run failed
Traceback (most recent call last):
File "/root/stratum-mining/lib/block_updater.py", line 49, in run
prevhash = util.reverse_hash((yield self.bitcoin_rpc.prevhash()))
Error: 500 Internal Server Error
My junkcoin.conf like below:

noirc=1
rpcuser=name
rpcpassword=123456
rpcallowip=*
port=19333
rpcport=9772
gen=0
4way=1

@ahmedbodi
Copy link
Member

not sure on that if im honest
maybe @Hartland could give some ideas

@Hartland
Copy link
Contributor

A few things off the top of my head:
Drop the noirc parameter. Without IRC you may not be connecting to any other nodes. This in itself could be the problem.
Also related, drop the port parameter. Why are you changing the P2P port? Again, this will stop you from connecting to any nodes. (Using a custom RPC port is ok)

rpcallowip=* is a security risk, you are basically telling the daemon to accept RPC connections from anybody-anywhere. If you need to use the rpcallowip parameter, restrict it a certain IP or network. For example: 192.168.1.*

Not quite sure what the "4way" parameter is for.

I believe you are getting the error because you are not connecting to anybody, let alone building the block chain.

Remove the noirc and port parameters and make sure you are downloading the blockchain.

@ahmedbodi
Copy link
Member

thanks hartland, just wondering if this maybe linked into the issue from @Devianttwo

@jinpeng309
Copy link
Author

Thank you for you help, the pool running well now. : )

@abweb
Copy link

abweb commented Jan 7, 2014

Hi,

I have problem with stratum-mining for all currencys.

2014-01-07 10:11:16,477 ERROR block_updater # UpdateWatchdog.run failed
Traceback (most recent call last):
  File "/home/miner/bin/pools/lib/block_updater.py", line 47, in run
    prevhash = util.reverse_hash((yield self.bitcoin_rpc.prevhash()))
TimeoutError: User timeout caused connection failure.

@bonesoul
Copy link

bonesoul commented May 2, 2014

@abweb found a solution?

@erm3nda
Copy link

erm3nda commented Dec 29, 2015

I have a similar issue, but Error: 404 Not Found

@Hartland , by "I believe you are getting the error because you are not connecting to anybody, let alone building the block chain."
did you meant to addnodes?

I tried adding 2 nodes from supernodes.txt list, but didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants