Skip to content

maven connection timeout in github action  #3121

Description

@jixuan1989

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions