setup-bun
setup-bun copied to clipboard
403 while Downloading a new version of Bun
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.
i get the same but with a 404 and only on our windows build environment
i get the same but with a 404 and only on our windows build environment
https://github.com/oven-sh/setup-bun/pull/72
@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 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.
@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!
Are you still experiencing this issue?
No. I think this issue can be closed.