Closed Leonardiae closed 3 years ago
@Leonardiae hm. That means that local SPV node (embedded into APM) keeps disconnecting from remote peers. That does not happen often when we test APM.
Could you provide more details? Maybe your internet kept disconnecting around that time?
@Warchant My internet connection is stable. I'm seeing this message very often, for a week now. But it's always peer 94.130.147.194:7501, while the log shows that connections with other peers are made:
2020-11-10 16:58:04.182+0100 DEBUG [peer-input-21] org.veriblock.spv.net.PeerSocketHandler [PeerSocketHandler.kt:131] Received ADVERTISE_BLOCKS from /95.216.123.86:7501
2020-11-10 16:58:04.183+0100 DEBUG [event-listener] org.veriblock.spv.net.SpvPeerTable [SpvPeerTable.kt:404] Message Received messageId: 2288389, from: /95.216.123.86:7501
2020-11-10 16:58:04.183+0100 DEBUG [message-handler-thread] org.veriblock.spv.net.SpvPeerTable [SpvPeerTable.kt:283] Processing ADVERTISE_BLOCKS message from /95.216.123.86:7501
2020-11-10 16:58:04.183+0100 DEBUG [message-handler-thread] org.veriblock.spv.net.SpvPeerTable [SpvPeerTable.kt:299] Received advertisement of 1 blocks, height: 1016015
2020-11-10 16:58:04.730+0100 DEBUG [nc-poll] org.veriblock.miners.pop.net.SpvGateway [SpvGateway.kt:69] Requesting balance for address V969m2fzpqwssFKdJKJeYkwkLGyTMD...
2020-11-10 16:58:04.870+0100 INFO [peer-input-20] org.veriblock.spv.net.PeerSocketHandler [PeerSocketHandler.kt:139] Disconnected from peer /94.130.147.194:7501.
2020-11-10 16:58:04.873+0100 INFO [peer-input-17] org.veriblock.spv.net.PeerSocketHandler [PeerSocketHandler.kt:105] Output stream thread shutting down
@Leonardiae ah! It is possible that this peer is old and does not have SPV capabilities. I will double check and get back with results.
@Leonardiae it seems that your node is blacklisted on that peer.
My node being blacklisted was apparently the cause of me getting a load of those info messages. Recently this is not an issue to me anymore. I get this message now and then but thats ok (only a few times a day now).
I'm seeing this message a lot on the APM (like 50% of the output is about disconnected peers). Maybe it's an idea to provide users with the option to suppress those peer messages? Or maybe it is possible to prevent those disconnections?