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

curl install the cli fails (github action) #5389

Closed
tibotiber opened this issue Jul 16, 2020 · 6 comments
Closed

curl install the cli fails (github action) #5389

tibotiber opened this issue Jul 16, 2020 · 6 comments
Labels
c/cli Related to CLI

Comments

@tibotiber
Copy link
Contributor

Hi,

I'm the maintainer of the Hasura GitHub action. A user has reported a failed install of the CLI in his action workflow, see tibotiber/hasura-action#5. We're unable to figure out why this may be happening on his end only, while other users have no issues. Would you mind having a look at that issue and assisting?

Thanks,
Thibaut

@ste824
Copy link

ste824 commented Jul 16, 2020

We get this too when running the curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash command described on https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html#install-a-binary-globally.

The problem appears to be when the script calls this - https://releases.hasura.io/graphql-engine?agent=cli-get.sh it receives an HTTP 500 with the response body {"error":"contacting github api failed"}

This is blocking our builds. Can anyone help? I guess we shouldn't have a dependency on the curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash command in our build process

@drj17
Copy link

drj17 commented Oct 29, 2020

This happens for us as well. The https://releases.hasura.io/graphql-engine?agent=cli-get.sh endpoint goes down pretty frequently and blocks all of our builds.

@yash2code
Copy link

facing the same issue . any Workarounds ?

@alexander-zheleznov
Copy link

still experiencing this issue from time to time

@drj17
Copy link

drj17 commented Nov 10, 2020

At this point I'm just going to copy the script and hardcode the version because the endpoint goes down multiple times a day causing all of our builds to fail.

@scriptonist
Copy link
Contributor

Should be fixed in #6215, feel free to reopen if it still persists.

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

No branches or pull requests

6 participants