# Publish failed. Unable to connect

**URL:** <https://community.wowza.com/t/publish-failed-unable-to-connect/94397>\
**Category:** Wowza Developer Dojo\
**Tags:** webrtc\
**Created:** [December 30, 2021, 8:45am UTC](https://community.wowza.com/t/publish-failed-unable-to-connect/94397 "2021-12-30T08:45:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bui\_The\_Vuong](https://avatars.discourse-cdn.com/v4/letter/b/b4bc9f/32.png) [@Bui\_The\_Vuong](https://community.wowza.com/u/Bui_The_Vuong)\
**Post date:** [December 30, 2021, 8:45am UTC](https://community.wowza.com/t/publish-failed-unable-to-connect/94397/1 "2021-12-30T08:45:44Z")

</div>

i can’t create webrtc stream, i get the message:

1. Websocket connection failed: wgs://\*\*\ ***06133** [2.streamlock.net/webrtc-session.json](http://2.streamlock.net/webrtc-session.json)
2. Publish failed. Unable to connect.  
please tell me where i am wrong, i am new to wowza

I refer to it at:

[![](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/e4353d86934d2ccd100ac7a640a63add76081f73.jpeg "Using WebRTC with Wowza Streaming Engine") ](https://www.youtube.com/watch?v=fIT9fRSbZmQ)
