# Failure to onebox a local http page

**URL:** https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188
**Category:** Bug
**Created:** [2016 年 7 月 13 日午前 12:13 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188 "2016-07-13T00:13:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [2016 年 7 月 13 日午前 12:13 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/1 "2016-07-13T00:13:34Z")

</div>

I’m getting a 500 error when oneboxing a post in an http only discourse that requires a login, and has no plugins. I don’t have this issue in on my other Discourse, which are all https, but do require login.

I got this before I updated, then after a full update just now, I retried the onebox.

 ![](https://global.discourse-cdn.com/meta/original/3X/6/5/652bb792475912f5145ab2f1c8b908e8e49be818.png)

---

<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 年 7 月 13 日午前 12:18 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/2 "2016-07-13T00:18:49Z")

</div>

Oneboxing won’t work with login required anyway, since all oneboxes come through as anon user.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016 年 7 月 13 日午前 12:20 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/3 "2016-07-13T00:20:01Z")

</div>

I think we already had slotted improving this for next release.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [2016 年 7 月 13 日午前 5:51 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/4 "2016-07-13T05:51:48Z")

</div>

I was a bit confused after this thread, thinking this was supposed to work afterall: [When site is login required you can not onebox any local topics - #9 by Falco](https://meta.discourse.org/t/when-site-is-login-required-you-can-not-onebox-any-local-topics/46797/9)

Since I was getting a 500 error, not a 404, assumed it was a different issue.

---

<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: [2016 年 11 月 3 日午後 9:53 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/5 "2016-11-03T21:53:27Z")

</div>

Should definitely work now (except for private categories)

[https://github.com/discourse/discourse/commit/a655e4b09259fa5a908416b0add303d7c710ac1f](https://github.com/discourse/discourse/commit/a655e4b09259fa5a908416b0add303d7c710ac1f)

---

<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 年 11 月 4 日午後 10:00 UTC](https://meta.discourse.org/t/failure-to-onebox-a-local-http-page/47188/6 "2016-11-04T22:00:50Z")

</div>

This topic was automatically closed after 24 hours. New replies are no longer allowed.
