# Onebox is inconsistent with admin white-listed links

**URL:** <https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170>\
**Category:** Support\
**Created:** [2016年七月12日 15:53 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170 "2016-07-12T15:53:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonwhat](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jasonwhat](https://meta.discourse.org/u/jasonwhat)\
**Post date:** [2016年七月12日 15:53 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/1 "2016-07-12T15:53:49Z")

</div>

I’ve noticed that Onebox seems to behave a bit randomly with links to sites I have added to the whitelist. In fact, my own site had to be added to the list before it worked internally with Oneboxing.

Here’s example:

1. I grab a link from a Medium post and drop it in its own line. Nothing happens.
2. User error! I realize the user has a custom URL [blog.somesite.com](http://blog.somesite.com).
3. I add both [blog.somesite.com](http://blog.somesite.com) and [somesite.com](http://somesite.com) to Onebox.
4. I go back to post and drop in the original blog link. Nothing happens, including no “spinning” that indicates it is thinking or searching for link.
5. I also drop in a link from the [somesite.com](http://somesite.com) website. Nothing happens.
6. I put in a link from Twitter and it works as exepected.
7. I post.
8. I try “Rebuild Html” to see if that does anything with the links. It doesn’t.

Any suggestions for fixes. Is there a way to get Onebox to re-index links or see errors?

I know Onebox is a separate project and I certainly understand the benefit to not using a service with pricing tiers like Embedly. However, **I’d prefer to have all urls white-listed and admin let me block links instead of the other way around.**

My instance is mostly private and all trusted users, so there is no fear of malicious links. This isn’t the case for all sites of course.

---

<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:** [2016年七月12日 15:58 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/2 "2016-07-12T15:58:29Z")

</div>

> [@jasonwhat](#):
>
> I’d prefer to have all urls white-listed and admin let me block links instead of the other way around.

This is listed to version 1.7 on the #releases.

---

<div class="post-metadata">

**Author:** ![jasonwhat](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jasonwhat](https://meta.discourse.org/u/jasonwhat)\
**Post date:** [2016年七月12日 16:12 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/3 "2016-07-12T16:12:32Z")

</div>

Oh, yes. I see that now. Good to know!

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2016年七月12日 16:38 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/4 "2016-07-12T16:38:03Z")

</div>

> [@jasonwhat](#):
>
> Is there a way to get Onebox to re-index links

Yes – wait some time, I think 24 hours. Oneboxing results are cached for this time.  
If you just want to test the new settings, appending a query string forces a re-check.

---

<div class="post-metadata">

**Author:** ![jasonwhat](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jasonwhat](https://meta.discourse.org/u/jasonwhat)\
**Post date:** [2016年七月12日 17:52 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/5 "2016-07-12T17:52:43Z")

</div>

> [@fefrei](#):
>
> appending a query string forces a re-check.

Thanks for the tip. I tried the query string method and it didn’t appear to check. Although, the only visual cue I have is when there is the little spinning placeholder-thingy (a technical term) that shows me Onebox is thinking. It wasn’t thinking.

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2016年七月12日 18:06 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/6 "2016-07-12T18:06:15Z")

</div>

> [@jasonwhat](#):
>
> the only visual cue I have is when there is the little spinning placeholder-thingy (a technical term)

I always call these “spinners”, but “little spinning placeholder-thingy” is probably the official terminology 😉

> [@jasonwhat](#):
>
> It wasn’t thinking.

Hm, strange. I just tested this again and it works. You simply appended something like `?1337` to the URL, right?

---

<div class="post-metadata">

**Author:** ![jasonwhat](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jasonwhat](https://meta.discourse.org/u/jasonwhat)\
**Post date:** [2016年七月12日 18:14 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/7 "2016-07-12T18:14:35Z")

</div>

Well, chalk that up to User Error. I was using an old base url for one link. The other I checked in Iframely and it didn’t have a card show up. So working now with the source trick. Thanks!

---

<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:** [2016年十一月8日 00:01 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/8 "2016-11-08T00:01:38Z")

</div>

“Onebox all the things” is released in the current 1.7 version.

---

<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:** [2016年十一月8日 00:01 UTC](https://meta.discourse.org/t/onebox-is-inconsistent-with-admin-white-listed-links/47170/9 "2016-11-08T00:01:40Z")

</div>


