Bitcoin Forum
May 03, 2024, 07:11:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: -12345 p2pool is not connected to any peers  (Read 1403 times)
zhongfangcai (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 01, 2014, 08:15:39 AM
 #1

All ports is connect success,But when I mining,The p2pool prompt not connected to any peers,As the following code.


--------------------------------------------------------------------------------
raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers'
)
p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers

--------------------------------------------------------------------------------

The following is a mining  prompt.

--------------------------------------------------------------------------------
[2014-05-27 17:53:06] JSON-RPC call failed: {
   "message": "p2pool is not connected to any peers",
   "data": null,
   "code": -12345
}
[2014-05-27 17:53:07] stratum_recv_line failed
[2014-05-27 17:53:07] ...retry after 30 seconds

--------------------------------------------------------------------------------

How can I do?Please help!
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714763504
Hero Member
*
Offline Offline

Posts: 1714763504

View Profile Personal Message (Offline)

Ignore
1714763504
Reply with quote  #2

1714763504
Report to moderator
1714763504
Hero Member
*
Offline Offline

Posts: 1714763504

View Profile Personal Message (Offline)

Ignore
1714763504
Reply with quote  #2

1714763504
Report to moderator
1714763504
Hero Member
*
Offline Offline

Posts: 1714763504

View Profile Personal Message (Offline)

Ignore
1714763504
Reply with quote  #2

1714763504
Report to moderator
Bitarama
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile WWW
June 02, 2014, 08:38:14 PM
 #2

in p2pool/p2pool/networks.py  look for  PERSIST=True, and change that to PERSIST=False, then restart p2pool

bitcoinreactor
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
June 03, 2014, 06:19:52 AM
 #3

in p2pool/p2pool/networks.py  look for  PERSIST=True, and change that to PERSIST=False, then restart p2pool

This will not help his p2pool installation in finding any peers Smiley

The PERSIST=False thing is only useful when you're bootstraping a new p2pool network (newly added network parameters, first node beeing setup).

It will make his p2pool setup a standalone node, but then why not just solo mining ?
By just using p2pool, you'll "force" your miner to find shares/blocks faster, due to the share delay behaviour ; if you plan to solo-mine, just running a solo p2pool node with no peer will not benefit you in any way, quite the opposite actually.


@zhongfangcai  : what network parameters ("coin") are you using ? What p2pool fork (if you're using a forked p2pool) ?


BTC: 17CHqn3XE3Waf7Qfkm9p2MQE1VgB8gVbG4
Pages: [1]
  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!