actions icon indicating copy to clipboard operation
actions copied to clipboard

Action fails with connection errors (`ETIMEDOUT`, `ENETUNREACH`)

Open maxandersen opened this issue 8 months ago • 8 comments

I keep hitting this:

Error: Multiple errors returned
Error: Error 0: connect ETIMEDOUT 104.1[6](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:7).73.101:443
Error: connect ETIMEDOUT 104.16.73.101:443
    at createConnectionError (node:net:1652:14)
    at Timeout.internalConnectMultipleTimeout (node:net:1[7](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:8)11:38)
    at listOnTimeout (node:internal/timers:5[8](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:9)3:11)
    at process.processTimers (node:internal/timers:51[9](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:10):7)
Error: Error 1: connect ENETUNREACH 2606:4700::6810:4865:443 - Local (:::0)
Error: connect ENETUNREACH 2606:4700::68[10](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:11):4865:443 - Local (:::0)
    at internalConnectMultiple (node:net:[11](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:12)86:16)
    at Timeout.internalConnectMultipleTimeout (node:net:1716:5)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:519:7)
Error: Error 2: connect ETIMEDOUT 104.16.72.101:443
Error: connect ETIMEDOUT 104.16.72.101:443
    at createConnectionError (node:net:1652:[14](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:15))
    at Timeout.internalConnectMultipleTimeout (node:net:1711:38)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:519:7)
Error: Error 3: connect ENETUNREACH 2606:4700::6810:4965:443 - Local (:::0)
Error: connect ENETUNREACH 2606:4700::6810:4965:443 - Local (:::0)
    at internalConnectMultiple (node:net:1186:[16](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:17))
    at Timeout.internalConnectMultipleTimeout (node:net:[17](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:18)16:5)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:5[19](https://github.com/jbangdev/jbang/actions/runs/14818776670/job/41602820520?pr=1767#step:5:20):7)

any idea why?

I just have:

 - uses: gradle/actions/wrapper-validation@v3

in my config so nothing special afaik.

maxandersen avatar May 04 '25 07:05 maxandersen

Can you provide a link to the GitHub Actions run? Without more context and more detail it's not possible for me to diagnose this issue.

bigdaz avatar May 05 '25 13:05 bigdaz

Hello. I've exactly the same issue. I run the action with default option value.

My project is a multi-projects mono repo. It uses Gradle 8.13

Run gradle/actions/wrapper-validation@v3
  with:
    min-wrapper-count: 1
    allow-snapshots: false
Error: Multiple errors returned
Error: Error 0: connect ETIMEDOUT 104.16.7[2](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:2).101:44[3](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:3)
Error: connect ETIMEDOUT 10[4](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:4).16.72.101:443
    at createConnectionError (node:net:16[5](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:6)2:14)
    at Timeout.internalConnectMultipleTimeout (node:net:1711:38)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:519:7)
Error: Error 1: connect ENETUNREACH 2[6](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:7)06:4700::6810:4865:443 - Local (:::0)
Error: connect ENETUNREACH 2606:4[7](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:8)00::6810:4865:443 - Local (:::0)
    at internalConnectMultiple (node:net:11[8](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:9)6:16)
    at Timeout.internalConnectMultipleTimeout (node:net:1716:5)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:51[9](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:10):7)
Error: Error 2: connect ETIMEDOUT 104.16.73.101:443
Error: connect ETIMEDOUT [10](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:11)4.16.73.101:443
    at createConnectionError (node:net:1652:14)
    at Timeout.internalConnectMultipleTimeout (node:net:17[11](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:12):38)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:519:7)
Error: Error 3: connect ENETUNREACH 2606:4700::6810:4965:443 - Local (:::0)
Error: connect ENETUNREACH 2606:4700::6810:4965:443 - Local (:::0)
    at internalConnectMultiple (node:net:1186:[16](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:17))
    at Timeout.internalConnectMultipleTimeout (node:net:[17](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:18)16:5)
    at listOnTimeout (node:internal/timers:583:11)
    at process.processTimers (node:internal/timers:5[19](https://github.com/wakeoTeam/road-tser-applications/actions/runs/15137729554/job/42553473845?pr=80#step:3:20):7)

Extract of my action :

steps:
     - uses: actions/checkout@v4
     - uses: gradle/actions/wrapper-validation@v3
     - name: Check for file changes
       uses: dorny/paths-filter@v3
       id: changes
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
         filters: .github/transport-file-filters.yml
         list-files: shell

peebam avatar May 20 '25 12:05 peebam

Please forget my last. I just bumped to v4. Everything now works perfectly.

peebam avatar May 20 '25 13:05 peebam

@peebam Thanks for reporting. Yes, there are significant improvements in v4 that should help avoid network problems like this.

@maxandersen Can you please try updating to v4 as well?

bigdaz avatar May 20 '25 16:05 bigdaz

This problem is happening today with v4.

asf-loft avatar May 20 '25 17:05 asf-loft

Hello, @asf-loft. Do you have a job using the v4 action and failing with this error that you'd be able to share? We haven't seen it occur with v4 in what we've been able to test with

gabrielfeo avatar Jul 08 '25 12:07 gabrielfeo

I have the same issue here: https://github.com/oshai/kotlin-logging/actions/runs/17386388714/job/49353480953?pr=563

oshai avatar Sep 01 '25 20:09 oshai

I have the same issue here: https://github.com/oshai/kotlin-logging/actions/runs/17386388714/job/49353480953?pr=563

upgrading to gradle/actions/wrapper-validation@v4 seems to solve it for me.

oshai avatar Sep 01 '25 20:09 oshai