# Some onebox don't work but pass the iframely test

**URL:** https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707
**Category:** Support
**Created:** [Janvier 13, 2017, 3:35 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707 "2017-01-13T15:35:27Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 13, 2017, 3:35 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/1 "2017-01-13T15:35:27Z")

</div>

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](http://www.jeuxvideo.com/news/594491/nintendo-switch-zelda-breath-of-the-wild-presente-ses-editions-collectors.htm)

  

- This one lacks the og:description tag but it worked before and I think it should work :  
[Négo : Sanson d'accord avec l'OM ! | OM Actu foot par le Phocéen](http://www.lephoceen.fr/infos-om/mercato/nego-sanson-d-accord-avec-l-om-151895)

Do we have to create an [onebox engine](https://github.com/discourse/onebox/tree/master/lib/onebox/engine) for these type of websites ?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [Janvier 13, 2017, 3:38 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/2 "2017-01-13T15:38:57Z")

</div>

> [@Steven](#):
>
> 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) :

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

> [@Steven](#):
>
> This one lacks the og:description tag but it worked before and I think it should work : [Négo : Sanson d'accord avec l'OM ! | OM Actu foot par le Phocéen](http://www.lephoceen.fr/infos-om/mercato/nego-sanson-d-accord-avec-l-om-151895)

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

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 13, 2017, 3:58 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/3 "2017-01-13T15:58:06Z")

</div>

> [@zogstrip](#):
>
> 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

> [@zogstrip](#):
>
> If it works here, then the issue is in your other 2 forums.

I tried to post a new link (aka not cached) on [safe mode](https://meta.discourse.org/t/53504?silent=true) 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)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Janvier 13, 2017, 7:56 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/4 "2017-01-13T19:56:34Z")

</div>

Are you sure you are on latest code?

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 13, 2017, 8:16 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/5 "2017-01-13T20:16:16Z")

</div>

Very recent one, Iupdated last night, when it was on [this commit](https://github.com/discourse/discourse/commit/499a83270a834234117890cb5bb8728281148a91)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 26, 2017, 5:26 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/6 "2017-01-26T17:26:29Z")

</div>

Sorry to repost here, I have a very weird question 😅

I tried the _[jeuxvideo.com](http://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](http://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)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Janvier 26, 2017, 5:35 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/7 "2017-01-26T17:35:06Z")

</div>

> [@Steven](#):
>
> 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](http://jeuxvideo.com) website too “quickly” ?)

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

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 26, 2017, 7:31 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/8 "2017-01-26T19:31:54Z")

</div>

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

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Janvier 26, 2017, 7:37 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/9 "2017-01-26T19:37:38Z")

</div>

Try a:

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

```

please.

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 26, 2017, 7:38 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/10 "2017-01-26T19:38:41Z")

</div>

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:~#

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Janvier 26, 2017, 7:42 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/11 "2017-01-26T19:42:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [Janvier 26, 2017, 7:48 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/12 "2017-01-26T19:48:20Z")

</div>

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

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [Juin 8, 2024, 12:45 UTC](https://meta.discourse.org/t/some-onebox-dont-work-but-pass-the-iframely-test/55707/13 "2024-06-08T12:45:01Z")

</div>

Ce sujet a été automatiquement fermé après 2702 jours. Les nouvelles réponses ne sont plus autorisées.
