Failed to start 4 services "Could not obtain node info through RPC"

Started 500 nodes, using antctl, with port forwarding and 30 second interval. 4 failed to start with the following sample message:

antnode390: Could not obtain node info through RPC: status: Internal, message: “protocol error: received message with invalid compression flag: 78 (valid flags are 0 and 1) while receiving response with status: 404 Not Found”, details: , metadata: MetadataMap { headers: {“date”: “Tue, 28 Jan 2025 17:17:34 GMT”, “content-length”: “38”} }

This will disappear in the upcoming versions since RPC is now being removed.

Often these nodes will start on retry.

Its because the antctl program could not access the RPC port due to any of a few reasons. Be it slow node startup, random port already in use by another task.

you can also set the RPC ports when using antctl

3 Likes