# Multiple cors origins on hosted discourse?

**URL:** https://meta.discourse.org/t/multiple-cors-origins-on-hosted-discourse/68172
**Category:** Support
**Created:** [August 16, 2017, 6:26pm UTC](https://meta.discourse.org/t/multiple-cors-origins-on-hosted-discourse/68172 "2017-08-16T18:26:59Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![kvz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kvz/32/120663_2.png) [@kvz](https://meta.discourse.org/u/kvz)
#### Post date: [August 17, 2017, 3:09pm UTC](https://meta.discourse.org/t/multiple-cors-origins-on-hosted-discourse/68172/4 "2017-08-17T15:09:05Z")

</div>

So, as far as I can tell, all requests are coming through correctly. Here are the ones from [discourse.org](http://discourse.org):

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

And these are from our [https://community.transloadit.com](https://community.transloadit.com) server:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/8/b863b8bd36d91073f8ac2e8f7bf83ab2d08d17be.png)

There are no errors in the console (that relate to discourse, or would stop javascript execution):

 ![](https://global.discourse-cdn.com/meta/original/3X/d/e/deacffb2c3cef2377c90b420d8b4dd80ee386ec0.png)

Yet I keep seeing that “Error Embedding” message when testing locally. From the server side, I have configured these four allowed embedding hosts:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/8/98bc4719870ca64b5820a2718f483f5ca7ba4f45.png)

.. as well as enabled these CORS origins:

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

which according to [these instructions](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963) are the common things that go wrong.

I’m sure I’m doing something silly but since there’s no error I’m unsure how to debug this further. Would you have clues?

---

_[View the full topic](https://meta.discourse.org/t/multiple-cors-origins-on-hosted-discourse/68172)._
