# Can't setup Wowza WebRTC locally

**URL:** https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681
**Category:** Wowza Streaming Engine
**Created:** [May 8, 2017, 3:38am UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681 "2017-05-08T03:38:47Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Lionel\_Martin1](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Lionel\_Martin1](https://community.wowza.com/u/Lionel_Martin1)
#### Post date: [May 8, 2017, 3:38am UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/1 "2017-05-08T03:38:47Z")

</div>

Dear Wowza,

I’ve followed all instructions in the README.html of the WebRTC zip package.  
I’m using a Wowza free trial license with the WebRTC preview.

I can access the self-hosted examples pages at:

[https://localhost:9443/webrtc/publish/index.html](https://localhost:9443/webrtc/publish/index.html)

I have a webrtc application which I can push a RTMP stream onto from Wirecast, but I can’t publish/play a WebRTC stream.

If I try to publish a WebRTC stream instead, from the Publish example, I receive the following error:  
WebSocket connection to ‘wss://192.168.0.9:9443/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_INSECURE\_RESPONSE  
It is unclear where the webrtc-session.json file should be, it is nowhere in my Wowza installation folder.

There is nothing specific showing up in the logs when I do this.

Could you point me in the right direction?

---

<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 8, 2017, 12:02pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/2 "2017-05-08T12:02:07Z")

</div>

Hi @Lionel Martin

I think it’s because you’re connecting wss via an IP address, while the SSL verification requires you to use the same domain name as in the certificate. Also keep in mind that self-generated SSL certificates don’t work with the WebRTC preview.

If you want, you can join the Wowza Slack community via [https://www.wowza.com/slack](https://www.wowza.com/slack), and discuss your problem with fellow-experts in the #webrtc channel.

---

<div class="post-metadata">

### Author: ![vigneshkumar\_Nainar](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@vigneshkumar\_Nainar](https://community.wowza.com/u/vigneshkumar_Nainar)
#### Post date: [July 8, 2017, 8:07am UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/3 "2017-07-08T08:07:57Z")

</div>

Hi Wowza

i have follow the steps in this link

[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)

but webrtc is not working for me. i configure openssl

---

<div class="post-metadata">

### Author: ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)
#### Post date: [July 19, 2017, 6:00pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/4 "2017-07-19T18:00:12Z")

</div>

Hello @Lionel Martin

You will need to request a StreamLock cert or request a SSL cert from a certificate authority.

Steps to request a StreamLock cert with a commercial license [LINK](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)

Steps on requesting a SSL cert from a certificate authority [LINK](https://www.wowza.com/docs/how-to-request-an-ssl-certificate-from-a-certificate-authority)

Your wsURL variable will look like this: wss://59823378449.streamlock.net/webrtc-session.json

or with a Self-Signed cert: wss://mydomain.com/webrtc-session.json

Regards,

JasonT

---

<div class="post-metadata">

### Author: ![Thu\_Kha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/thu_kha/32/1112_2.png) [@Thu\_Kha](https://community.wowza.com/u/Thu_Kha)
#### Post date: [December 21, 2017, 9:47am UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/5 "2017-12-21T09:47:43Z")

</div>

No one response in Slack.

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 10:18pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/6 "2018-12-13T22:18:53Z")

</div>

Hi I have same error (WebSocket connection failed: wss://5c0ac8d018f42.streamlock.net/webrtc-session.json) I have StreamLock certifcate but not using https its on http.

---

<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: [December 13, 2018, 10:32pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/7 "2018-12-13T22:32:10Z")

</div>

Have you followed this updated doc @navjot babrah and the sections highlighted in light orange? Those are very important to do. Let me know please and we can continue to investigate?

[https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider)

Also, what version of Streaming Engine are you using? It must be 4.7.7

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 10:34pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/8 "2018-12-13T22:34:22Z")

</div>

yes it’s 4.7. But I hosted my web app on http and streaming engine is also on same pc I do not think so that can be issue.

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 10:37pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/9 "2018-12-13T22:37:45Z")

</div>

Please let me know what is issue I also add configuration in Vhost and Application.xml. and Can you please let me know which documentation you mentioned.

Is there any solution for this error specifically (WebSocket connection failed: wss://5c0ac8d018f42.streamlock.net/webrtc-session.json)

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 10:49pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/10 "2018-12-13T22:49:47Z")

</div>

yes it’s 4.7. But I hosted my web app on http and streaming engine is also on same pc I do not think so that can be issue.

---

<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: [December 13, 2018, 11:29pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/11 "2018-12-13T23:29:13Z")

</div>

I apologize @navjot babrah, here is is that doc:

[https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider)

If this still does not help, then let’s get you setup with an engineer right away through a support ticket to run tests on your config. This is only way to determine the cause through a support ticket for testing and examination of your application.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 11:40pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/12 "2018-12-13T23:40:00Z")

</div>

Hi Rose I already configure this and I read this documentaion more than 10 times but did not start streaming I had created support ticket. i suggest to wowza community please have clean and simple documentation everything in todays world getting easy to integrate. But this wowza with webrtc is really painful job.

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 13, 2018, 11:40pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/13 "2018-12-13T23:40:43Z")

</div>

Hi Rose I already configure this and I read this documentaion more than 10 times but did not start streaming I had created support ticket. i suggest to wowza community please have clean and simple documentation everything in todays world getting easy to integrate. But this wowza with webrtc is really painful job.

---

<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: [December 14, 2018, 4:22pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/14 "2018-12-14T16:22:49Z")

</div>

Thanks for that feedback and we always appreciate suggestions on our docs. I will follow your support ticket progress to see what the issue was and am here if there is anything more I can do.

I’m curious what what browser you are using for WebRTC?

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 14, 2018, 4:26pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/15 "2018-12-14T16:26:27Z")

</div>

Google chrome. And safari.

---

<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: [December 14, 2018, 4:35pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/16 "2018-12-14T16:35:37Z")

</div>

Ok I let the engineer assigned to your ticket know I am following the progress and he has reached out to you for some more log files he needs to test. Sorry for your frustration and am eager to get this resolved for you.

---

<div class="post-metadata">

### Author: ![navjot\_babrah](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@navjot\_babrah](https://community.wowza.com/u/navjot_babrah)
#### Post date: [December 14, 2018, 4:37pm UTC](https://community.wowza.com/t/cant-setup-wowza-webrtc-locally/48681/17 "2018-12-14T16:37:21Z")

</div>

Please Rose thanks I will really appreciate. I am running out of deadlines I need to fix this soon as possible.
