# Error during WebSocket handshake: 'Sec-WebSocket-Origin' header is missing

**URL:** <https://community.wowza.com/t/error-during-websocket-handshake-sec-websocket-origin-header-is-missing/53189>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [April 18, 2019, 9:50pm UTC](https://community.wowza.com/t/error-during-websocket-handshake-sec-websocket-origin-header-is-missing/53189 "2019-04-18T21:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Castillo2](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@Guillermo\_Castillo2](https://community.wowza.com/u/Guillermo_Castillo2)\
**Post date:** [April 18, 2019, 9:50pm UTC](https://community.wowza.com/t/error-during-websocket-handshake-sec-websocket-origin-header-is-missing/53189/1 "2019-04-18T21:50:18Z")

</div>

I am trying to implement a webrtc, but when trying to connect to the socket I received this error.

Error during WebSocket handshake: ‘Sec-WebSocket-Origin’ header is missing

any ideas?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [April 19, 2019, 5:48pm UTC](https://community.wowza.com/t/error-during-websocket-handshake-sec-websocket-origin-header-is-missing/53189/2 "2019-04-19T17:48:38Z")

</div>

Can you share the header you are using @Guillermo Castillo? Tech support would like to see what you have that may be triggering that error. It may be a header we don’t support.

Also, please join our webRTC slack channel where there are almost 3000 developers discussing webRTC topics with Wowza engineers on a daily basis.

[https://www.wowza.com/slack](https://www.wowza.com/slack)
