mobilityhouse / ocpp

Python implementation of the Open Charge Point Protocol (OCPP).
MIT License
798 stars 322 forks source link

Request timeout issue when ping_interval=None and ping_timeout=None are set. #626

Open Mynk96 opened 7 months ago

Mynk96 commented 7 months ago

I dont get 'CALL' response in time its gets timeout error, but soon as I disconnect the charger from the server and when it reconnects on its own the 'CALL' are working fine . Its happening with some of the charger they send heartbeat at regular interval but don't respond to Call like(remoteStart,clearCache,reset etc.) It mostly happens after charger is idle for long time , it doesn't respond to any CALL but regularly send heartbeat ,until it reconnects

FYI This particular vendor don't support ping/pong message so have diasabled them in in web socket. hope that is not causing any issue

websockets.serve(handler, "0.0.0.0", 9000 subprotocols=["ocpp1.6"], ping_interval=None, ping_timeout=None)

jainmohit2001 commented 1 month ago

Hi @Mynk96, is this issue still relevant? Otherwise we can close this.