[GH-ISSUE #1559] Embedded artifact server inaccessible on clients with Zscaler Client Connector running #785

Closed
opened 2026-03-01 21:46:20 +03:00 by kerem · 6 comments
Owner

Originally created by @isometry on GitHub (Jan 13, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1559

Bug report info

act version:            0.2.35
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 16
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
	/var/run/docker.sock
Config files:
	/Users/robin/.actrc:
		-P ubuntu-latest=catthehacker/ubuntu:act-latest
		-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
		-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
	Go version:            go1.19.4
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-compiler:            gc
		-ldflags:             -X main.version=0.2.35
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               amd64
		GOOS:                 darwin
		GOAMD64:              v1
Docker Engine:
	Engine version:        20.10.21
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:
	OS arch:               x86_64
	OS kernel:             5.15.49-linuxkit
	OS CPU:                4
	OS memory:             7959 MB
	Security options:
		name=seccomp,profile=default
		name=cgroupns

Command used with act

act workflow_dispatch -W .github/workflows/test.yml --artifact-server-path .

Describe issue

On client devices with the Zscaler Client Connector installed, the outbound IP is always 100.64.0.1 (CGNAT). Unfortunately, on non-Linux devices, this address is unroutable from Docker Desktop's embedded VM or the containers running on it, thus making the embedded artifact server inaccessible.

No response

Workflow content

name: Test

on:
  workflow_dispatch: {}

jobs:
  release:
    runs-on: ubuntu-latest

    steps:
      - run: touch test-artifact
      - uses: actions/upload-artifact@v3
        with:
          name: artifacts
          path: test-artifact

Relevant log output

DEBU[0000] Loading environment from /tmp/act-test/.env
DEBU[0000] Loading secrets from /tmp/act-test/.secrets
DEBU[0000] Loading workflow '/tmp/act-test/.github/workflows/test.yml'
DEBU[0000] Reading workflow '/tmp/act-test/.github/workflows/test.yml'
DEBU[0000] Using first passed in arguments event for filtering: workflow_dispatch
DEBU[0000] Preparing plan for a event: workflow_dispatch
DEBU[0000] Using first passed in arguments event: workflow_dispatch
DEBU[0000] Planning jobs for event: workflow_dispatch
DEBU[0000] Artifacts base path '.'
INFO[0000] Start server on http://100.64.0.1:34567
WARN[0000] unable to get git repo: unable to find git repo
WARN[0000] unable to get git ref: unable to find git repo
WARN[0000] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] evaluating expression 'success()'
[Test/release] [DEBUG] expression 'success()' evaluated to 'true'
[Test/release] 🚀  Start image=catthehacker/ubuntu:act-latest
[Test/release]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[Test/release] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Test/release] [DEBUG] Image exists? true
[Test/release]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Test/release] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/tmp/act-test Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[Test/release] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>} {Type:volume Source:act-Test-release-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>} {Type:volume Source:act-Test-release Target:/tmp/act-test ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[Test/release] [DEBUG] Created container name=act-Test-release id=7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a from image catthehacker/ubuntu:act-latest (platform: )
[Test/release] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[Test/release]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[Test/release] [DEBUG] Starting container: 7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a
[Test/release] [DEBUG] Started container: 7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a
[Test/release] [DEBUG] Writing entry to tarball workflow/event.json len:2
[Test/release] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/release] [DEBUG] Extracting content to '/var/run/act/'
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release]   ☁  git clone 'https://github.com/actions/upload-artifact' # ref=v3
[Test/release] [DEBUG]   cloning https://github.com/actions/upload-artifact to /Users/user/.cache/act/actions-upload-artifact@v3
[Test/release] [DEBUG] Unable to pull refs/heads/v3: worktree contains unstaged changes
[Test/release] [DEBUG] Cloned https://github.com/actions/upload-artifact to /Users/user/.cache/act/actions-upload-artifact@v3
[Test/release] [DEBUG] Checked out v3
[Test/release] [DEBUG] Read action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[if-no-files-found:{The desired behavior if no files are found using the provided path.
Available Options:
  warn: Output a warning but do not fail the action
  error: Fail the action with an error message
  ignore: Do not output any warnings or errors, the action does not fail
 false warn} name:{Artifact name false artifact} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day. Maximum 90 days unless changed from the repository settings page.
 false }] map[] {node16 map[] dist/index.js  always()  always()   [] []} { }} from 'Unknown'
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] setupEnv => map[ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://100.64.0.1:34567/ AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:release GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/tmp/act-test IMAGE_OS:ubuntu22 ImageOS:ubuntu20 LSB_OS_VERSION:2204 LSB_RELEASE:22.04 PATH:/opt/hostedtoolcache/node/16.19.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] evaluating expression ''
[Test/release] [DEBUG] expression '' evaluated to 'true'
[Test/release] ⭐ Run Main touch test-artifact
[Test/release] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/release] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/release] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/release] [DEBUG] Extracting content to '/var/run/act'
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] Wrote command

touch test-artifact

 to 'workflow/0'
[Test/release] [DEBUG] Writing entry to tarball workflow/0 len:21
[Test/release] [DEBUG] Extracting content to '/var/run/act'
[Test/release]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=
[Test/release] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]'
[Test/release] [DEBUG] Working directory '/tmp/act-test'
[Test/release]   ✅  Success - Main touch test-artifact
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] setupEnv => map[ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://100.64.0.1:34567/ AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/upload-artifact GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:release GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/tmp/act-test IMAGE_OS:ubuntu22 INPUT_NAME:artifacts INPUT_PATH:test-artifact ImageOS:ubuntu20 LSB_OS_VERSION:2204 LSB_RELEASE:22.04 PATH:/opt/hostedtoolcache/node/16.19.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] evaluating expression ''
[Test/release] [DEBUG] expression '' evaluated to 'true'
[Test/release] ⭐ Run Main actions/upload-artifact@v3
[Test/release] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/release] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/release] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/release] [DEBUG] Extracting content to '/var/run/act'
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] About to run action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[if-no-files-found:{The desired behavior if no files are found using the provided path.
Available Options:
  warn: Output a warning but do not fail the action
  error: Fail the action with an error message
  ignore: Do not output any warnings or errors, the action does not fail
 false warn} name:{Artifact name false artifact} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day. Maximum 90 days unless changed from the repository settings page.
 false }] map[] {node16 map[] dist/index.js  always()  always()   [] []} { }}
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
[Test/release] [DEBUG] type=remote-action actionDir=/Users/user/.cache/act/actions-upload-artifact@v3 actionPath= workdir=/tmp/act-test actionCacheDir=/Users/user/.cache/act actionName=actions-upload-artifact@v3 containerActionDir=/var/run/act/actions/actions-upload-artifact@v3
[Test/release] [DEBUG] Removing /Users/user/.cache/act/actions-upload-artifact@v3/.gitignore before docker cp
[Test/release] [DEBUG] /var/run/act/actions/actions-upload-artifact@v3
[Test/release]   🐳  docker cp src=/Users/user/.cache/act/actions-upload-artifact@v3/ dst=/var/run/act/actions/actions-upload-artifact@v3/
[Test/release] [DEBUG] Writing tarball /var/folders/jy/ymjz39d57gdg3gv481q552dr0000gn/T/act4048109990 from /Users/user/.cache/act/actions-upload-artifact@v3/
[Test/release] [DEBUG] Stripping prefix:/Users/user/.cache/act/actions-upload-artifact@v3/ src:/Users/user/.cache/act/actions-upload-artifact@v3/
[Test/release] [DEBUG] Extracting content from '/var/folders/jy/ymjz39d57gdg3gv481q552dr0000gn/T/act4048109990' to '/var/run/act/actions/actions-upload-artifact@v3/'
[Test/release] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js]
[Test/release]   🐳  docker exec cmd=[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js] user= workdir=
[Test/release] [DEBUG] Exec command '[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js]'
[Test/release] [DEBUG] Working directory '/tmp/act-test'
[Test/release]   💬  ::debug::followSymbolicLinks 'true'
[Test/release]   💬  ::debug::implicitDescendants 'true'
[Test/release]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Test/release]   💬  ::debug::followSymbolicLinks 'true'
[Test/release]   💬  ::debug::implicitDescendants 'true'
[Test/release]   💬  ::debug::matchDirectories 'true'
[Test/release]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Test/release]   💬  ::debug::Search path '/tmp/act-test/test-artifact'
[Test/release]   💬  ::debug::File:/tmp/act-test/test-artifact was found using the provided searchPath
| With the provided path, there will be 1 file uploaded
[Test/release]   💬  ::debug::Root artifact directory is /tmp/act-test
| Starting artifact upload
| For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
| Artifact name is valid!
[Test/release]   💬  ::debug::Artifact Url: http://100.64.0.1:34567/_apis/pipelines/workflows/1/artifacts?api-version=6.0-preview
| Create Artifact Container - Attempt 1 of 5 failed with error: socket hang up
| Create Artifact Container - Attempt 2 of 5 failed with error: socket hang up
| Create Artifact Container - Attempt 3 of 5 failed with error: socket hang up
| Create Artifact Container - Attempt 4 of 5 failed with error: socket hang up
| Create Artifact Container - Attempt 5 of 5 failed with error: socket hang up
[Test/release]   ❗  ::error::Create Artifact Container failed: socket hang up
[Test/release]   ❌  Failure - Main actions/upload-artifact@v3
[Test/release] exitcode '1': failure
[Test/release] 🏁  Job failed
[Test/release] unable to get git repo: unable to find git repo
[Test/release] unable to get git ref: unable to find git repo
[Test/release] unable to get git revision: unable to find git repo
Error: Job 'release' failed

Additional information

I've already developed a patch to address this issue: PR incoming.

Originally created by @isometry on GitHub (Jan 13, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1559 ### Bug report info ```plain text act version: 0.2.35 GOOS: darwin GOARCH: amd64 NumCPU: 16 Docker host: DOCKER_HOST environment variable is unset/empty. Sockets found: /var/run/docker.sock Config files: /Users/robin/.actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 Build info: Go version: go1.19.4 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -compiler: gc -ldflags: -X main.version=0.2.35 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: amd64 GOOS: darwin GOAMD64: v1 Docker Engine: Engine version: 20.10.21 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.49-linuxkit OS CPU: 4 OS memory: 7959 MB Security options: name=seccomp,profile=default name=cgroupns ``` ### Command used with act ```sh act workflow_dispatch -W .github/workflows/test.yml --artifact-server-path . ``` ### Describe issue On client devices with the Zscaler Client Connector installed, the outbound IP is always `100.64.0.1` (CGNAT). Unfortunately, on non-Linux devices, this address is unroutable from Docker Desktop's embedded VM or the containers running on it, thus making the embedded artifact server inaccessible. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Test on: workflow_dispatch: {} jobs: release: runs-on: ubuntu-latest steps: - run: touch test-artifact - uses: actions/upload-artifact@v3 with: name: artifacts path: test-artifact ``` ### Relevant log output ```sh DEBU[0000] Loading environment from /tmp/act-test/.env DEBU[0000] Loading secrets from /tmp/act-test/.secrets DEBU[0000] Loading workflow '/tmp/act-test/.github/workflows/test.yml' DEBU[0000] Reading workflow '/tmp/act-test/.github/workflows/test.yml' DEBU[0000] Using first passed in arguments event for filtering: workflow_dispatch DEBU[0000] Preparing plan for a event: workflow_dispatch DEBU[0000] Using first passed in arguments event: workflow_dispatch DEBU[0000] Planning jobs for event: workflow_dispatch DEBU[0000] Artifacts base path '.' INFO[0000] Start server on http://100.64.0.1:34567 WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo [Test/release] [DEBUG] evaluating expression 'success()' [Test/release] [DEBUG] expression 'success()' evaluated to 'true' [Test/release] 🚀 Start image=catthehacker/ubuntu:act-latest [Test/release] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false [Test/release] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest [Test/release] [DEBUG] Image exists? true [Test/release] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [Test/release] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/tmp/act-test Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} [Test/release] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: ConsoleSize:[0 0] Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>} {Type:volume Source:act-Test-release-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>} {Type:volume Source:act-Test-release Target:/tmp/act-test ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>} [Test/release] [DEBUG] Created container name=act-Test-release id=7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a from image catthehacker/ubuntu:act-latest (platform: ) [Test/release] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [Test/release] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [Test/release] [DEBUG] Starting container: 7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a [Test/release] [DEBUG] Started container: 7a348bfdaedc96e00a1296721658cb4e56b96515c3316d74e6a7a0330a94443a [Test/release] [DEBUG] Writing entry to tarball workflow/event.json len:2 [Test/release] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [Test/release] [DEBUG] Extracting content to '/var/run/act/' [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] ☁ git clone 'https://github.com/actions/upload-artifact' # ref=v3 [Test/release] [DEBUG] cloning https://github.com/actions/upload-artifact to /Users/user/.cache/act/actions-upload-artifact@v3 [Test/release] [DEBUG] Unable to pull refs/heads/v3: worktree contains unstaged changes [Test/release] [DEBUG] Cloned https://github.com/actions/upload-artifact to /Users/user/.cache/act/actions-upload-artifact@v3 [Test/release] [DEBUG] Checked out v3 [Test/release] [DEBUG] Read action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[if-no-files-found:{The desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail false warn} name:{Artifact name false artifact} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page. false }] map[] {node16 map[] dist/index.js always() always() [] []} { }} from 'Unknown' [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] setupEnv => map[ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://100.64.0.1:34567/ AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:release GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/tmp/act-test IMAGE_OS:ubuntu22 ImageOS:ubuntu20 LSB_OS_VERSION:2204 LSB_RELEASE:22.04 PATH:/opt/hostedtoolcache/node/16.19.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] evaluating expression '' [Test/release] [DEBUG] expression '' evaluated to 'true' [Test/release] ⭐ Run Main touch test-artifact [Test/release] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [Test/release] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [Test/release] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [Test/release] [DEBUG] Extracting content to '/var/run/act' [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] Wrote command touch test-artifact to 'workflow/0' [Test/release] [DEBUG] Writing entry to tarball workflow/0 len:21 [Test/release] [DEBUG] Extracting content to '/var/run/act' [Test/release] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir= [Test/release] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]' [Test/release] [DEBUG] Working directory '/tmp/act-test' [Test/release] ✅ Success - Main touch test-artifact [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] setupEnv => map[ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://100.64.0.1:34567/ AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/upload-artifact GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:release GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/tmp/act-test IMAGE_OS:ubuntu22 INPUT_NAME:artifacts INPUT_PATH:test-artifact ImageOS:ubuntu20 LSB_OS_VERSION:2204 LSB_RELEASE:22.04 PATH:/opt/hostedtoolcache/node/16.19.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] evaluating expression '' [Test/release] [DEBUG] expression '' evaluated to 'true' [Test/release] ⭐ Run Main actions/upload-artifact@v3 [Test/release] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [Test/release] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [Test/release] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [Test/release] [DEBUG] Extracting content to '/var/run/act' [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] About to run action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[if-no-files-found:{The desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail false warn} name:{Artifact name false artifact} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page. false }] map[] {node16 map[] dist/index.js always() always() [] []} { }} [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo [Test/release] [DEBUG] type=remote-action actionDir=/Users/user/.cache/act/actions-upload-artifact@v3 actionPath= workdir=/tmp/act-test actionCacheDir=/Users/user/.cache/act actionName=actions-upload-artifact@v3 containerActionDir=/var/run/act/actions/actions-upload-artifact@v3 [Test/release] [DEBUG] Removing /Users/user/.cache/act/actions-upload-artifact@v3/.gitignore before docker cp [Test/release] [DEBUG] /var/run/act/actions/actions-upload-artifact@v3 [Test/release] 🐳 docker cp src=/Users/user/.cache/act/actions-upload-artifact@v3/ dst=/var/run/act/actions/actions-upload-artifact@v3/ [Test/release] [DEBUG] Writing tarball /var/folders/jy/ymjz39d57gdg3gv481q552dr0000gn/T/act4048109990 from /Users/user/.cache/act/actions-upload-artifact@v3/ [Test/release] [DEBUG] Stripping prefix:/Users/user/.cache/act/actions-upload-artifact@v3/ src:/Users/user/.cache/act/actions-upload-artifact@v3/ [Test/release] [DEBUG] Extracting content from '/var/folders/jy/ymjz39d57gdg3gv481q552dr0000gn/T/act4048109990' to '/var/run/act/actions/actions-upload-artifact@v3/' [Test/release] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js] [Test/release] 🐳 docker exec cmd=[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js] user= workdir= [Test/release] [DEBUG] Exec command '[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js]' [Test/release] [DEBUG] Working directory '/tmp/act-test' [Test/release] 💬 ::debug::followSymbolicLinks 'true' [Test/release] 💬 ::debug::implicitDescendants 'true' [Test/release] 💬 ::debug::omitBrokenSymbolicLinks 'true' [Test/release] 💬 ::debug::followSymbolicLinks 'true' [Test/release] 💬 ::debug::implicitDescendants 'true' [Test/release] 💬 ::debug::matchDirectories 'true' [Test/release] 💬 ::debug::omitBrokenSymbolicLinks 'true' [Test/release] 💬 ::debug::Search path '/tmp/act-test/test-artifact' [Test/release] 💬 ::debug::File:/tmp/act-test/test-artifact was found using the provided searchPath | With the provided path, there will be 1 file uploaded [Test/release] 💬 ::debug::Root artifact directory is /tmp/act-test | Starting artifact upload | For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging | Artifact name is valid! [Test/release] 💬 ::debug::Artifact Url: http://100.64.0.1:34567/_apis/pipelines/workflows/1/artifacts?api-version=6.0-preview | Create Artifact Container - Attempt 1 of 5 failed with error: socket hang up | Create Artifact Container - Attempt 2 of 5 failed with error: socket hang up | Create Artifact Container - Attempt 3 of 5 failed with error: socket hang up | Create Artifact Container - Attempt 4 of 5 failed with error: socket hang up | Create Artifact Container - Attempt 5 of 5 failed with error: socket hang up [Test/release] ❗ ::error::Create Artifact Container failed: socket hang up [Test/release] ❌ Failure - Main actions/upload-artifact@v3 [Test/release] exitcode '1': failure [Test/release] 🏁 Job failed [Test/release] unable to get git repo: unable to find git repo [Test/release] unable to get git ref: unable to find git repo [Test/release] unable to get git revision: unable to find git repo Error: Job 'release' failed ``` ### Additional information I've already developed a patch to address this issue: PR incoming.
kerem 2026-03-01 21:46:20 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@isometry commented on GitHub (Jan 14, 2023):

#1560 provides a simple workaround for this issue by allowing the user to override the artifact server bind address.

<!-- gh-comment-id:1382709728 --> @isometry commented on GitHub (Jan 14, 2023): #1560 provides a simple workaround for this issue by allowing the user to override the artifact server bind address.
Author
Owner

@Francisco-RP commented on GitHub (Apr 11, 2023):

I'm having this issue now with ZScaler. The rest of my job runs and works, it's only my download and upload artifacts steps that fail

| List Artifacts - Attempt 1 of 5 failed with error: socket hang up
| List Artifacts - Attempt 2 of 5 failed with error: socket hang up
| List Artifacts - Attempt 3 of 5 failed with error: socket hang up
| List Artifacts - Attempt 4 of 5 failed with error: socket hang up
| List Artifacts - Attempt 5 of 5 failed with error: socket hang up

So what exactly should by passing to --artifact-server-addr to get it work? because I tried setting it to 127.0.0.1 but then I just started getting:

| List Artifacts - Attempt 1 of 5 failed with error: connect ECONNREFUSED 127.0.0.1:34567
| List Artifacts - Attempt 2 of 5 failed with error: connect ECONNREFUSED 127.0.0.1:34567

This is my command:

act --bind \
  --artifact-server-addr 127.0.0.1 \
  --artifact-server-path ~/tmp/artifacts \
  --pull=false \
  -P ubuntu-latest=custom-act-image

New to act and not super experienced with Docker so no idea what to do to get this to work. Do I need to be mapping ports or something?

This is what my custom-act-image looks like and it seems to be working because node installs and runs.

FROM catthehacker/ubuntu:act-latest

# Install your custom certs
# place ca-zscaler-plus-all.pem in the root of this repo, alongside this Dockerfile
COPY ca-zscaler-plus-all.pem /usr/local/share/ca-certificates/ca-zscaler-plus-all.crt
RUN update-ca-certificates

# Don't forget to set important environment variables
# Point relevant environment variables to concatenated certs:

ENV AWS_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem
ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem
ENV NODE_EXTRA_CA_CERTS /etc/ssl/certs/ca-zscaler-plus-all.pem
ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem
ENV SSL_CERT_FILE /etc/ssl/certs/ca-zscaler-plus-all.pem

# source: https://github.com/nektos/act/issues/717
<!-- gh-comment-id:1503847475 --> @Francisco-RP commented on GitHub (Apr 11, 2023): I'm having this issue now with ZScaler. The rest of my job runs and works, it's only my download and upload artifacts steps that fail ``` | List Artifacts - Attempt 1 of 5 failed with error: socket hang up | List Artifacts - Attempt 2 of 5 failed with error: socket hang up | List Artifacts - Attempt 3 of 5 failed with error: socket hang up | List Artifacts - Attempt 4 of 5 failed with error: socket hang up | List Artifacts - Attempt 5 of 5 failed with error: socket hang up ``` So what exactly should by passing to `--artifact-server-addr` to get it work? because I tried setting it to `127.0.0.1` but then I just started getting: ``` | List Artifacts - Attempt 1 of 5 failed with error: connect ECONNREFUSED 127.0.0.1:34567 | List Artifacts - Attempt 2 of 5 failed with error: connect ECONNREFUSED 127.0.0.1:34567 ``` This is my command: ``` act --bind \ --artifact-server-addr 127.0.0.1 \ --artifact-server-path ~/tmp/artifacts \ --pull=false \ -P ubuntu-latest=custom-act-image ``` New to `act` and not super experienced with Docker so no idea what to do to get this to work. Do I need to be mapping ports or something? This is what my custom-act-image looks like and it seems to be working because node installs and runs. ``` FROM catthehacker/ubuntu:act-latest # Install your custom certs # place ca-zscaler-plus-all.pem in the root of this repo, alongside this Dockerfile COPY ca-zscaler-plus-all.pem /usr/local/share/ca-certificates/ca-zscaler-plus-all.crt RUN update-ca-certificates # Don't forget to set important environment variables # Point relevant environment variables to concatenated certs: ENV AWS_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem ENV NODE_EXTRA_CA_CERTS /etc/ssl/certs/ca-zscaler-plus-all.pem ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-zscaler-plus-all.pem ENV SSL_CERT_FILE /etc/ssl/certs/ca-zscaler-plus-all.pem # source: https://github.com/nektos/act/issues/717 ```
Author
Owner

@Francisco-RP commented on GitHub (Apr 12, 2023):

I solved my issue. I just used my host ip address (--artifact-server-addr $(ipconfig getifaddr en0)) and that worked.

<!-- gh-comment-id:1505416238 --> @Francisco-RP commented on GitHub (Apr 12, 2023): I solved my issue. I just used my host ip address (`--artifact-server-addr $(ipconfig getifaddr en0)`) and that worked.
Author
Owner

@isometry commented on GitHub (Apr 13, 2023):

Exactly, yes. Sorry not to have responded before.

<!-- gh-comment-id:1507633685 --> @isometry commented on GitHub (Apr 13, 2023): Exactly, yes. Sorry not to have responded before.
Author
Owner

@ndemayo-bah commented on GitHub (May 16, 2024):

This just saved me so much headache, thank you internet stranger!

<!-- gh-comment-id:2115440248 --> @ndemayo-bah commented on GitHub (May 16, 2024): This just saved me so much headache, thank you internet stranger!
Author
Owner

@higoramorimkroger commented on GitHub (Dec 2, 2024):

@Francisco-RP I tried your solution but I'm still getting "socket hang up". Do you have any other suggestion, please?

<!-- gh-comment-id:2512854685 --> @higoramorimkroger commented on GitHub (Dec 2, 2024): @Francisco-RP I tried your solution but I'm still getting "socket hang up". Do you have any other suggestion, please?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#785
No description provided.