Java-OCA-OCPP icon indicating copy to clipboard operation
Java-OCA-OCPP copied to clipboard

Add getLastError() API to MultiProtocolJSONClient

Open robert-s-ubi opened this issue 1 year ago • 0 comments

To allow determining the cause of a disconnection, add a new API to MultiProtocolJSONClient to retrieve the Exception passed from the WebSocket library in the onError() callback.

This is required to allow logging the OCPP 2.0.1 Security Events "InvalidTLSVersion" and "InvalidTLSCipherSuite", by examining the type of Exception and its message string.

robert-s-ubi avatar Jun 28 '24 16:06 robert-s-ubi