Share feedback, ideas and get community help

Updated 6 months ago

Having issue to run the api on cluster-mode on typebot

At a glance

The community member is experiencing an issue with starting their application in clustered mode using PM2. They are receiving an error when running the application in clustered mode, but it works fine in fork mode. The community member is unsure if the issue is with the viewer application or with Next.js. One of the other community members responded that they found another way to solve the problem, but did not provide details on the solution.

I followed some processes to start pm2 in clustered mode only for the viewer API, but I'm receiving the error on the uploaded image, it works fine if I change it to 'fork' mode.
It's an issue with the viewer application or it's an issue with next? If anyone could help me it would be great! Thanks in advance.

my json -> {
"apps": [
{
"name": "aio-bot",
"instances": "1",
"script": "pnpm",
"args": [
"start"
],
"port": "3001",
"exec_mode": "cluster"
}
]
}
B
l
2 comments
I'm sorry it's beyond my knowledge here πŸ€”
No problem, I found another way to solve this problem
Add a reply
Sign up and join the conversation on Discord