hapijs / nes

WebSocket adapter plugin for hapi routes
Other
502 stars 87 forks source link

Using WebSocket on edge throws syntaxError exception #272

Closed NNSTH closed 5 years ago

NNSTH commented 5 years ago

I'm using hapi Nes to get the web socket, which works fine for me on all modern browsers, except edge. As I'm trying to debug, the issue seems to be at this line: new Client.WebSocket(this._url, this._settings.ws) (Client.js) which throws me a SyntaxError exception.

Any idea?

NNSTH commented 5 years ago

This issue is not related to Nes, it's a bug of Edge that does not know to connect to ws displayed as: "ws:" instead of "ws://<domain". the missing slashes were the problem

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.