• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Error with own setup p2pool

eskaer

New member
Hi. I use linux vps Ubuntu 14.04 LTS

I compile from git repository the dash wallet and get all blocks.

Here is the output of dasd getinfo:
h
root@s1:~# ./dash/src/dashd getinfo
{
"version" : 110223,
"protocolversion" : 70076,
"walletversion" : 61000,
"balance" : 0.00000000,
"darksend_balance" : 0.00000000,
"blocks" : 303331,
"timeoffset" : 1,
"connections" : 8,
"proxy" : "",
"difficulty" : 2387.56998742,
"testnet" : false,
"keypoololdest" : 1436979783,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00001000,
"errors" : ""
}


And here is my dash.conf

rpcuser=dash
rpcpassword=hereismypass
rpcallowip=localhost
rpcport=9332
port=9333
gen=0
server=1
daemon=1
addnode=23.23.186.131
addnode=50.16.206.102
addnode=50.19.116.123
addnode=98.165.130.67
addnode=54.242.50.205
addnode=50.17.98.53
addnode=54.225.43.37

I download p2pool from official git.

Ok, let's start p2pool with these options

screen -S p2pool ./p2pool-dash/run_p2pool.py --net dash --give-author 1 --fee 100 --address XdCxJQDcDwrUFxFy3ecYASffxwknxp7CRz
 
... here is output:

root@s1:~# ./p2pool-dash/run_p2pool.py --net dash --give-author 1 --fee 100 --address XdCxJQDcDwrUFxFy3ecYASffxwknxp7CRz
2015-07-16 16:10:15.451295 p2pool (version c7b339b-dirty)
2015-07-16 16:10:15.451578
2015-07-16 16:10:15.451782 Testing dashd RPC connection to 'localhosthereidonthavemuchposttopostlink:9332/' with username 'dash'...
2015-07-16 16:10:15.462407 ...success!
2015-07-16 16:10:15.462606 Current block hash: 154d96cde251a666d943f3db40d8d5287d4efd74aae56532882526
2015-07-16 16:10:15.462706 Current block height: 303335
2015-07-16 16:10:15.462781
2015-07-16 16:10:15.462900 Testing dashd P2P connection to '127.0.0.1:9333'...
2015-07-16 16:10:15.556952 ...success!
2015-07-16 16:10:15.557390
2015-07-16 16:10:15.557850 Determining payout address...
2015-07-16 16:10:15.558554 ...success! Payout address: XdCxJQDcDwrUFxFy3ecYASffxwknxp7CRz
2015-07-16 16:10:15.558757
2015-07-16 16:10:15.558987 Loading shares...
2015-07-16 16:10:15.559497 ...done loading 0 shares (0 verified)!
2015-07-16 16:10:15.559713
2015-07-16 16:10:15.559909 Initializing work...
2015-07-16 16:10:15.706759 ...success!
2015-07-16 16:10:15.707130
2015-07-16 16:10:15.707438 Joining p2pool network using port 8999...
2015-07-16 16:10:15.767067 ...success!
2015-07-16 16:10:15.768221
2015-07-16 16:10:15.770397 Listening for workers on '' port 7903...
2015-07-16 16:10:15.831953 ...success!
2015-07-16 16:10:15.832322
2015-07-16 16:10:15.832677 Started successfully!
2015-07-16 16:10:15.833050 Go to localhosthereidonthavemuchposttopostlink:7903/ to view graphs and statistics!
2015-07-16 16:10:15.833357 Donating 1.0% of work towards P2Pool's development. Thank you!
2015-07-16 16:10:15.833518 You can increase this amount with --give-author argument! (or decrease it, if you must)
2015-07-16 16:10:15.833679
2015-07-16 16:10:15.854528 Peer 151.80.92.205:8999 misbehaving, will drop and ban. Reason: peer too old
2015-07-16 16:10:15.854922 Bad peer banned: (u'151.80.92.205', 8999)
2015-07-16 16:10:16.597334 Peer 104.207.147.90:8999 misbehaving, will drop and ban. Reason: peer too old
2015-07-16 16:10:16.597789 Bad peer banned: (u'104.207.147.90', 8999)
2015-07-16 16:10:16.810602 Peer 195.130.216.149:8999 misbehaving, will drop and ban. Reason: peer too old
2015-07-16 16:10:16.811250 Bad peer banned: (u'195.130.216.149', 8999)
2015-07-16 16:10:18.781274 Peer 101.100.174.138:8999 misbehaving, will drop and ban. Reason: peer too old
2015-07-16 16:10:18.781381 Bad peer banned: (u'101.100.174.138', 8999)
2015-07-16 16:10:18.834180 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:10:18.834730 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:10:23.844876 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: peer too old
2015-07-16 16:10:23.845405 Bad peer banned: (u'162.243.104.174', 8999)
2015-07-16 16:10:23.846208 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: first message was not version message
2015-07-16 16:10:23.846748 Bad peer banned: (u'162.243.104.174', 8999)
2015-07-16 16:10:23.847793 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: first message was not version message
2015-07-16 16:10:23.848594 Bad peer banned: (u'162.243.104.174', 8999)
2015-07-16 16:10:23.849570 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: first message was not version message
2015-07-16 16:10:23.850057 Bad peer banned: (u'162.243.104.174', 8999)
2015-07-16 16:10:23.850795 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: first message was not version message
2015-07-16 16:10:23.850979 Bad peer banned: (u'162.243.104.174', 8999)
2015-07-16 16:10:33.836402 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:10:33.836619 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:10:45.180171 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 32414928494703172725382415199053656459669349305517780226881547568683870211210L}
2015-07-16 16:10:48.837890 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:10:48.838094 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:10:50.285349 Unneeded inv type {'type': 'txlock_vote', 'hash': 62347733315570019186256657813235946876118385683033881884668413250505486319380L}
2015-07-16 16:10:50.837471 Unneeded inv type {'type': 'txlock_vote', 'hash': 36938067617205919932671881843245023580077142147353341765272826157185755176885L}
2015-07-16 16:10:51.676392 Unneeded inv type {'type': 'txlock_vote', 'hash': 23843305645553405530986563361746984878969427512880003104839076251031139704869L}
2015-07-16 16:10:52.540124 Unneeded inv type {'type': 'txlock_vote', 'hash': 20843381473041872691743249250594284517105261529520840781413997863205483798403L}
2015-07-16 16:11:03.839936 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:11:03.840100 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:11:10.685134 Unneeded inv type {'type': 'masternode_winner', 'hash': 112246423048451484223802584107544359282877705181383211970697040063820689579345L}
2015-07-16 16:11:13.059670 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 25742343978078079056508702807131493078178801942132639072382955853846462706994L}
2015-07-16 16:11:13.574071 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 113001000561882703956511275177392434155072292235236626867037287873654014052792L}
2015-07-16 16:11:14.995014 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 17125231578666141645796494411632692852085156596388661154671096685851396987557L}
2015-07-16 16:11:15.719459 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 3102290178748068956681523172995145826374592300141045100474622275010945603824L}
2015-07-16 16:11:15.927863 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 89045362301283751884638872456852209809218154114501432356215802696241731176423L}
2015-07-16 16:11:17.125127 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 95411466401665668279613030134778905954377871688182803878209121097073434927898L}
2015-07-16 16:11:18.541573 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 27290408498205680826175524742166353036587565188223176949421677954799787702336L}
2015-07-16 16:11:18.841366 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:11:18.841570 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:11:18.960953 Unneeded inv type {'type': 'masternode_scanning_error', 'hash': 96834968792012702890345406290032010235144172773451934925442295721231579931884L}
2015-07-16 16:11:24.040772 Unneeded inv type {'type': 'txlock_vote', 'hash': 90559140098776306035166551474769822201446301082509056029891840792618739637835L}
2015-07-16 16:11:33.843791 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:11:33.843975 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
 
When i run miner i got these errors..


2015-07-16 16:11:48.845231 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:11:48.845533 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:03.847640 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:03.847830 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:13.995325 > Unhandled Error
2015-07-16 16:12:13.996035 > Traceback (most recent call last):
2015-07-16 16:12:13.996659 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:13.997373 > reactor.run()
2015-07-16 16:12:13.997829 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:13.998355 > self.mainLoop()
2015-07-16 16:12:13.998691 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:13.998929 > self.runUntilCurrent()
2015-07-16 16:12:13.999116 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:13.999288 > call.func(*call.args, **call.kw)
2015-07-16 16:12:13.999453 > --- <exception caught here> ---
2015-07-16 16:12:13.999628 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:13.999922 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:14.000330 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:14.000894 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:14.001035 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
2015-07-16 16:12:18.849476 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:18.849681 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:24.153635 > Unhandled Error
2015-07-16 16:12:24.154609 > Traceback (most recent call last):
2015-07-16 16:12:24.155537 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:24.156378 > reactor.run()
2015-07-16 16:12:24.157154 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:24.157911 > self.mainLoop()
2015-07-16 16:12:24.158415 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:24.158799 > self.runUntilCurrent()
2015-07-16 16:12:24.159236 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:24.159644 > call.func(*call.args, **call.kw)
2015-07-16 16:12:24.159826 > --- <exception caught here> ---
2015-07-16 16:12:24.160023 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:24.160217 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:24.160577 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:24.160720 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:24.160885 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
2015-07-16 16:12:33.851129 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:33.851391 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:34.370818 > Unhandled Error
2015-07-16 16:12:34.371398 > Traceback (most recent call last):
2015-07-16 16:12:34.371865 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:34.372340 > reactor.run()
2015-07-16 16:12:34.373004 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:34.373474 > self.mainLoop()
2015-07-16 16:12:34.373673 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:34.373877 > self.runUntilCurrent()
2015-07-16 16:12:34.374130 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:34.374329 > call.func(*call.args, **call.kw)
2015-07-16 16:12:34.374552 > --- <exception caught here> ---
2015-07-16 16:12:34.374804 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:34.375060 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:34.375350 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:34.375661 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:34.375954 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers


What is wrong?

my iptables rule:

root@s1:~# iptables -L -v
Chain INPUT (policy ACCEPT 52020 packets, 13M bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:8999

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 51969 packets, 8068K bytes)
pkts bytes target prot opt in out source destination

Please help me.
 
When i run miner i got these errors..


2015-07-16 16:11:48.845231 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:11:48.845533 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:03.847640 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:03.847830 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:13.995325 > Unhandled Error
2015-07-16 16:12:13.996035 > Traceback (most recent call last):
2015-07-16 16:12:13.996659 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:13.997373 > reactor.run()
2015-07-16 16:12:13.997829 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:13.998355 > self.mainLoop()
2015-07-16 16:12:13.998691 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:13.998929 > self.runUntilCurrent()
2015-07-16 16:12:13.999116 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:13.999288 > call.func(*call.args, **call.kw)
2015-07-16 16:12:13.999453 > --- <exception caught here> ---
2015-07-16 16:12:13.999628 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:13.999922 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:14.000330 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:14.000894 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:14.001035 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
2015-07-16 16:12:18.849476 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:18.849681 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:24.153635 > Unhandled Error
2015-07-16 16:12:24.154609 > Traceback (most recent call last):
2015-07-16 16:12:24.155537 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:24.156378 > reactor.run()
2015-07-16 16:12:24.157154 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:24.157911 > self.mainLoop()
2015-07-16 16:12:24.158415 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:24.158799 > self.runUntilCurrent()
2015-07-16 16:12:24.159236 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:24.159644 > call.func(*call.args, **call.kw)
2015-07-16 16:12:24.159826 > --- <exception caught here> ---
2015-07-16 16:12:24.160023 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:24.160217 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:24.160577 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:24.160720 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:24.160885 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
2015-07-16 16:12:33.851129 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2015-07-16 16:12:33.851391 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-07-16 16:12:34.370818 > Unhandled Error
2015-07-16 16:12:34.371398 > Traceback (most recent call last):
2015-07-16 16:12:34.371865 > File "/root/p2pool-dash/p2pool/main.py", line 715, in run
2015-07-16 16:12:34.372340 > reactor.run()
2015-07-16 16:12:34.373004 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-07-16 16:12:34.373474 > self.mainLoop()
2015-07-16 16:12:34.373673 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-07-16 16:12:34.373877 > self.runUntilCurrent()
2015-07-16 16:12:34.374130 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-07-16 16:12:34.374329 > call.func(*call.args, **call.kw)
2015-07-16 16:12:34.374552 > --- <exception caught here> ---
2015-07-16 16:12:34.374804 > File "/root/p2pool-dash/p2pool/dash/stratum.py", line 39, in _send_work
2015-07-16 16:12:34.375060 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-07-16 16:12:34.375350 > File "/root/p2pool-dash/p2pool/work.py", line 213, in preprocess_request
2015-07-16 16:12:34.375661 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers')
2015-07-16 16:12:34.375954 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers


What is wrong?

my iptables rule:

root@s1:~# iptables -L -v
Chain INPUT (policy ACCEPT 52020 packets, 13M bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:8999

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 51969 packets, 8068K bytes)
pkts bytes target prot opt in out source destination

Please help me.
please use github.com/dashpay/p2pool-dash at commit f7c9c25 and try again.
 
Back
Top