Pm2 cluster mode fails with cookies error

Highlighted
Shopify Partner
28 1 5

Hi, I am using a react/node/koa application running on a server with an Nginx reverse proxy configuration. 

 

I am trying to use Pm2 cluster mode to utilize all the cores on the server but it seems to be getting caught in a loop trying to receive cookies for the user and then failing out with this error message.

 

Screen Shot 2020-05-20 at 2.49.48 PM.png

 

Ideally, I would want this to work locally as well for testing so I am looking for a solution that doesn't need Nginx to handle the load balancing. Has anyone had any experience with this?

 

Thanks in advance!

0 Likes