Some onebox don't work but pass the iframely test

Hi Discourse Team !

I a have a little issue on my forum, we use some websites quite often but the onebox don’t work since a few weeks.

  • One pass all the tests on iframely (and it’s weird but it works fine here, not on two up-to-date forums that I tried - and the domaine is not on the blacklist urls) :

Do we have to create an onebox engine for these type of websites ?

If it works here, then the issue is in your other 2 forums.

I don’t see the point of oneboxing when there’s only the title…


It looks better than a basic link even without description. But I get it. No problem

I tried to post a new link (aka not cached) on safe mode and it didn’t work either. Do you know what could cause an incompatibility like that ? My install is pretty clean (Ubuntu 16.04 with Docker)

Are you sure you are on latest code?

Very recent one, Iupdated last night, when it was on this commit

Sorry to repost here, I have a very weird question :sweat_smile:

I tried the onebox on a lot of Discourse forums that I use, it doesn’t work on three of them. Two forums have 5-6 plugins and a lot of CSS/HTML customization, one have 0 plugin and customization. They all are hosted on OVH (France). The hosting service is the only common element.

I can’t figure out a logical reason to it, but could it be related to the hosting service ? (maybe these servers ping the website too “quickly” ?)

If not, I think we can close this thread, maybe it will come back

(I tried a rebuild on my forum last night without any plugin, and the issue was still on, so I can dismiss a compatibility issue with my plugins)

Try to curl that URL from your server and see the response.

1 Like

Have I used it correctly ?

root@*********:~# curl
curl: (52) Empty reply from server
root@*********:~# curl
curl: (52) Empty reply from server
root@*********:~# curl
curl: (52) Empty reply from server

Try a:

curl -vv


1 Like

Here is what i’ve got :

root@******:~# curl -vv
*   Trying
* Connected to ( port 80 (#0)
> GET /news/599770/nintendo-switch-le-prix-tombe-en-dessous-des-300-a-la-fnac.htm HTTP/1.1
> Host:
> User-Agent: curl/7.47.0
> Accept: */*
* Empty reply from server
* Connection #0 to host left intact
curl: (52) Empty reply from server

Looks like OVH IPs (at least the ones you mentioned) have been banned from jeuxvideo.


Thanks, that’s weird but at least I know why it doesn’t work !