502 on socket.io connections

Hey all
I have problem on my socket connections.
i get 502 error on for example :
mydomain.com/socket.io/?EIO=4&transport=polling&t=OiLD2mt

all requests works fine but socket.io requests.
image
image

First, check your config/supervisor.conf file for the [program:frappe-bench-node-socketio] section.

If it’s missing, you can try deleting the entire configuration file and then recreating it with the following command:

Bashbench setup supervisor

Once the configuration file is correct, update Supervisor by running these commands:

Bashsudo supervisorctl reread sudo supervisorctl update

Finally, check the status to confirm that the worker is running:

Bashsudo supervisorctl status

You should see an output confirming that the process is RUNNING, like this: frappe-bench-workers:frappe-bench-frappe-long-worker-0 RUNNING

1 Like