-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about disconnection #616
Comments
This issue is stale because it has been open for 30 days with no activity. |
Hi @pamukcu09, Any suggestion on how to code an automatic reconnect is very welcome. |
How to automatically reconnect will depend on the library you use for websockets. I would refer to the documentation of that library and what the specific best case practice is. |
I am using websockets as in the example. |
Then I would refer to the documentation of the websockets library and look to see what the best strategy is for your application, as this is out of scope of the OCPP library. |
The following code works in my case:
|
If the internet is disconnected while charging and the charger cannot connect to the server, how to re-establish the connection when the internet connection is restored?
The text was updated successfully, but these errors were encountered: