mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #356] Post request to docker fails on MacOS when running act #250
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TobiasBales on GitHub (Sep 4, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/356
When running act locally (on MacOS) it fails with
Error: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/437a957d8d3282446d525413a4d96d853c726094c78147e21e25b7cbcf63412f/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"when running
act(tried it in multiple projects with different workflow files)I am not certain if an update to docker, act or something else broke it.
I am experiencing this on two macs now. And one of them it used to work until recently (the old one is a new setup)
Has anyone else experienced this?
Docker version:
Docker version 19.03.12, build 48a66213feAct version:
act version 0.2.10MacOS versions:
10.14.6and10.15.6@chrispblink commented on GitHub (Sep 4, 2020):
This appears to be caused by this issue:
TL;DR docker for mac tries to use "identity" transfer encording while golang 1.15 has dropped support for it
@donn commented on GitHub (Sep 30, 2020):
For visibility, a fix for this is to install the Edge version of Docker Desktop for macOS: https://docs.docker.com/docker-for-mac/edge-release-notes/#docker-desktop-community-2370
I think whenever this makes it to stable this issue can be closed.
@GavinF17 commented on GitHub (Oct 6, 2020):
Found this thread after having the issue, fix is in stable and it is now working for me so this could be closed
@TheCleric commented on GitHub (Oct 6, 2020):
Can confirm. Ran into this issue this morning, upgraded to Docker Desktop 2.4 Mac Stable, and that issue is now gone.
@derekpierre commented on GitHub (Oct 22, 2020):
Confirmed as well - issue can be closed.
@jsteenri commented on GitHub (Nov 30, 2020):
For anyone else who finds their way here (perhaps from #377, which was not MacOS specific), this issue happened to me on using Docker Desktop on Windows with WSL2 (Ubuntu 20.04) as well.
Can confirm that upgrading Docker Desktop to the Edge version 2.5.3 #50261 (from Stable 2.3.0.4 #46911) fixed the issue.
@github-actions[bot] commented on GitHub (Jan 16, 2021):
Issue is stale and will be closed in 14 days unless there is new activity