# Discourse embed in Ghost blocked on "Loading Discussion..."

**URL:** https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156
**Category:** Support
**Created:** [2016年四月25日 06:10 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156 "2016-04-25T06:10:46Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![hangvar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hangvar/32/121820_2.png) [@hangvar](https://meta.discourse.org/u/hangvar)
#### Post date: [2016年四月25日 06:10 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/1 "2016-04-25T06:10:46Z")

</div>

Hi,

I’ve setup my Discourse instance and my Ghost on the same server in Docker containers, using nginx to route to the different containers. But when trying to show the Ghost welcome page it gets stuck on “Loading Discussion…”.

I’ve configured embedding for blog.hyzerflip.rip and my code looks like this:

I can’t find anything in the Discourse logs.

---

<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年四月25日 09:05 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/2 "2016-04-25T09:05:56Z")

</div>

Is there anything in the browser JavaScript console?

---

<div class="post-metadata">

### Author: ![hangvar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hangvar/32/121820_2.png) [@hangvar](https://meta.discourse.org/u/hangvar)
#### Post date: [2016年四月28日 06:30 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/3 "2016-04-28T06:30:57Z")

</div>

Good idea! I get these two suspicious responses:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/3/033b4ec065ddeb1d3058877538b855cdb5094386.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/8/0/806c1041e22a5a4edd401be79b72a4bab5296d0c.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年四月28日 06:40 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/4 "2016-04-28T06:40:54Z")

</div>

I meant errors not responses. As in, JavaScript errors.

---

<div class="post-metadata">

### Author: ![hangvar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hangvar/32/121820_2.png) [@hangvar](https://meta.discourse.org/u/hangvar)
#### Post date: [2016年四月28日 14:10 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/5 "2016-04-28T14:10:12Z")

</div>

Please excuse my ignorance. Here is a new attempt with JavaScript errors:

Failed to load resource: the server responded with [http://blog.hyzerflip.rip/welcome-to-ghost/\<a%20href="http:/hyzerflip.rip/"\>http://hyzerflip.rip/\</a\>javascripts/embed.js/](http://blog.hyzerflip.rip/welcome-to-ghost/%3Ca%20href=%22http:/hyzerflip.rip/%22%3Ehttp://hyzerflip.rip/%3C/a%3Ejavascripts/embed.js/) a status of 404 (Not Found)

Refused to display ‘[http://hyzerflip.rip/embed/comments?embed\_url=http%3A%2F%2Fblog.hyzerflip.rip\<%25%3D%20current\_page.url%20%25\>](http://hyzerflip.rip/embed/comments?embed_url=http%3A%2F%2Fblog.hyzerflip.rip%3C%25%3D%20current_page.url%20%25%3E)’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.

---

<div class="post-metadata">

### Author: ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)
#### Post date: [2016年六月18日 16:08 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/6 "2016-06-18T16:08:23Z")

</div>

Hello even as of date i too am getting the same error.

 ![](https://global.discourse-cdn.com/meta/original/4X/4/5/9/45963c3893f8a790b76a333079eb9e4b4faf5e0a.jpeg)

---

<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年六月19日 23:42 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/7 "2016-06-19T23:42:27Z")

</div>

is there anything in the `/logs`

---

<div class="post-metadata">

### Author: ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)
#### Post date: [2016年六月20日 15:36 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/8 "2016-06-20T15:36:10Z")

</div>

```
Message (634 copies reported)

Job exception: redirection forbidden: http://blog.discuss.moe/thoughts-on-kabaneri-of-the-iron-fortress/ -> https://blog.discuss.moe/thoughts-on-kabaneri-of-the-iron-fortress/
Backtrace

/usr/local/lib/ruby/2.3.0/open-uri.rb:225:in `open_loop'
/usr/local/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri'
/var/www/discourse/lib/freedom_patches/open_uri_redirections.rb:70:in `open_uri'
/usr/local/lib/ruby/2.3.0/open-uri.rb:717:in `open'
/usr/local/lib/ruby/2.3.0/open-uri.rb:35:in `open'
/var/www/discourse/app/models/topic_embed.rb:79:in `find_remote'
/var/www/discourse/app/models/topic_embed.rb:116:in `import_remote'
/var/www/discourse/lib/topic_retriever.rb:56:in `fetch_http'
/var/www/discourse/lib/topic_retriever.rb:43:in `perform_retrieve'
/var/www/discourse/lib/topic_retriever.rb:10:in `retrieve'
/var/www/discourse/app/jobs/regular/retrieve_topic.rb:16:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'
Env

hostname	animeforums-app
process_id	[26401, 19253, 11990, 1694, 175, 23165, 887]
application_version	[cdfe2b814453d24f4d7c98454aac1cdf0c2f61f3, efafdd252ef9df4aedfe2979e9509cfcecaced30, d374913547ad287385edbfee85a05e4f683dc3ab, 605a30254693ea59f42e6c241ee22febb61f7d2d, d7bc8ec752a220128932ef43314ffc237bd6c016, 96c07985b335b64e6fddaf8e9af2ed6feaf24a5d]
current_db	default
current_hostname	discuss.moe
job	Jobs::RetrieveTopic
problem_db	default
opts	null
user_id	[3, 1, 45, 44]
embed_url	http://blog.discuss.moe/thoughts-on-kabaneri-of-the-iron-fortress/
referer	[https://blog.discuss.moe/, https://blog.discuss.moe]
current_site_id	default

```

The error i am getting as of now.

---

<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年六月21日 00:34 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/9 "2016-06-21T00:34:57Z")

</div>

Why are you embedding a redirect as the URL for the source?

---

<div class="post-metadata">

### Author: ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)
#### Post date: [2016年六月21日 05:24 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/10 "2016-06-21T05:24:28Z")

</div>

Thanks for pointing out. I had the domain set to http, even after I added a new certificate. Solved.

---

<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年六月21日 06:02 UTC](https://meta.discourse.org/t/discourse-embed-in-ghost-blocked-on-loading-discussion/43156/11 "2016-06-21T06:02:03Z")

</div>


