replayio / website

Code for our demo site on replay.io/demo
https://website-git-master.recordreplay.vercel.app
1 stars 1 forks source link

replay.io/downloads redirection breakage #149

Closed bhackett1024 closed 3 years ago

bhackett1024 commented 3 years ago

Our build system uses curl to download things from https://replay.io/downloads, and some other scripts (e.g. https://github.com/RecordReplay/replay-node-cli/blob/6a73ee7a493f7e18751cebe0c996713f56c78fb7/src/bin.js#L108) use node's https module to download files from the downloads folder as well.

All of this is currently broken. curl https://replay.io/downloads/linux-recordreplay.so -o linux-recordreplay.so writes a 90 byte text file instead of downloading the thing it is supposed to download, with the contents "Redirecting to https://dc3tvimjwmdjm.cloudfront.net/downloads/linux-recordreplay.so (307)". The node https based methods behave similarly.

bhackett1024 commented 3 years ago

This is still not fixed, despite #148 being reverted (https://github.com/RecordReplay/website/pull/150)

hbenl commented 3 years ago

@bhackett1024 The revert had been accidentally reverted. I reverted that.

bhackett1024 commented 3 years ago

Thanks! This works for me now.