Guys, I’ve been experimenting with AliExpress as an affiliate.
Recently their Oneboxes have started to fail on the site I use them for.
I dug into things and noticed it works on another Discourse server of mine. Both have identical versions of Discourse (2.4.0.beta11) and are running on VPS from Scaleway using Ubuntu.
However, I compare the the trips from the command prompt using curl, I notice there is an extra 302 redirect on the server that is failing, even though they apparently resolve to the same URL ultimately.
Could this be causing things to fail with the current Onebox code?
I’m using the following to bring back the jumps (it includes the URL):
curl -sLD - http://s.click.aliexpress.com/e/nzyWNlXw -o /dev/null -w '%{url_effective}'
Could there have been a recent change to Onebox that could have made it more sensitive to this?
I’m going to have to apologise if I’ve said anything naive because I’m not an expert in this specific domain!