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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I am trying to make an application that scales over multiple CPU's using PM2 and Scales over multiple servers using the redis-streams-adapter.
Whenever I try to start the app in cluster mode I get the following error in PM2 logs:
![Screenshot 2023-11-07 at 16 28 36](https://private-user-images.githubusercontent.com/55439573/281093032-48824902-38e2-412d-9356-4914c60b469c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDMyODksIm5iZiI6MTcxOTEwMjk4OSwicGF0aCI6Ii81NTQzOTU3My8yODEwOTMwMzItNDg4MjQ5MDItMzhlMi00MTJkLTkzNTYtNDkxNGM2MGI0NjljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDAwMzYyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzYjlhMjM0OTE4OGRlM2I2MTY3MTAzMzg5ODMzZjQ5NDFhNzM2ZjQ2Yjk3MTQwODQwNWZiOGJlZjk3ZjE4MDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sOUn7X2g37NfzLo_Gc3uPRLTXPFVUlXhkhLoPSVvIVY)
The code looks as follows (index.js):
And my PM2 config file (ecosystem.config.js):
The error just happens as soon as I start the process with pm2 start...
Beta Was this translation helpful? Give feedback.
All reactions