Cloud Foundry inventory collections may fail when the collector encounters intermittent high-latency requests or server-side errors. Specifically, the collector has been observed to fail during the v3/spaces or similar API calls with the error:
net/http: request canceled (Client.Timeout exceeded while awaiting headers).
Currently, the collector lacks a robust retry mechanism for:
Lack of retry logic in the collector for specific failure modes. While the collector currently retries on EOF (connection closed) errors, it does not automatically retry when a request times out or receives a server-side error.
This will be fixed in a future release of Tanzu Hub.