You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Having trouble setting up a server that will allow me to visit webpages in phantom to do some tests on them (verify pixel calls are being made etc.).
Everything works as expected as long as I don't try to use node-cluster. I can make multiple requests to the endpoint and the processes never error out. But the moment I add clustering, the first request works just fine, but the second request always errors out and kills the script on page.create() and I get the following error in the node console:
assert.js:86
throw new assert.AssertionError({
^
AssertionError: false == true
at RoundRobinHandle.add (cluster.js:140:3)
at queryServer (cluster.js:480:12)
at Worker.onmessage (cluster.js:438:7)
at ChildProcess.<anonymous> (cluster.js:692:8)
at ChildProcess.emit (events.js:129:20)
at handleMessage (child_process.js:324:10)
at Pipe.channel.onread (child_process.js:352:11)
I'm rather new at this clustering stuff so I'm sure I'm doing something wrong.
Here's some code similar to what I'm trying to accomplish:
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Having trouble setting up a server that will allow me to visit webpages in phantom to do some tests on them (verify pixel calls are being made etc.).
Everything works as expected as long as I don't try to use node-cluster. I can make multiple requests to the endpoint and the processes never error out. But the moment I add clustering, the first request works just fine, but the second request always errors out and kills the script on page.create() and I get the following error in the node console:
I'm rather new at this clustering stuff so I'm sure I'm doing something wrong.
Here's some code similar to what I'm trying to accomplish:
The text was updated successfully, but these errors were encountered: