-
Notifications
You must be signed in to change notification settings - Fork 244
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
Core does not respond to StartService with encrypted=true if PTU timed out #3440
Comments
@jacobkeeler Please notice there is an ATF script to cover this case: Also one thing to notice there is a difference between retry sequences for For |
@dboltovskyi Note that the test case that you reference goes through an extra retry in each PTU retry sequence. 3 attempts should be made, but BC.OnSystemRequest is sent by ATF 4 times, so ATF is not emulating a realistic setup in this case. |
@dboltovskyi See updated test: smartdevicelink/sdl_atf_test_scripts#2427 |
@jacobkeeler @JackLivio That was initially by design due to differences between policy flows.
This list may be not complete, so full regression is required to be sure. Also Web-HMI (sdl_hmi) needs to be updated accordingly to reflect this change. |
@dboltovskyi The sdl_hmi already follows this flow, I originally encountered the issue while testing against it. |
@jacobkeeler Seems you're right since issue smartdevicelink/sdl_hmi#339 and fix for it smartdevicelink/sdl_hmi#315 are still open. |
Closing with the merge of #3441 |
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
ForceProtectedService = 0x0A, 0x0B
insmartDeviceLink.ini
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
The text was updated successfully, but these errors were encountered: