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

403 while Downloading a new version of Bun #70

Closed
networkhermit opened this issue Mar 22, 2024 · 7 comments
Closed

403 while Downloading a new version of Bun #70

networkhermit opened this issue Mar 22, 2024 · 7 comments
Assignees

Comments

@networkhermit
Copy link

Run oven-sh/setup-bun@v1
Downloading a new version of Bun: https://bun.sh/download/latest/linux/x64?avx2=true&profile=false
Error: Error: Unexpected HTTP response: 403

Does https://bun.sh/download has some kind of WAF or rate limiting mechanism? When I manually run curl on the runner it displayed <title>Just a moment...</title> but I coudn't see the reason.

Also I can confirm that directly curl https://github.com/oven-sh/bun/releases/download/bun-v1.0.33/bun-linux-x64-baseline.zip is ok.

P.S. We use self-hosted runners and utilize the cloudflare WARP, but I think it shouldn't be a problem to setup bun.

@keeganstothert
Copy link

i get the same but with a 404 and only on our windows build environment

@xhyrom
Copy link
Collaborator

xhyrom commented Apr 2, 2024

i get the same but with a 404 and only on our windows build environment

#72

@xhyrom
Copy link
Collaborator

xhyrom commented Apr 3, 2024

@networkhermit are you still experiencing this issue? If you want to try curl, don't forget to add -L as the API redirects directly to github:

curl -O -L "https://bun.sh/download/latest/linux/x64?avx2=true&profile=false"

@networkhermit
Copy link
Author

@networkhermit are you still experiencing this issue? If you want to try curl, don't forget to add -L as the API redirects directly to github:

curl -O -L "https://bun.sh/download/latest/linux/x64?avx2=true&profile=false"

No. We switched to another ci runner group since the 403 error.

I know the -L flag of curl, but instead of 302 it got 403 from cloudflare at that time, meaning it could never redirect to github.

We will try to use the previous runner group in the the next few weeks. I will report here once the issue happens again.

@xhyrom
Copy link
Collaborator

xhyrom commented Apr 3, 2024

@networkhermit are you still experiencing this issue? If you want to try curl, don't forget to add -L as the API redirects directly to github:

curl -O -L "https://bun.sh/download/latest/linux/x64?avx2=true&profile=false"

No. We switched to another ci runner group since the 403 error.

I know the -L flag of curl, but instead of 302 it got 403 from cloudflare at that time, meaning it could never redirect to github.

We will try to use the previous runner group in the the next few weeks. I will report here once the issue happens again.

Okay, great!

@xhyrom
Copy link
Collaborator

xhyrom commented May 7, 2024

Are you still experiencing this issue?

@networkhermit
Copy link
Author

No. I think this issue can be closed.

@xhyrom xhyrom closed this as completed May 7, 2024
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

4 participants