# WebRTC preview not working

**URL:** <https://community.wowza.com/t/webrtc-preview-not-working/51966>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [September 19, 2018, 3:03pm UTC](https://community.wowza.com/t/webrtc-preview-not-working/51966 "2018-09-19T15:03:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanshika\_Madan](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@Vanshika\_Madan](https://community.wowza.com/u/Vanshika_Madan)\
**Post date:** [September 19, 2018, 3:03pm UTC](https://community.wowza.com/t/webrtc-preview-not-working/51966/1 "2018-09-19T15:03:07Z")

</div>

While using html publish examples for publishing stream to Wowza Streaming Engine, got an error.

webrtc.js:171 WebSocket connection to ‘wss://5b967f7bee6c0.streamlock.net/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_CONNECTION\_TIMED\_OUTwsConnect @ webrtc.js:171 webrtc.js:260 wsConnection.onerror: {“isTrusted”:true} webrtc.js:314 stopPublisher webrtc.js:255 wsConnection.onclose
