[GH-ISSUE #613] Issue: docker: net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" #405

Closed
opened 2026-03-01 21:43:05 +03:00 by kerem · 3 comments
Owner

Originally created by @fgysin on GitHub (Apr 8, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/613

I'm running into problems setting up act on my OS X.
I simply executed act for the first time, but that seems to run into connection problems (probably with the docker container):
net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"

Act version

act --version
  act version 0.2.21

Docker

brew upgrade docker
  Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker
  Warning: docker 20.10.5 already installed

Expected behaviour

Act runs the default task of the given repository.

Actual behaviour

Getting an HTTP transport error.

Workflow and/or repository

I used the default https://github.com/cplee/github-actions-demo...

Steps to reproduce

  1. Clone example repo (https://github.com/cplee/github-actions-demo)
  2. Enter cloned repo directory
  3. Run act

act output

Log
~/projects/github-actions-demo act -v
DEBU[0000] Loading environment from /Users/gysin/projects/github-actions-demo/.env
DEBU[0000] Loading secrets from /Users/gysin/projects/github-actions-demo/.secrets
DEBU[0000] Loading workflows from '/Users/gysin/projects/github-actions-demo/.github/workflows'
DEBU[0000] Reading workflow '/Users/gysin/projects/github-actions-demo/.github/workflows/main.yml'
DEBU[0000] Planning event: push
DEBU[0000] Loading slug from git directory '/Users/gysin/projects/github-actions-demo/.git'
DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50
DEBU[0000] Loading revision from git directory '/Users/gysin/projects/github-actions-demo/.git'
DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50
DEBU[0000] HEAD points to '2dcabf3769c2613687310c7b71b89af681e8ee50'
DEBU[0000] HEAD matches refs/heads/master
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] context env => map[ACT:true]
[CI/test] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Loading slug from git directory '/Users/gysin/projects/github-actions-demo/.git'
DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50
DEBU[0000] Loading revision from git directory '/Users/gysin/projects/github-actions-demo/.git'
DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50
DEBU[0000] HEAD points to '2dcabf3769c2613687310c7b71b89af681e8ee50'
DEBU[0000] HEAD matches refs/heads/master
DEBU[0000] using github ref: refs/heads/master
[CI/test]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] Image exists? true
[CI/test] Removed container: 74f17449139163ab38afd95169ab8761c07c7ce44b3467e21e9339b3f1758e55
[CI/test]   🐳  docker volume rm act-CI-test
[CI/test]   🐳  docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Created container name=act-CI-test id=fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d from image catthehacker/ubuntu:act-latest (platform: linux/amd64)
[CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[CI/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Starting container: fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d
[CI/test] Started container: fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d
[CI/test]   🐳  docker cp src=/Users/gysin/projects/github-actions-demo/. dst=/Users/gysin/projects/github-actions-demo
[CI/test] Exec command '[mkdir -p /Users/gysin/projects/github-actions-demo]'
DEBU[0000] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
github.com/nektos/act/pkg/container.(*containerReference).exec.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Then.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.If.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101
runtime.goexit
	/usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371
Error: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
Originally created by @fgysin on GitHub (Apr 8, 2021). Original GitHub issue: https://github.com/nektos/act/issues/613 I'm running into problems setting up act on my OS X. I simply executed `act` for the first time, but that seems to run into connection problems (probably with the docker container): `net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"` ## Act version ``` act --version act version 0.2.21 ``` Docker ``` brew upgrade docker Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker Warning: docker 20.10.5 already installed ``` ## Expected behaviour Act runs the default task of the given repository. ## Actual behaviour Getting an HTTP transport error. ## Workflow and/or repository I used the default https://github.com/cplee/github-actions-demo... ## Steps to reproduce 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act ` ## `act` output <!-- Paste output from your terminal, use `-v` or `--verbose` for richer output --> <details> <summary>Log</summary> ``` ~/projects/github-actions-demo act -v DEBU[0000] Loading environment from /Users/gysin/projects/github-actions-demo/.env DEBU[0000] Loading secrets from /Users/gysin/projects/github-actions-demo/.secrets DEBU[0000] Loading workflows from '/Users/gysin/projects/github-actions-demo/.github/workflows' DEBU[0000] Reading workflow '/Users/gysin/projects/github-actions-demo/.github/workflows/main.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/Users/gysin/projects/github-actions-demo/.git' DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50 DEBU[0000] Loading revision from git directory '/Users/gysin/projects/github-actions-demo/.git' DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50 DEBU[0000] HEAD points to '2dcabf3769c2613687310c7b71b89af681e8ee50' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] [CI/test] 🚀 Start image=catthehacker/ubuntu:act-latest DEBU[0000] Loading slug from git directory '/Users/gysin/projects/github-actions-demo/.git' DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50 DEBU[0000] Loading revision from git directory '/Users/gysin/projects/github-actions-demo/.git' DEBU[0000] Found revision: 2dcabf3769c2613687310c7b71b89af681e8ee50 DEBU[0000] HEAD points to '2dcabf3769c2613687310c7b71b89af681e8ee50' DEBU[0000] HEAD matches refs/heads/master DEBU[0000] using github ref: refs/heads/master [CI/test] 🐳 docker pull catthehacker/ubuntu:act-latest DEBU[0000] Image exists? true [CI/test] Removed container: 74f17449139163ab38afd95169ab8761c07c7ce44b3467e21e9339b3f1758e55 [CI/test] 🐳 docker volume rm act-CI-test [CI/test] 🐳 docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Created container name=act-CI-test id=fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d from image catthehacker/ubuntu:act-latest (platform: linux/amd64) [CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/test] 🐳 docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Starting container: fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d [CI/test] Started container: fffddf7c1b06e169e11c5ed9bd78870db57b9104c39dd51c0abf2c944fa94a3d [CI/test] 🐳 docker cp src=/Users/gysin/projects/github-actions-demo/. dst=/Users/gysin/projects/github-actions-demo [CI/test] Exec command '[mkdir -p /Users/gysin/projects/github-actions-demo]' DEBU[0000] FIXME: Got an status-code for which error does not match any expected type!!!: -1 module=api status_code=-1 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 DEBU[0000] error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" github.com/nektos/act/pkg/container.(*containerReference).exec.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/container/docker_run.go:425 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/runner.(*RunContext).startJobContainer.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/run_context.go:143 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Then.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.If.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:154 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/runner/runner.go:81 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /private/tmp/act-20210330-72336-j1hm1j/act-0.2.21/pkg/common/executor.go:101 runtime.goexit /usr/local/Cellar/go/1.16.2/libexec/src/runtime/asm_amd64.s:1371 Error: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/72d3e2dd75ee1fb3698895f095335b05e0876d367caf5f91901d7224946c468d/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity" ``` </details>
kerem 2026-03-01 21:43:05 +03:00
Author
Owner

@ChristopherHX commented on GitHub (Apr 8, 2021):

Maybe try update docker, it seems to be an incompatibility with Docker Desktop older than Edge 2.3.7.0 (48173) and go 1.15+ on mac. See here https://github.com/docker/for-mac/issues/4855.

Or it is worth a try to use docker from https://docs.docker.com/docker-for-mac/release-notes/ and not from brew. Never tried on mac.

Even an old issue here https://github.com/nektos/act/issues/356

<!-- gh-comment-id:815718386 --> @ChristopherHX commented on GitHub (Apr 8, 2021): Maybe try update docker, it seems to be an incompatibility with Docker Desktop older than Edge 2.3.7.0 (48173) and go 1.15+ on mac. See here https://github.com/docker/for-mac/issues/4855. Or it is worth a try to use docker from https://docs.docker.com/docker-for-mac/release-notes/ and not from brew. Never tried on mac. Even an old issue here https://github.com/nektos/act/issues/356
Author
Owner

@github-actions[bot] commented on GitHub (May 9, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:835583183 --> @github-actions[bot] commented on GitHub (May 9, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@catthehacker commented on GitHub (May 9, 2021):

Closing as it's an issue with local Docker installation and relevant information provided above.

<!-- gh-comment-id:835738602 --> @catthehacker commented on GitHub (May 9, 2021): Closing as it's an issue with local Docker installation and relevant information provided above.
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#405
No description provided.