There are many CI failed because of connection timeout when maven downloads dependencies.
According to actions/runner-images#1499,
the most reasonable explanation is:
actions/runner-images#1499 (comment)
Maven creates long-living connections and if they are idle more than 4 minutes (while Maven is busy for a while) they became flushed from Azure VM Balancer’s SNAT, but RST packet is not sent to Maven (on VM side) or remote host (packages destination) so the socket is open but no data is sent over it.
And, Apache Pulsar gives a solution:
https://github.com/apache/pulsar/blob/master/.github/workflows/ci-unit.yaml
actions/runner-images#1499 (comment)
There are many CI failed because of connection timeout when maven downloads dependencies.
According to actions/runner-images#1499,
the most reasonable explanation is:
actions/runner-images#1499 (comment)
And, Apache Pulsar gives a solution:
https://github.com/apache/pulsar/blob/master/.github/workflows/ci-unit.yaml
actions/runner-images#1499 (comment)