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
the notify sample and subscribe sample can work well in same host , but when I try different host, subscribe sample in my laptop and notify sample in MPU on board , then the notify keeps sending but subscribe sample receives nothing . ``
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
notify sample log
2023-12-14 14:33:52.17459 [INFO ] check_vcm_vlan_cfg (236): open file VehicleConfiguration error: No such file or directory!
2023-11-14 14:33:52.755660 [warning] Reliability type for event [1234.5678.8778] was not configured Using : RT_UNRELIABLE
2023-11-14 14:33:52.757533 [info] Parsed vsomeip configuration in 0ms
2023-11-14 14:33:52.757830 [info] Using configuration file: "./AS_server.json".
2023-11-14 14:33:52.758063 [info] Initializing vsomeip application "AS_server".
2023-11-14 14:33:52.758467 [info] Instantiating routing manager [Host].
2023-11-14 14:33:52.759594 [info] create_local_server Routing endpoint at /tmp/vsomeip-0
2023-11-14 14:33:52.760528 [info] Service Discovery enabled. Trying to load module.
2023-11-14 14:33:52.770061 [info] Service Discovery module loaded.
2023-11-14 14:33:52.771188 [info] Application(AS_server, 4444) is initialized (11, 100).
2023-11-14 14:33:52.771654 [info] REGISTER EVENT(4444): [1234.5678.8778:is_provider=true]
2023-11-14 14:33:52.772017 [info] Starting vsomeip application "AS_server" (4444) using 2 threads I/O nice 255
2023-11-14 14:33:52.772384 [info] OFFER(4444): [1234.5678:0.0] (true)
2023-11-14 14:33:52.774340 [info] main dispatch thread id from application: 4444 (AS_server) is: ffffb9354db0 TID: 2155
2023-11-14 14:33:52.774715 [info] shutdown thread id from application: 4444 (AS_server) is: ffffb8b53db0 TID: 2156
2023-11-14 14:33:52.774676 [info] Listening at /tmp/vsomeip-4444
Setting event (Length=2023-11-14 14:33:52.776326 [info] Watchdog is disabled!
0001).
Application AS_server is registered.
2023-11-14 14:33:52.777472 [info] io thread id from application: 4444 (AS_server) is: ffffba3c8010 TID: 2152
2023-11-14 14:33:52.777683 [info] io thread id from application: 4444 (AS_server) is: ffffab7fddb0 TID: 2158
2023-11-14 14:33:52.779856 [info] vSomeIP 3.1.20.3 | (default)
2023-11-14 14:33:52.781651 [info] Network interface "eth" state changed: up
2023-11-14 14:33:52.784256 [info] Route "172.31.254.0/24 if: eth gw: n/a" state changed: up
2023-11-14 14:33:52.785283 [info] udp_server_endpoint_impl: SO_RCVBUF is: 212992
2023-11-14 14:33:52.785679 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.77
2023-11-14 14:33:52.786106 [info] udp_server_endpoint_impl: SO_RCVBUF (Multicast) is: 212992
2023-11-14 14:33:52.787024 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2023-11-14 14:33:52.787789 [info] udp_server_endpoint_impl: SO_RCVBUF is: 212992
2023-11-14 14:33:52.788074 [info] SOME/IP routing ready.
2023-11-14 14:33:52.791025 [warning] Route "172.31.254.255/32 if: eth gw: n/a" state changed: up
Setting event (Length=2).
Setting event (Length=3).
Setting event (Length=4).
Setting event (Length=5).
Setting event (Length=6).
Setting event (Length=7).
2023-11-14 14:33:58.804484 [info] REMOTE SUBSCRIBE(0000): [1234.5678.4465] from 172.31.254.88:53577 unreliable was accepted
Setting event (Length=8).
Setting event (Length=9).
Setting event (Length=1).
2023-11-14 14:34:02.780621 [info] vSomeIP 3.1.20.3 | (default)
2023-11-14 14:34:02.783783 [info] STOP OFFER(4444): [1234.5678:0.0] (true)
2023-11-14 14:34:12.781659 [info] vSomeIP 3.1.20.3 | (default)
2023-11-14 14:34:12.791687 [info] OFFER(4444): [1234.5678:0.0] (true)
2023-11-14 14:34:12.793223 [info] udp_server_endpoint_impl: SO_RCVBUF is: 212992
Setting event (Length=2).
Setting event (Length=3).
Setting event (Length=4).
Setting event (Length=5).
Setting event (Length=6).
Setting event (Length=7).
Setting event (Length=8).
Setting event (Length=9).
^C2023-11-14 14:34:19.331543 [info] STOP OFFER(4444): [1234.5678:0.0] (true)
^C2023-11-14 14:34:19.981848 [info] STOP OFFER(4444): [1234.5678:0.0] (true)
subscribe sample log
2025-00-17 09:44:52.516884 [info] Parsed vsomeip configuration in 0ms
2025-00-17 09:44:52.518013 [info] Using configuration file: "./client.json".
2025-00-17 09:44:52.518245 [info] Configuration module loaded.
2025-00-17 09:44:52.518382 [info] Initializing vsomeip application "AS_client".
2025-00-17 09:44:52.519333 [info] Instantiating routing manager [Host].
2025-00-17 09:44:52.520043 [info] create_local_server Routing endpoint at /tmp/vsomeip-0
2025-00-17 09:44:52.521041 [info] Service Discovery enabled. Trying to load module.
2025-00-17 09:44:52.524965 [info] Service Discovery module loaded.
2025-00-17 09:44:52.525767 [info] Application(AS_client, 5555) is initialized (11, 100).
Client settings [protocol=UDP]
2025-00-17 09:44:52.526257 [info] REGISTER EVENT(5555): [1234.5678.8778:is_provider=false]
2025-00-17 09:44:52.526613 [info] SUBSCRIBE(5555): [1234.5678.4465:ffff:0]
2025-00-17 09:44:52.526835 [info] notify_one_unlocked: Notifying 8778 to client 5555 failed. Event payload not set!
2025-00-17 09:44:52.527087 [info] Starting vsomeip application "AS_client" (5555) using 2 threads I/O nice 255
2025-00-17 09:44:52.528402 [info] main dispatch thread id from application: 5555 (AS_client) is: 7fd77b577700 TID: 219261
2025-00-17 09:44:52.528584 [info] shutdown thread id from application: 5555 (AS_client) is: 7fd77ad76700 TID: 219262
2025-00-17 09:44:52.531614 [info] Watchdog is disabled!
Service [1234.5678] is NOT available.
2025-00-17 09:44:52.532939 [info] io thread id from application: 5555 (AS_client) is: 7fd77b66a740 TID: 219260
2025-00-17 09:44:52.532989 [info] io thread id from application: 5555 (AS_client) is: 7fd779d74700 TID: 219264
2025-00-17 09:44:52.533049 [info] REQUEST(5555): [1234.5678:255.4294967295]
2025-00-17 09:44:52.535560 [info] Listening at /tmp/vsomeip-5555
2025-00-17 09:44:52.535586 [info] vSomeIP 3.1.20.3 | (default)
2025-00-17 09:44:52.536950 [info] Network interface "enx" state changed: up
2025-00-17 09:44:52.538968 [info] Route "172.31.254.0/24 if: enx gw: n/a" state changed: up
2025-00-17 09:44:52.539858 [info] udp_server_endpoint_impl: SO_RCVBUF is: 212992
2025-00-17 09:44:52.540419 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:52.541040 [info] udp_server_endpoint_impl: SO_RCVBUF (Multicast) is: 212992
2025-00-17 09:44:52.542071 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:44:52.542602 [info] SOME/IP routing ready.
2025-00-17 09:44:52.543900 [warning] Route "172.31.254.255/32 if: enx gw: n/a" state changed: up
2025-00-17 09:44:52.596085 [info] udp_client_endpoint_impl::connect: SO_RCVBUF is: 212992
2025-00-17 09:44:52.597093 [warning] sd::get_eventgroup_reliability: couldn't determine eventgroup reliability type for [1234.5678.4465] using reliability type: 0002
Service [1234.5678] is available.
2025-00-17 09:44:52.608842 [info] Reboot detected: IP=172.31.254.77
2025-00-17 09:44:52.609466 [info] expire_services for address: 172.31.254.77 : delete service/instance 1234.5678 port [0,0] reliability=false
Service [1234.5678] is NOT available.
2025-00-17 09:44:53.596079 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:44:53.596781 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:53.597725 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:44:54.592963 [info] udp_client_endpoint_impl::connect: SO_RCVBUF is: 212992
Service [1234.5678] is available.
2025-00-17 09:44:55.593055 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:44:55.593470 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:55.593858 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
Service [1234.5678] is NOT available.
2025-00-17 09:44:57.587191 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:44:57.587890 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:57.588797 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:44:58.589692 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:44:58.590006 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:58.590324 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:44:59.591324 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:44:59.592027 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:44:59.592771 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:01.593842 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:01.594532 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:01.595537 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:02.536911 [info] vSomeIP 3.1.20.3 | (default)
2025-00-17 09:45:02.597110 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:02.599196 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:02.600363 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:03.601444 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:03.602237 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:03.603073 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:04.604293 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:04.605002 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:04.605762 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:05.607036 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:05.607711 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:05.608472 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:06.609594 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:06.610214 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:06.611025 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:06.146341 [info] udp_client_endpoint_impl::connect: SO_RCVBUF is: 212992
Service [1234.5678] is available.
2025-00-17 09:45:09.145657 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:09.146556 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:09.147664 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:10.146292 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:10.147189 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:10.148543 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:11.149890 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:11.150782 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:11.151900 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
2025-00-17 09:45:12.537973 [info] vSomeIP 3.1.20.3 | (default)
2025-00-17 09:45:13.580783 [warning] Didn't receive a multicast SD message for 1100ms.
2025-00-17 09:45:13.581682 [debug] Joining to multicast group 172.31.254.255 from 172.31.254.88
2025-00-17 09:45:13.582807 [error] udp_server_endpoint_impl::join:set_option: Invalid argument
^C2025-00-17 09:45:14.640413 [info] UNSUBSCRIBE(5555): [1234.5678.4465.ffff]
2025-00-17 09:45:14.641398 [info] RELEASE(5555): [1234.5678]
2025-00-17 09:45:14.642233 [info] Stopping vsomeip application "AS_client" (5555).
vSomeip Version
v 3.1.20.3
Boost Version
1.71
Environment
ubuntu 20.04
Describe the bug
the notify sample and subscribe sample can work well in same host , but when I try different host, subscribe sample in my laptop and notify sample in MPU on board , then the notify keeps sending but subscribe sample receives nothing . ``
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
notify sample log
subscribe sample log
notify sample json
{
"unicast":"172.31.254.77",
"netmask":"255.255.255.0",
"logging":
{
"level":"trace",
"console":"true"
},
}
subscribe sample json
{
"unicast":"172.31.254.88",
"netmask":"255.255.255.0",
"logging":
{
"level":"trace",
"console":"true"
},
"service-discovery":
{
"enable":"true",
"multicast":"172.31.254.255",
"port":"30490",
"protocol":"udp",
"initial_delay_min":"10",
"initial_delay_max":"100",
"repetitions_base_delay":"200",
"repetitions_max":"3",
"ttl":"3",
"cyclic_offer_delay":"2000",
"request_response_delay":"1500"
}
}
and wireshark graps on the 172.31.254.88
The text was updated successfully, but these errors were encountered: