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) :

http://www.jeuxvideo.com/news/594491/nintendo-switch-zelda-breath-of-the-wild-presente-ses-editions-collectors.htm


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…

2 Likes

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 jeuxvideo.com 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 jeuxvideo.com 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 jeuxvideo.com
curl: (52) Empty reply from server
root@*********:~# curl http://www.jeuxvideo.com
curl: (52) Empty reply from server
root@*********:~# curl http://www.jeuxvideo.com/news/599770/nintendo-switch-le-prix-tombe-en-dessous-des-300-a-la-fnac.htm
curl: (52) Empty reply from server
2 Likes

Try a:

curl -vv http://www.jeuxvideo.com/news/599770/nintendo-switch-le-prix-tombe-en-dessous-des-300-a-la-fnac.htm

please.

1 Like

Here is what i’ve got :

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

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

3 Likes

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