Trying to Embed in Website for Commenting - "Refused to Connect"

Hi all, hopefully, someone can point me in the right direction. I am trying to use discourse for commenting on my website and I followed the guides in Discourse, and what I found in the forum. It look to me as I did it all right, but I cannot get it working.

Here is how I have the config in discourse:

Allowed Hosts: dev.culturediscovery.com
Class Name: comments
Path Whitelist: /.*
Post to Category: Discussions from our website

In Embedding settings, I have the user set to cdvwebsite and Max posts to embed to 100
Note that cdvwbsite has privs and Discussions from our website is a valid category with permissions that allow everyone to post, read, etc.

The Source on my Page is:

<div id='discourse-comments'></div>
<script type="text/javascript">
  DiscourseEmbed = { discourseUrl: 'https://forum.culturediscovery.com/',
  discourseEmbedUrl: 'https://dev.culturediscovery.com/questions_and_answers/article.cfm?article=avoid-paying-single-supplement' };
  (function() {
  var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
  d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
  })();
</script>

The URL in the I am accessing is:

https://dev.culturediscovery.com/questions_and_answers/article.cfm?article=avoid-paying-single-supplement

And here is the error I am seeing on the page:

Soooo… anyone know what idiotic mistake I am making? Any help would be soooo appreciated!

Thanks in advance :slight_smile:

You can’t embed if you have login required enabled.

3 Likes