You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to SOMEIP/SD Protocol Spec, Client should go to "Initial Wait Phase" when TTL expires and start to send "find service". See the following Client State Machine transitions:
FROM Service Ready TO Searching for Service WITH Timer expired (TTL)
FROM entry point Searching for Service TO Initial Wait Phase
FROM entry point Initial Wait Phase TO Timer Set OF Initial Wait Phase WITH /setTimerInRange(INITIAL_DELAY_MIN, INITIAL_DELAY_MAX)
FROM Timer Set OF Initial Wait Phase TO Repetition Phase WITH TimerExpired /send(FindService)
However when I quit server, the client seems to go to "Stopped" state instead and no "find service" is sent out
Reproduction Steps
Both service app and client app have the following Service Discovery Config:
I submitted a potential fix #804
Would you please review to see if it makes sense? Now I can see "find service" with the fix.
chw-eng
changed the title
[BUG]: Client does not go back to initial Waiting Phase when offer service TTL expires.
[BUG]: Client does not go back to initial Wait Phase when offer service TTL expires.
Nov 9, 2024
vSomeip Version
v3.4.10
Boost Version
1.74
Environment
Embedded Linux
Describe the bug
According to SOMEIP/SD Protocol Spec, Client should go to "Initial Wait Phase" when TTL expires and start to send "find service". See the following Client State Machine transitions:
FROM Service Ready
TO Searching for Service
WITH Timer expired (TTL)
FROM entry point Searching for Service
TO Initial Wait Phase
FROM entry point Initial Wait Phase
TO Timer Set
OF Initial Wait Phase
WITH /setTimerInRange(INITIAL_DELAY_MIN, INITIAL_DELAY_MAX)
FROM Timer Set
OF Initial Wait Phase
TO Repetition Phase
WITH TimerExpired /send(FindService)
However when I quit server, the client seems to go to "Stopped" state instead and no "find service" is sent out
Reproduction Steps
Both service app and client app have the following Service Discovery Config:
Both service and client applications are running, and then kill service application
Expected behaviour
After service application stops and TTL expires, client should send "find service"
Logs and Screenshots
The text was updated successfully, but these errors were encountered: