Did onebox change? They're not showing for my main site any longer


(Lars) #1

These kind of links worked not very long ago:

Producing oneboxes like this:

But not any longer - I tried inputting them on:

But I couldn’t see what was wrong… Especially when I compared the output to Discourse’s own output…

Can someone point me in the right direction?


(Lars) #3

No insight on this? I still doesn’t work on my site (which used to work fine)…


(Robin Ward) #4

It’s only been 2 days. You have to give us a little while to get to things :slight_smile:


(Lars) #5

haha sorry, you’re right - it did prompt me to investigate further.

It looks like the onebox’er sends a HEAD request, which would explain it not working on my site, as I only support GET and POST. Doing a HEAD results in a 501 Not Implemented. When did this change?


(Robin Ward) #6

Ah, this is a recent change to improve security with redirects.

I’ve been meaning to make it so that if the HEAD request receives a 501 it tries a GET. I will add that to my list.


(Lars) #7

Excellent. Now I know why, and that the problem is in very capable hands. Now I just have to ask my users to be patient :slight_smile: Thanks! :smiley:


(Robin Ward) #8

It’s fixed now:

Was quite involved. The fix wasn’t as simple as to try HTTP GET, but it also involved supporting cookies on redirects which our more secure redirector did not do. Both are supported now.


Onebox /almost/ works normally again
Onebox no longer works for my wordpress site
Onebox no longer works for my wordpress site
(Robin Ward) #9