HarukaMa / aleo-pool-server

GNU Affero General Public License v3.0
77 stars 79 forks source link

how can this server get connection with a operator node? #2

Closed youdou24 closed 2 years ago

youdou24 commented 2 years ago

after i run a operater node with your snarkos with version [f3cab7ee], my pool server show logs as:

2022-03-29T02:20:45.340199Z  INFO aleo_pool_server::operator_peer: Connecting to operator...
2022-03-29T02:20:45.340339Z  INFO aleo_pool_server::operator_peer: Connected to 10.66.9.35:53557
2022-03-29T02:20:45.340378Z TRACE aleo_pool_server::operator_peer: Sent challenge request
2022-03-29T02:20:45.340576Z  WARN aleo_pool_server::operator_peer: Failed to read the message: Custom { kind: InvalidData, error: "Frame of length 1347703880 is too large." }
2022-03-29T02:20:45.340600Z ERROR aleo_pool_server::operator_peer: Disconnected from operator

how can i get a suitable operator node

HarukaMa commented 2 years ago

It seems like you are connecting to the rpc port - the pool server need to connect to the p2p port instead.