Currently, if a WSS Cloud App with a valid endpoint and invalid certificate is activated, core keeps attempting to re-connect to the cloud app.
Reproduction Steps
Setup test suite appJava with SSL enabled. Change the following params in Config.java
public static final TransportType TRANSPORT_TYPE = TransportType.WEB_SOCKET_SERVER;
public static final String APP_ID = "123e4567-e89b-12d3-a456-426655440000";
public static final String APP_NAME = "Test Suite SE";
...
public static final boolean ENABLE_SSL = true;
public static final String CERTIFICATE_PEM = "<server_certificate_string>";
public static final String KEY_PEM = "<server_key_string>";
Add cloud app entry for the cloud (with transport type WSS) in sdl_preloaded_pt.json. Replace <client_certificate_string> with an invalid certificate
SDL sends BasicCommunication.UpdateAppList to the HMI with the cloud app endpoint and "cloudConnectionStatus":"RETRY"
SDL sends BasicCommunication.UpdateAppList to the HMI with the cloud app endpoint and "cloudConnectionStatus":"NOT_CONNECTED"
Observed Behavior
Cloud app fails to activate
SDL repeatedly sends BasicCommunication.UpdateAppList to the HMI with the cloud app endpoint and "cloudConnectionStatus":"RETRY"
SDL repeatedly sends BasicCommunication.UpdateAppList to the HMI with the cloud app endpoint and "cloudConnectionStatus":"NOT_CONNECTED"
NOTE: Core seems to sometimes send some invalid data to the HMI in the UpdateDeviceList request during this reconnection loop, such as "transportType":-1 and "cloudConnectionStatus":-1
Bug Report
Currently, if a WSS Cloud App with a valid endpoint and invalid certificate is activated, core keeps attempting to re-connect to the cloud app.
Reproduction Steps
Config.java
<client_certificate_string>
with an invalid certificateExpected Behavior
BasicCommunication.UpdateAppList
to the HMI with the cloud app endpoint and"cloudConnectionStatus":"RETRY"
BasicCommunication.UpdateAppList
to the HMI with the cloud app endpoint and"cloudConnectionStatus":"NOT_CONNECTED"
Observed Behavior
BasicCommunication.UpdateAppList
to the HMI with the cloud app endpoint and"cloudConnectionStatus":"RETRY"
BasicCommunication.UpdateAppList
to the HMI with the cloud app endpoint and"cloudConnectionStatus":"NOT_CONNECTED"
NOTE: Core seems to sometimes send some invalid data to the HMI in the UpdateDeviceList request during this reconnection loop, such as
"transportType":-1
and"cloudConnectionStatus":-1
OS & Version Information