# Error during WebSocket handshake: Unexpected response code: 200 | Webrtc

**URL:** https://community.wowza.com/t/error-during-websocket-handshake-unexpected-response-code-200-webrtc/55274
**Category:** Wowza Streaming Engine
**Tags:** security, webrtc
**Created:** [May 29, 2020, 10:06am UTC](https://community.wowza.com/t/error-during-websocket-handshake-unexpected-response-code-200-webrtc/55274 "2020-05-29T10:06:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![veer\_siniha](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@veer\_siniha](https://community.wowza.com/u/veer_siniha)
#### Post date: [May 29, 2020, 10:06am UTC](https://community.wowza.com/t/error-during-websocket-handshake-unexpected-response-code-200-webrtc/55274/1 "2020-05-29T10:06:37Z")

</div>

after configuring wowza server and updating all Vhost and app xml setting i am able to access webpages of webrtc, but i am performing any action like, Publish, Play, screenShare video chat getting it terminating request Getting error like below

**Error during WebSocket handshake: Unexpected response code: 200**

---

<div class="post-metadata">

### Author: ![veer\_siniha](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@veer\_siniha](https://community.wowza.com/u/veer_siniha)
#### Post date: [May 29, 2020, 11:10am UTC](https://community.wowza.com/t/error-during-websocket-handshake-unexpected-response-code-200-webrtc/55274/2 "2020-05-29T11:10:31Z")

</div>

ohk, i will, any advice for websocket handshake error

---

<div class="post-metadata">

### Author: ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)
#### Post date: [May 29, 2020, 10:37am UTC](https://community.wowza.com/t/error-during-websocket-handshake-unexpected-response-code-200-webrtc/55274/3 "2020-05-29T10:37:47Z")

</div>

My advice: Follow the instructions from [https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine) - be accurate and do not make changes to names etc. until it works (after that you can experiment)

Use the sample code that the article refers to ([https://github.com/WowzaMediaSystems/webrtc-examples/tree/master](https://github.com/WowzaMediaSystems/webrtc-examples/tree/master)), and I’d first test with Chrome. Remember that Chrome supports WebRTC over TCP, but many other browsers only support WebRTC over UDP, so I’d set it to UDP right away.
