Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 14 20:57
    coveralls commented #65
  • Aug 14 20:56
    k3v1nb0t synchronize #65
  • Aug 14 20:55
    coveralls commented #65
  • Aug 14 20:53
    k3v1nb0t synchronize #65
  • Aug 14 20:48
    coveralls commented #65
  • Aug 14 20:46
    k3v1nb0t synchronize #65
  • Aug 14 16:21
    k3v1nb0t opened #65
  • Aug 14 16:18
    k3v1nb0t commented #60
  • Aug 14 16:09
    k3v1nb0t commented #60
  • Jul 29 07:07
    lvreninfo commented #64
  • Jul 29 07:05
    lvreninfo opened #64
  • Jun 16 05:23
    jfbvm commented #43
  • Apr 26 06:38
    yuhongshuai commented #53
  • Dec 10 2018 02:59
    luffyZh commented #63
  • Dec 10 2018 02:58
    luffyZh closed #63
  • Dec 10 2018 02:56
    luffyZh opened #63
  • Oct 04 2018 18:32
    coveralls commented #62
  • Oct 04 2018 18:28
    jenguidanos opened #62
  • Apr 22 2018 11:52
    vuthaihoc commented #58
  • Apr 22 2018 11:52
    vuthaihoc commented #58
Antoine Bluchet
@soyuka
hi

@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?
Alex Potsides
@achingbrain
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
Antoine Bluchet
@soyuka

ok but,

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?

Alex Potsides
@achingbrain
should do, but it invalidates all of the security work you guys have been doing
Antoine Bluchet
@soyuka
I think, there should be a way of talking with pm2 as pm2-interface does over the network
I'll think about this ;)
Alex Potsides
@achingbrain
ok
let me know if i can help at all
Antoine Bluchet
@soyuka
I think that it works with axon over the socket and have a secured bridge to the tcp
amey
@procyborg
hi
Gladson Robinson
@gladsonrobinson
@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