@Unitech Is there any plan to support unix sockets for security but also expose some sort of remote monitoring facility?
What are you meaning by this?
Can you link the code of pm2-web that does monitoring remotely?
it uses pm2-interface to connect to pm2
before the unix socket thing, you could set $PM2_BIND_ADDR to 0.0.0.0 on the host you are running pm2
then any host could connect to it's rpc and event sockets over tcp
since now the sockets are files and not tcp ports, this doesn't work any more
this, i think is a good thing
but still, some sort of authenticated way of connecting to the rpc and event bus of a remote pm2 instance would be useful
it was what this was originally about: Unitech/pm2-interface#10
If you want to go back to TCP connections just comment the last 3 lines in constants.js file (DAEMON_RPC_PORT, DAEMON_PUB_PORT, INTERACTOR_RPC_PORT)
is working as a temporary solution?
should do, but it invalidates all of the security work you guys have been doing
I think, there should be a way of talking with pm2 as pm2-interface does over the network
I'll think about this ;)
let me know if i can help at all
I think that it works with axon over the socket and have a secured bridge to the tcp
@gladsonrobinson Hi On running pm2 on server am getting buffer error. buffer.js:269 13:38:10 throw err; 13:38:10 ^ 13:38:10 RangeError [ERR_INVALID_OPT_VALUE]: The value "2147483648" is invalid for option "size" 13:38:10 at Function.alloc (buffer.js:278:3) 13:38:10 at new Buffer (buffer.js:180:19) ERR_INVALID_OPT_VALUE any on got any info on it