Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go 1.20.6: failed to attach to exec: http: invalid Host header #1908

Closed
earl-warren opened this issue Jul 12, 2023 · 4 comments
Closed

go 1.20.6: failed to attach to exec: http: invalid Host header #1908

earl-warren opened this issue Jul 12, 2023 · 4 comments
Labels
kind/bug Something isn't working kind/external For something that doesn't land in act scope

Comments

@earl-warren
Copy link

Bug report info

When compiled with go 1.20.6 ACT will fail with:


TRAC[2023-07-12T10:51:41+02:00] Working directory '/workspace/root/tet'       dryrun=false job=/test jobID=test matrix="map[]" stage=Main step="echo All Goodaa" stepID="[0]" stepNumber=0
[/test] [DEBUG] Working directory '/workspace/root/tet'
TRAC[2023-07-12T10:51:41+02:00]   ❌  Failure - Main echo All Goodaa           dryrun=false job=/test jobID=test matrix="map[]" stage=Main step="echo All Goodaa" stepID="[0]" stepNumber=0 stepResult=failure
[/test]   ❌  Failure - Main echo All Goodaa
TRAC[2023-07-12T10:51:41+02:00] failed to attach to exec: http: invalid Host header  dryrun=false job=/test jobID=test matrix="map[]" stage=Main step="echo All Goodaa" stepID="[0]" stepNumber=0
[/test] failed to attach to exec: http: invalid Host header
TRAC[2023-07-12T10:51:41+02:00] Cleaning up services for job test             dryrun=false job=/test jobID=test matrix="map[]"

golang/go#61076



### Command used with act

```sh
All workflows will do that.

Describe issue

Link to GitHub repository

No response

Workflow content

on: [push]
jobs:
  test:
    runs-on: docker
    steps:
      - run: echo All Good


### Relevant log output

```sh
-

Additional information

No response

@earl-warren earl-warren added the kind/bug Something isn't working label Jul 12, 2023
@ChristopherHX ChristopherHX added the kind/external For something that doesn't land in act scope label Jul 12, 2023
@ChristopherHX
Copy link
Contributor

ChristopherHX commented Jul 12, 2023

Bug of dependency github.com/docker/docker.

-P docker=-self-hosted is working by not using that package.

@ChristopherHX
Copy link
Contributor

I have injected a patch into this PR from docker/cli 4810f69 (using a prerelease of docker/docker)

@metaory
Copy link

metaory commented Aug 5, 2023

Hi @ChristopherHX I'm facing the same issue,
given that the issue closed and there a fix commit, is there anything I should be doing to get around this?

@metaory
Copy link

metaory commented Aug 5, 2023

my bad, the AUR package is old (v0.2.48-1), the latest release v0.2.49 don't seem to have the issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working kind/external For something that doesn't land in act scope
Projects
None yet
Development

No branches or pull requests

3 participants