Infinites redirects happening "sometimes" on hosted binary

I’m hosting my binary release on a cloudflare pages

but when I try to download it sometimes (yes I know unreliable reproduction are the worst…) I got an infinite redirects

curl -L https://download.leanci.io/leanci.bin -o leanci.bin 

once every 5 times more or less the issue will get triggered

Can’t seem to reproduce that

$ for x in {1..10}; do curl -Is https://download.leanci.io/leanci.bin | head -1; done
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200
HTTP/2 200

Why would you specify -L if you don’t expect a redirect though?

Is there any local or network proxy with you?

I added the -L to show the infinite redirections

there’s no network proxy that I know of (I’m at my home )

I can’t seem to reproduce anymore too, is it a replication issue ? (not yet replicated on all nodes ) ?

Did you test this immediately after you uploaded it? If so, it might have taken a bit, this being about an eight megabyte file. A non-existent file should usually show the main page, but that may depend on your configuration. But if it works now, that’s good.

yes it was around some minutes after deploying it , but it was overwriting an existing file.

May have been a deployment thing.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.