flyctl-actions@1.4: Failed to connect to fly.io port 443 after 2002 ms: Couldn't connect to server

Hi Fly team - just wanted to let you know that I will periodically receive the following error in our GitHub Actions workflow:

Failed to connect to fly.io port 443 after 2002 ms: Couldn't connect to server

When using flyctl-actions@1.4

This happens very randomly, for example I had 3 apps deploying where 2 of them errored out with this problem but the 3rd deployed fine.

Here’s the build step output:

 /usr/bin/docker build -t f704b5:bf9c93e7f1b44cb38a8a594c16ed2630 -f "/home/runner/work/_actions/superfly/flyctl-actions/1.4/Dockerfile" "/home/runner/work/_actions/superfly/flyctl-actions/1.4"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load .dockerignore
  #1 transferring context: 2B done
  #1 DONE 0.0s
  
  #2 [internal] load build definition from Dockerfile
  #2 transferring dockerfile: 216B done
  #2 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/library/alpine:latest
  #3 ...
  
  #4 [auth] library/alpine:pull token for registry-1.docker.io
  #4 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/library/alpine:latest
  #3 DONE 10.7s
  
  #5 [internal] load build context
  #5 transferring context: 732B done
  #5 DONE 0.0s
  
  #6 [1/4] FROM docker.io/library/alpine@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  #6 resolve docker.io/library/alpine@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b done
  #6 sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b 1.64kB / 1.64kB done
  #6 sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0 528B / 528B done
  #6 sha256:05455a08881ea9cf0e752bc48e61bbd71a34c029bb13df01e40e3e70e0d007bd 1.47kB / 1.47kB done
  #6 DONE 0.0s
  
  #7 [2/4] RUN apk add --no-cache curl
  #7 0.619 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
  #7 0.924 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
  #7 1.299 (1/8) Installing ca-certificates (20230506-r0)
  #7 1.332 (2/8) Installing brotli-libs (1.1.0-r1)
  #7 1.375 (3/8) Installing c-ares (1.24.0-r1)
  #7 1.393 (4/8) Installing libunistring (1.1-r2)
  #7 1.443 (5/8) Installing libidn2 (2.3.4-r4)
  #7 1.463 (6/8) Installing nghttp2-libs (1.58.0-r0)
  #7 1.480 (7/8) Installing libcurl (8.5.0-r0)
  #7 1.512 (8/8) Installing curl (8.5.0-r0)
  #7 1.533 Executing busybox-1.36.1-r15.trigger
  #7 1.549 Executing ca-certificates-20230506-r0.trigger
  #7 1.585 OK: 12 MiB in 23 packages
  #7 DONE 1.7s
  
  #8 [3/4] RUN curl -L https://fly.io/install.sh | FLYCTL_INSTALL=/usr/local sh
  #8 0.222   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  #8 0.226                                  Dload  Upload   Total   Spent    Left  Speed
  #8 0.226 
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
    0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  #8 2.224 curl: (7) Failed to connect to fly.io port 443 after 2002 ms: Couldn't connect to server
  #8 DONE 2.2s
  
  #9 [4/4] COPY entrypoint.sh /entrypoint.sh
  #9 DONE 0.0s
  
  #10 exporting to image
  #10 exporting layers
  #10 exporting layers 0.4s done
  #10 writing image sha256:e95d7ad95d176b513fcde4e74dcf521a301131c71558ab46f7b1e95b0579002a done
  #10 naming to docker.io/library/f704b5:bf9c93e7f1b44cb38a8a594c16ed2630 done
  #10 DONE 0.4s

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.