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

[BUG] curl: (22) The requested URL returned error: 411 Length Required #15

Open
pkhieu opened this issue Jan 7, 2022 · 1 comment
Open

Comments

@pkhieu
Copy link

pkhieu commented Jan 7, 2022

Version

redhat-actions/push-to-registry:latest
quay.io/repository/redhat-github-actions/runner:lastest

Describe the bug

When I try to start the container using podmand (guideline: https://github.com/redhat-actions/openshift-actions-runners) and helm (guildine: https://github.com/redhat-actions/openshift-actions-runner-chart) that I facing the error logs as below at starting point of container/pod:
....
curl: (22) The requested URL returned error: 411 Length Required

Steps to reproduce, workflow links, screenshots

Setup ENV variables GITHUB_OWNER, GITHUB_REPO,GITHUB_DOMAIN,HTTPS_PROXY,GITHUB_PAT
run with default config.

After checking/testing I saw that it might be fixed by adding another request header in curl command [ -H 'Content-Length: 0' ] in register.sh (line 58)
Many thanks for your help to review and let me know if this issue only apply for us? (we using - Github Enterprise)
And is there any other way not changing the scripts but can fixed the issue?
thanks in advance.

@skathiresh
Copy link

Hi @pkhieu
I am also facing the same issue. Have you resolved this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants