-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Description
Bug Report
If the PTU retry sequence fails when attempting to get a certificate for establishing a secured connection, Core will not respond to the original StartService or inform the HMI that the process failed.
Reproduction Steps
- Build Core with EXTENDED_POLICY=EXTERNAL_PROPRIETARY
- Set
ForceProtectedService = 0x0A, 0x0BinsmartDeviceLink.ini - Set the following values in the preloaded PT:
"timeout_after_x_seconds": 10,
"seconds_between_retries": [
1
],
...
"endpoints": {
"0x07": {
"default": [
"http://invalid.url/api/1/policies/proprietary"
]
},
- Start Core
- Connect an app and attempt to establish a secure video service
- Wait for the PTU sequence to time out
Expected Behavior
Core responds to the StartService with StartServiceNAK and sends a service status update to the HMI with REQUEST_REJECTED
Observed Behavior
Core does not send a StartServiceNAK or service status update, REQUEST_RECEIVED update hangs indefinitely
OS & Version Information
- OS/Version: Ubuntu 18.04
- SDL Core Version: develop
- Testing Against: sdl_test_suite for Android
Metadata
Metadata
Assignees
Labels
No labels