genivi-ipc@lists.genivi.org

Development list for inter process communication (IPC) related topics

View all threads

common API server client on multiple domain

DJ
Dhananjay Joshi
Wed, Dec 23, 2020 8:47 AM

Hi,
I am trying to run the common API based sample server and client on 2 VB
based guest VM linux platform
but currently there is no Inter domain communication established in between
these two modules. Any specific setting of ip or tcp
which i am missing for this use case , I am getting the client logs as
below:

2020-12-23 14:08:09.279048 [info] Parsed vsomeip configuration in 0ms
2020-12-23 14:08:09.279508 [info] Default configuration module loaded.
2020-12-23 14:08:09.279546 [info] Initializing vsomeip application
"HM-client".
2020-12-23 14:08:09.280192 [info] SOME/IP client identifier configured.
Using 0001 (was: 0000) and UID/GID=1001/1001
2020-12-23 14:08:09.280323 [info] No routing manager configured. Using
auto-configuration.
2020-12-23 14:08:09.280345 [info] Instantiating routing manager [Host].
[15343.631320]~DLT~16074~INFO    ~FIFO /tmp/dlt cannot be opened. Retrying
later...
2020-12-23 14:08:09.319775 [info] init_routing_endpoint Routing endpoint at
/tmp/vsomeip-0
2020-12-23 14:08:09.320237 [info] Client [1] is connecting to [0] at
/tmp/vsomeip-0
2020-12-23 14:08:09.320304 [info] Service Discovery enabled. Trying to load
module.
2020-12-23 14:08:09.341717 [info] Service Discovery module loaded.
2020-12-23 14:08:09.342217 [info] vsomeip tracing not enabled. . vsomeip
service discovery tracing not enabled.
2020-12-23 14:08:09.342338 [info] Application(HM-client, 0001) is
initialized (11, 100).
2020-12-23 14:08:09.342854 [info] REGISTER EVENT(0001):
[1234.5678.80f4:is_provider=false]
2020-12-23 14:08:09.342974 [info] REGISTER EVENT(0001):
[1234.5678.80f5:is_provider=false]
2020-12-23 14:08:09.343054 [info] REQUEST(0001): [1234.5678:1.4294967295]
2020-12-23 14:08:09.343326 [info] Starting vsomeip application "HM-client"
(0001) using 2 threads I/O nice 255
2020-12-23 14:08:09.344065 [info] main dispatch thread id from application:
0001 (HM-client) is: 7fe9024cd700 TID: 16080
2020-12-23 14:08:09.343886 [info] shutdown thread id from application: 0001
(HM-client) is: 7fe901ccc700 TID: 16081
2020-12-23 14:08:09.344158 [info] Watchdog is disabled!
2020-12-23 14:08:09.344448 [info] io thread id from application: 0001
(HM-client) is: 7fe902cce700 TID: 16079
2020-12-23 14:08:09.344749 [info] vSomeIP 2.14.16 | (default)
2020-12-23 14:08:09.344768 [info] SUBSCRIBE(0001): [1234.5678.80f4:80f4:1]
2020-12-23 14:08:09.344852 [info] Sent READY to systemd watchdog
2020-12-23 14:08:09.344926 [info] Notify one event 80f4 to client 1 failed.
Event payload not set!
2020-12-23 14:08:09.345062 [info] Network interface "lo" state changed: up
2020-12-23 14:08:09.345172 [info] io thread id from application: 0001
(HM-client) is: 7fe900cca700 TID: 16083
2020-12-23 14:08:09.345775 [info] SUBSCRIBE(0001): [1234.5678.80f5:80f5:1]
2020-12-23 14:08:09.345840 [info] Notify one event 80f5 to client 1 failed.
Event payload not set!
Waiting for service to become available.

Common API implementation uses vsomeip bindings.

Regards,
Dhananjay

Hi, I am trying to run the common API based sample server and client on 2 VB based guest VM linux platform but currently there is no Inter domain communication established in between these two modules. Any specific setting of ip or tcp which i am missing for this use case , I am getting the client logs as below: 2020-12-23 14:08:09.279048 [info] Parsed vsomeip configuration in 0ms 2020-12-23 14:08:09.279508 [info] Default configuration module loaded. 2020-12-23 14:08:09.279546 [info] Initializing vsomeip application "HM-client". 2020-12-23 14:08:09.280192 [info] SOME/IP client identifier configured. Using 0001 (was: 0000) and UID/GID=1001/1001 2020-12-23 14:08:09.280323 [info] No routing manager configured. Using auto-configuration. 2020-12-23 14:08:09.280345 [info] Instantiating routing manager [Host]. [15343.631320]~DLT~16074~INFO ~FIFO /tmp/dlt cannot be opened. Retrying later... 2020-12-23 14:08:09.319775 [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0 2020-12-23 14:08:09.320237 [info] Client [1] is connecting to [0] at /tmp/vsomeip-0 2020-12-23 14:08:09.320304 [info] Service Discovery enabled. Trying to load module. 2020-12-23 14:08:09.341717 [info] Service Discovery module loaded. 2020-12-23 14:08:09.342217 [info] vsomeip tracing not enabled. . vsomeip service discovery tracing not enabled. 2020-12-23 14:08:09.342338 [info] Application(HM-client, 0001) is initialized (11, 100). 2020-12-23 14:08:09.342854 [info] REGISTER EVENT(0001): [1234.5678.80f4:is_provider=false] 2020-12-23 14:08:09.342974 [info] REGISTER EVENT(0001): [1234.5678.80f5:is_provider=false] 2020-12-23 14:08:09.343054 [info] REQUEST(0001): [1234.5678:1.4294967295] 2020-12-23 14:08:09.343326 [info] Starting vsomeip application "HM-client" (0001) using 2 threads I/O nice 255 2020-12-23 14:08:09.344065 [info] main dispatch thread id from application: 0001 (HM-client) is: 7fe9024cd700 TID: 16080 2020-12-23 14:08:09.343886 [info] shutdown thread id from application: 0001 (HM-client) is: 7fe901ccc700 TID: 16081 2020-12-23 14:08:09.344158 [info] Watchdog is disabled! 2020-12-23 14:08:09.344448 [info] io thread id from application: 0001 (HM-client) is: 7fe902cce700 TID: 16079 2020-12-23 14:08:09.344749 [info] vSomeIP 2.14.16 | (default) 2020-12-23 14:08:09.344768 [info] SUBSCRIBE(0001): [1234.5678.80f4:80f4:1] 2020-12-23 14:08:09.344852 [info] Sent READY to systemd watchdog 2020-12-23 14:08:09.344926 [info] Notify one event 80f4 to client 1 failed. Event payload not set! 2020-12-23 14:08:09.345062 [info] Network interface "lo" state changed: up 2020-12-23 14:08:09.345172 [info] io thread id from application: 0001 (HM-client) is: 7fe900cca700 TID: 16083 2020-12-23 14:08:09.345775 [info] SUBSCRIBE(0001): [1234.5678.80f5:80f5:1] 2020-12-23 14:08:09.345840 [info] Notify one event 80f5 to client 1 failed. Event payload not set! Waiting for service to become available. Common API implementation uses vsomeip bindings. Regards, Dhananjay