Webrtc will not load

I am running FreePBX 13.0.27 debian 8 installed the webrtc module and allowed under user manager however when i login using chrome to UCP no webrtc is loaded any ideas why ??

Did you open the right ports?

Auto Loading CdrC jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1373
Auto Loading ContactmanagerC jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1373
Auto Loading HomeC jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1373
Auto Loading VoicemailC jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1373
Auto Loading WebrtcC jquery-1.11.3.min.js:5
POST http://x.x.x.x/ucp/index.php 500 (Internal Server Error)

no application is loaded in the browser

Logged into UCP i can select Originate call
Firefox displays this error
TypeError: UCP.Modules.Home.staticsettings is undefined jsphp_2ceefcfb8f6b07eca10a40a081e582d6.js:27:895

Uncaught TypeError: Cannot read property ‘extensions’ of undefined
(anonymous function) @ jsphp_2ceefcfb8f6b07eca10a40a081e582d6.js:27
m.event.dispatch @ jquery-1.11.3.min.js:4
r.handle @ jquery-1.11.3.min.js:4

You’ve got a major error right there. I suggest figuring out what the error is then posting it here. You can do that through chrome itself.

POST http://x.x.x.x/ucp/index.php 500 (Internal Server Error)
send @ jquery-1.11.3.min.js:5
m.extend.ajax @ jquery-1.11.3.min.js:5
m.(anonymous function) @ jquery-1.11.3.min.js:5
Class.extend.setupDashboard @ jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1363
Class.extend.ready @ jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1360
(anonymous function) @ jsphpg_3371a1fbdd2c213b909de3d9de58255a.js:1400
j @ jquery-1.11.3.min.js:2
k.fireWith @ jquery-1.11.3.min.js:2
m.extend.ready @ jquery-1.11.3.min.js:2
J @ jquery-1.11.3.min.js:2

Sorry that is not helpful. The 500 error is coming from PHP not javascript.


see link

latest version of webrtc installed i can see the module.
when i place a call i get this error
getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS.
When i enabled HTTPS
Mixed Content: The page at ‘https://x.x.x.x/ucp/’ was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint ‘ws://x.x.x.x:8088/ws’. This request has been blocked; this endpoint must be available over WSS.