# Making discourseEmbedURL match expected topic requirements

**URL:** <https://meta.discourse.org/t/making-discourseembedurl-match-expected-topic-requirements/48660>\
**Category:** Product Support\
**Created:** [August 15, 2016, 4:59pm UTC](https://meta.discourse.org/t/making-discourseembedurl-match-expected-topic-requirements/48660 "2016-08-15T16:59:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jeff\_Doran](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jeff\_Doran](https://meta.discourse.org/u/Jeff_Doran)\
**Post date:** [August 16, 2016, 6:16pm UTC](https://meta.discourse.org/t/making-discourseembedurl-match-expected-topic-requirements/48660/4 "2016-08-16T18:16:09Z")

</div>

BTW, what exactly is http error code `443: Connection Refused` ?

This is what I get from trying to load embed.js from an https url:

> $curl [https://citadel-discussion.lexmachina.com/javascripts/embed.js](https://citadel-discussion.lexmachina.com/javascripts/embed.js)

Whereas a non-https connection loads embed.js just fine, but then conflicts with the https connection to the html page. I’m not sure how you’d get a successful https connection to a DNS alias since whatever cert you have for ‘[lexmachina.bydiscourse.com](http://lexmachina.bydiscourse.com)’ would not include ‘citadel-discussion.lexmachina’

---

_[View the full topic](https://meta.discourse.org/t/making-discourseembedurl-match-expected-topic-requirements/48660)._
