hapijs / nes

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

WSS integration #302

Closed andrevenancio closed 4 years ago

andrevenancio commented 4 years ago

Hi Nes team.

I know this is probably not a great place to poke around for "how to" code, but I've been spending a few day blocked over this, and I wonder what am I missing.

I've created a little hapi plugin of my own, that (like nes) uses the ws module.

it works fine over http / ws protocols, but it fails over https / wss protocols.

I don't think this is related with the server, because I've tested my solution, and @hapi/nes and nes seems to pull it off in the same exact server. So its down to me doing something silly.

The simplest thing I have is a 3 file setup:

https://github.com/websockets/ws/issues/1627

Can I get a little push in the right direction? Thanks

hueniverse commented 4 years ago

You are better off asking these kind of questions on the slack channel. See hapi.dev/support for a link.