# X-Frame Origin Embed Error

**URL:** <https://meta.discourse.org/t/x-frame-origin-embed-error/35344>\
**Category:** Product Support\
**Created:** [November 7, 2015, 8:51pm UTC](https://meta.discourse.org/t/x-frame-origin-embed-error/35344 "2015-11-07T20:51:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dubeydeepak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dubeydeepak/32/70085_2.png) [@dubeydeepak](https://meta.discourse.org/u/dubeydeepak)\
**Post date:** [March 31, 2017, 5:47am UTC](https://meta.discourse.org/t/x-frame-origin-embed-error/35344/6 "2017-03-31T05:47:13Z")

</div>

Hi I Tried multiple option by adding into app.yml. But its not working. Still throwing error "

**Refused to display ‘[http://162.188.21.09:8080/](http://162.188.21.09:8080/)’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.**  
"

Actually I’m trying to render ‘[http://162.188.21.09:8080/](http://162.188.21.09:8080/)’ in iframe local host.

**env:**  
\*\* DISCOURSE\_DB\_PASSWORD: ‘discourse’\*\*  
\*\* DISCOURSE\_ENABLE\_CORS: true\*\*  
\*\* DISCOURSE\_CORS\_ORIGIN: [http://162.188.21.09:8080/](http://162.188.21.09:8080/)'\*\*

How to fix it.?

---

_[View the full topic](https://meta.discourse.org/t/x-frame-origin-embed-error/35344)._
