feathersjs-ecosystem / socketio

[MOVED] The Feathers Socket.io websocket transport plugin
https://github.com/feathersjs/feathers
MIT License
37 stars 14 forks source link

Remote address IP is always undefined #96

Closed jamesholcomb closed 7 years ago

jamesholcomb commented 7 years ago

Using this approach: https://github.com/feathersjs/primus/issues/46

Issue: https://github.com/socketio/socket.io/issues/2982

Upgrading to 2.0.4 claims to fix this.

Temp work around is to use socket.conn.transport.socket._socket.remoteAddress

jamesholcomb commented 7 years ago

Ah feathers-socketio@3.0.0 received the update.