BItcoind/P2Pool What am I doing wrong?

0

I am running latest bitcoind and p2pool releases (default port settings) on Fedora 21 with ports open for 3332-3333, 8332-8333, and 9332-9333. Everything appears to be well when connecting to the BC net, but when one of my miners (Antminer S5) connects to http://myhostname/IP port 3333 p2pool will not respond. When I try to connect with port http://myhostname/IP port 9333, I get a twisted error complaining about authentication, but when I try to connect to port myhostname/IP (stratum+tcp??) port 9333 it looks like the miner is trying to connect and get work, but after several seconds p2pool reports a "handshake timeout" for the miner IP address.

This is the error I get:

2015-02-25 18:05:35.107254 Got peer connection from: IPv4Address(TCP, '192.168.0.21', 45024)
2015-02-25 18:05:45.108525 Handshake timed out, disconnecting from 192.168.0.21:45024
2015-02-25 18:05:45.109817 Peer connection lost: ('192.168.0.21', 45024) [Failure instance: Traceback (failure with no frames): <class  twisted.internet.error.ConnectionAborted'>: Connection was aborted locally, using.
2015-02-25 18:05:45.110143

What am I doing wrong?

Patrick Walker

Posted 2015-02-25T12:53:19.967

Reputation: 1

Can you post any errors exactly how it looks on your computer? Also, stratum+tcp is generally going to be more reliable.Jimmy Song 2015-02-25T19:15:08.390

Hey thanks for the response. I chewed through things a little bit further and discovered that I needed to set the miner to port 9993. But now it looks like my connection to the miner is getting dropped.Patrick Walker 2015-02-25T23:09:00.793

2015-02-25 18:05:35.107254 Got peer connection from: IPv4Address(TCP, '192.168.0.21', 45024) 2015-02-25 18:05:45.108525 Handshake timed out, disconnecting from 192.168.0.21:45024 2015-02-25 18:05:45.109817 Peer connection lost: ('192.168.0.21', 45024) [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.Connecti onAborted'>: Connection was aborted locally, using. 2015-02-25 18:05:45.110143 ]Patrick Walker 2015-02-25T23:14:47.263

Answers

0

Thanks for the help everyone! Got the p2pool server running last night. Ended up recompiling a clean cloned Git of p2pool from foresttv (instead of the one on Bitmain), connected all miners to port 9332, and Voila! One happy p2pool node!!

Patrick Walker

Posted 2015-02-25T12:53:19.967

Reputation: 1

0

The p2pool node communicates on more than one port. By default, miners connect to the node on port 9332 and other p2pool nodes ("peers") connect on port 9333.

So just switch your miner to port 9332, that should fix your issue.

atomicpirate

Posted 2015-02-25T12:53:19.967

Reputation: 201