Closed tmb-01 closed 7 months ago
@mikuso Can you help me to solve this problem?
Try listening on the RPCServerClient instance for the 'socketError'
and 'close'
events and log what happens.
Do you get a socket error event? Do you get a close event? If so, what close code & reason are you given?
when I start it with pm2, I face this error, but when I start it with node it works fine. But I cant use node to run in background.
It works fine on my local machine but when I deploy it to my VPS, WS disconnects after 30 sec.
I thought I had a limitation in my VPS for WS but my other WS is working fine.
I am using this simulator. https://lamerat.github.io/OCPP-Charge-Point-Simulator/