After updating Multinode I see these errors on the same unchanged sql database:
2023-03-05T02:59:47.571+0100 ERROR console:endpoint list node trusted satellites internal error {"error": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID", "errorVerbose": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:189"}
2023-03-05T03:00:04.476+0100 ERROR console:endpoint list node trusted satellites internal error {"error": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID", "errorVerbose": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:189"}
2023-03-05T03:00:08.754+0100 ERROR console:endpoint list node trusted satellites internal error {"error": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID", "errorVerbose": "nodes: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:189"}
2023-03-05T03:04:41.447+0100 ERROR console:endpoint get bandwidth monthly error {"error": "bandwidth: context canceled", "errorVerbose": "bandwidth: context canceled\n\tstorj.io/storj/multinode/bandwidth.(*Service).getMonthly:250\n\tstorj.io/storj/multinode/bandwidth.(*Service).Monthly:57\n\tstorj.io/storj/multinode/console/controllers.(*Bandwidth).Monthly:45\n\tnet/http.HandlerFunc.ServeHTTP:2084\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:210\n\tnet/http.serverHandler.ServeHTTP:2916\n\tnet/http.(*conn).serve:1966"}
2023-03-05T03:05:19.216+0100 ERROR console:endpoint total usage internal error {"error": "storage web api controller: storage: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID", "errorVerbose": "storage web api controller: storage: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:189"}
2023-03-05T03:05:44.402+0100 ERROR console:endpoint could not get total disk space {"error": "storage: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID", "errorVerbose": "storage: rpc: tcp connector failed: rpc: tls peer certificate verification: tlsopts: peer ID did not match requested ID\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:189"}
I haven’t seen such errors with the previous version on the same sql database. Furthermore this seems to make Multinode to stop proceeding. The My-node overview displays fine, while Payouts and Bandwidth & Disk all overviews remain empty resp. show only zero value.
In any way I don’t think Multinode should stop when there are errors with single nodes. Instead it should indicate an error and proceed with the next node and creating the totals with the data that have been sucessfully gathered instead of nothing.
perhaps some misconfiguration of the nodes - either their identity is mixed, or ports.
But I agree, it should not stop working if some nodes are misconfigured.
However, you likely need either fix the root cause nodes or remove them from the multinode dashboard.
I don’t know exactly yet what the reason for this behavior is. Even the older version has some issues displaying information on the payout page. This might be related or something totally different. Also everything might depend on the current load of a node. But again: The Multinode should basically never stop processing or displaying data if there is some node related error. It should simply proceed with the next node.
So for the current situation to reproduce the error message, you need to add a node to the Multinode and then stop and disable it. Then you spin up another/new node with the IP and port from the first node. So the Multinode thinks it connects to the first node but in reality connects to the second node.
This should create the error that I see that peer ID does not match requested ID.
The reason is that I have disabled and replaced some older nodes which are still in the Multinode.
Now for some reason the older version of Multinode does ignore this error and proceeds like it should. (As said sometimes there are issues displaying total bandwidth and total estimated earnings which indicates that there are issues reaching individual nodes) but normally it shows all information.
The new version instead does not show anything on the payout page and only zero values on the bandwith page and displays the posted errors in the Multinode terminal. The old version does not show these errors.
It seems that this topic is a bit sleepy and there isn’t much information available about it.
Currently, I have the panel with 2 nodes, and I’m having trouble adding 3 additional nodes that I have. There are no error messages displayed, and there is nothing unusual. I obtain the data in the same way for the working nodes as for the ones that are not working, and I can’t figure out the reason for the failure.
Also, I have another question: Is there a way to import node data in a bulk manner?
Although I believe the data entered is correct, I think it would be a good way to verify if the data is entered correctly.