Skip to content

errors in browser console #2

@peacemakr

Description

@peacemakr

I slightly modified the server to use http

var server = http.createServer(app).listen(srvPort);

then, getting err in Chrome's console

xirsys.signal.js:238 WebSocket connection to 'wss://endpoint02.uswest.xirsys.com/ws/v2/....423rweq.....' failed: WebSocket opening handshake was cancelednext @ xirsys.signal.js:238
webrtc.html:294 error:  Event @ webrtc.html:294
http://192.168.1.x:8000/undefined Failed to load resource: the server responded with a status of 404 (Not Found)
webrtc.html:294 error:  undefined(anonymous function) @ webrtc.html:294
xirsys.signal.js:331 Uncaught TypeError: this.transport.send is not a function
    at constructor.send (http://192.168.1.x:8000/lib/xirsys.signal.js:331:28)
    at constructor.send (http://192.168.1.x:8000/lib/xirsys.signal.js:409:15)
    at HTMLFormElement.sendMessageEl.onsubmit (http://192.168.1.x:8000/webrtc.html:97:15)

Line numbers should be the same as in repo (didn't make any changes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions