Replies: 2 comments
-
Same issue here regarding constant master process change. @rennokki any idea what can be the potential issue here ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Strange no response for solution from 2 years. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought I'd make this a discussion rather than adding to my existing issue about soketi-pm2 not reading in command line arguments.
soketi-pm2 processes fight for master position endlessly
When I run soketi-pm2 under pm2 using
-i max
or-i 2
(or 3, 4, etc.) it appears all the processes fight for which one should be master and never stop.I'm using the following environment variables on them:
And running the following command:
Which creates the following output:
And then I see the following endlessly repeated in my log files:
Logs
Is there some additional setting I've not correctly configured here?
soketi-pm2 not broadcasting events
So when running soketi standalone as a standalone process invoked with
soketi start
I can see the HTTP payload coming in and then the broadcast even coming into my browser and also displaying in soketi's logs.I'm using the same setup as the previous issue by for standard soketi I'm using the
local
drivers rather than thecluster
ones so I omitted theADAPTER_DRIVER=cluster
andRATE_LIMITER_DRIVER=cluster
environment variables.However, using the same config for soketi-pm2 under pm2 (same setup as the previous issue) the broadcast messages never appear to be sent out or received by the browser.
Checking the logs I can see the HTTP request and event data coming in, but no message of it being broadcast back and checking my HTTP console I see no request come back.
Despite this, I can see the initial connection and socket ID getting set and returned, as well as joining all requested channels and the pusher:ping and pusher:pong events firing.
Beta Was this translation helpful? Give feedback.
All reactions