Hi,
first time poster, be gentle! :)
I have a problem related to a WebSocket server behind AWS ELB, that's
configured with TCP over SSL. The problem I'm experiencing is that I loose
the origin IP of the connection, which I need for my application. So, to
get the origin IP of the connection I need to enable Proxy Protocol Support
for my ELB instance, which directly breaks the handshake for the WebSocket
connections. I know that this issue can be solved by putting a nginx
instance between the ELB and the WebSocket server, but I'm wondering if
there is any other way? I would love to fix this with my current stack
without adding another layer to it.
The module I've found (node-proxywrap) seems to not be maintained anymore
and consist one critical issue related to a memory leak, therefore that one
is not an option.
Anyone having any suggestions? I thought of piping the TCP connection in
the http.on('connection' ...) event, but found quickly that the connection
don't emit any events.
Cheers,
Fredrik Slättman
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/494886dc-1e3d-4b0d-81b8-3a9904fd43be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.