SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.08k stars 128 forks source link

P2Pool get_info RPC request failed ,help #72

Closed sdzc closed 2 years ago

sdzc commented 2 years ago

my pool: ./p2pool --host 81...* --wallet 44***** --no-color --light-mode --loglevel 2

error

JSONRPCRequest failed to connect, error ECONNREFUSED 2021-11-13 17:15:30.8017 P2Pool get_info RPC request failed: error ECONNREFUSED, trying again in 1 second

my monerod : ./monerod --zmq-pub tcp://127.0.0.1:18083 --detach --data-dir /data/mine/bitmonero --disable-dns-checkpoints --enable-dns-blocklist --log-file ./xmrd.log

sdzc commented 2 years ago

ports 18080 37889 18081 18083... is open

SChernykh commented 2 years ago

It can't connect to your monerod. Check that monerod is running on the same IP as in --host p2pool parameter. You probably need to add --rpc-bind-ip IP and --confirm-external-bind to monerod command line

sdzc commented 2 years ago

It can't connect to your monerod. Check that monerod is running on the same IP as in --host p2pool parameter. You probably need to add --rpc-bind-ip IP and --confirm-external-bind to monerod command line

now------------------------- INFO global src/daemon/main.cpp:294 Monero 'Oxygen Orion' (v0.17.2.3-fce167d7c) 2021-11-14 00:55:14.460 7efe6c2d57c0 INFO msgwriter src/common/scoped_message_writer.h:102 Forking to background... 2021-11-14 00:55:14.463 7efe6c2d57c0 WARNING daemon src/daemon/executor.cpp:61 Monero 'Oxygen Orion' (v0.17.2.3-fce167d7c) Daemonised 2021-11-14 00:55:14.463 7efe6c2d57c0 INFO global src/daemon/protocol.h:53 Initializing cryptonote protocol... 2021-11-14 00:55:14.463 7efe6c2d57c0 INFO global src/daemon/protocol.h:58 Cryptonote protocol initialized OK 2021-11-14 00:55:14.464 7efe6c2d57c0 INFO global src/daemon/core.h:63 Initializing core... 2021-11-14 00:55:14.464 7efe6c2d57c0 INFO global src/cryptonote_core/cryptonote_core.cpp:515 Loading blockchain from folder /data/mine/bitmonero/lmdb ... 2021-11-14 00:55:14.464 7efe6c2d57c0 WARNING global src/blockchain_db/lmdb/db_lmdb.cpp:1353 The blockchain is on a rotating drive: this will be very slow, use an SSD if possible 2021-11-14 00:55:20.213 7efe6c2d57c0 INFO global src/cryptonote_core/cryptonote_core.cpp:690 Loading checkpoints 2021-11-14 00:55:20.213 7efe6c2d57c0 INFO global src/daemon/core.h:73 Core initialized OK 2021-11-14 00:55:20.213 7efe6c2d57c0 INFO global src/daemon/p2p.h:63 Initializing p2p server... 2021-11-14 00:55:20.221 7efe6c2d57c0 FATAL net contrib/epee/include/net/abstract_tcp_server2.inl:1084 Error starting server: Failed to bind IPv4 (set to required) 2021-11-14 00:55:20.222 7efe6c2d57c0 INFO global src/daemon/core.h:94 Deinitializing core... 2021-11-14 00:55:20.230 7efe6c2d57c0 INFO global src/daemon/protocol.h:75 Stopping cryptonote protocol... 2021-11-14 00:55:20.230 7efe6c2d57c0 INFO global src/daemon/protocol.h:79 Cryptonote protocol stopped successfully 2021-11-14 00:55:20.230 7efe6c2d57c0 ERROR daemon src/daemon/main.cpp:362 Exception in main! Failed to initialize p2p server. 2021-11-14 00:58:39.660 7f4035e007c0 INFO logging contrib/epee/src/mlog.cpp:273 New log categories: *:WARNING,net:FATAL,net.http:FATAL,net.ssl:FATAL,net.p2p:FATAL,net.cn:FATAL,daemon.rpc:FATAL,global:INFO,verify:FATAL,serialization:FATAL,daemon.rpc.payment:ERROR,stacktrace:INFO,logging:INFO,msgwriter:INFO 2021-11-14 00:58:39.660 7f4035e007c0 INFO global src/daemon/main.cpp:294 Monero 'Oxygen Orion' (v0.17.2.3-fce167d7c) 2021-11-14 00:58:39.660 7f4035e007c0 INFO msgwriter src/common/scoped_message_writer.h:102 Forking to background... 2021-11-14 00:58:39.662 7f4035e007c0 WARNING daemon src/daemon/executor.cpp:61 Monero 'Oxygen Orion' (v0.17.2.3-fce167d7c) Daemonised 2021-11-14 00:58:39.662 7f4035e007c0 INFO global src/daemon/protocol.h:53 Initializing cryptonote protocol... 2021-11-14 00:58:39.662 7f4035e007c0 INFO global src/daemon/protocol.h:58 Cryptonote protocol initialized OK 2021-11-14 00:58:39.663 7f4035e007c0 INFO global src/daemon/core.h:63 Initializing core... 2021-11-14 00:58:39.663 7f4035e007c0 INFO global src/cryptonote_core/cryptonote_core.cpp:515 Loading blockchain from folder /data/mine/bitmonero/lmdb ...

sdzc commented 2 years ago

It can't connect to your monerod. Check that monerod is running on the same IP as in --host p2pool parameter. You probably need to add --rpc-bind-ip IP and --confirm-external-bind to monerod command line

2021-11-14 02:53:42.224 I Binding on 81.*.*.* (IPv4):18081 2021-11-14 02:53:42.862 F Error starting server: Failed to bind IPv4 (set to required)

sdzc commented 2 years ago

ip must Intranet. ok /