-
Notifications
You must be signed in to change notification settings - Fork 700
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
[BUG]: In QNX system, subscribe-sample can not receive SUBSCRIBE ACK , can not receive message. #810
Comments
I'm not too familiar with this example code, but I see it's registering for SAMPLE_EVENT_ID == 0x8778 which we can see in your log:
however the vsomeip.json that you attached has events 0x0777 ... 0x0779 without the leading 8. I checked the sample config files and the event numbers vary between the local and remote examples. I don't know if this is significant |
{ |
routingmanagerd log: 1970-01-01 00:01:04.644423 [info] rms::on_message: 10 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 1970-01-01 00:01:14.744539 [info] rms::on_message: 11 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 1970-01-01 00:01:24.844696 [info] rms::on_message: 10 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 1970-01-01 00:01:44.044991 [info] rms::on_message: 10 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 |
notify-sample log: 1970-01-01 00:01:04.644429 [info] rmp::on_message<1277>: 05 00 00 66 66 07 00 00 00 00 02 00 00 00 44 13 Setting event (Length=3). |
subscribe-sample log 1970-01-01 00:01:04.644434 [info] rmp::on_message<1344>: 05 00 00 66 66 18 00 00 00 02 13 00 00 00 02 00 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 1970-01-01 00:01:14.744548 [info] rmp::on_message<1344>: 05 00 00 66 66 18 00 00 00 04 13 00 00 00 02 00 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 1970-01-01 00:01:24.844791 [info] rmp::on_message<1344>: 05 00 00 66 66 18 00 00 00 02 13 00 00 00 02 00 00 00 77 12 09 00 00 00 34 12 78 56 00 00 00 00 00 |
I checked the configuration and found that there was indeed a problem with the configuration. I updated the configuration and verified again, but subscribe-sample could not receive SUBSCRIBE ACK. |
vSomeip Version
V3.4.10
Boost Version
1.76
Environment
QNX7.1
Describe the bug
Start in this order occur erro:
1、start routingmanagerd, as routing
2、start notify-sample, offer service
3、start subscribe-sample, subscribe service
subscribe-sample can not receive SUBSCRIBE ACK , can not receive message.
Start in this order:
1、start notify-sample, as routing and offer service
2、start subscribe-sample, subscribe service
subscribe-sample can receive SUBSCRIBE ACK , and can receive message.
Reproduction Steps
#1 Compile V3.4.10 demo based on source code.
#2 Execute within QNX system step
1、start routingmanagerd, as routing
env VSOMEIP_CONFIGURATION=/mnt/etc/vsomeip.json; VSOMEIP_APPLICATION_NAME=routingmanagerd; ./bin/routingmanagerd>/Log_QNX/vsomeip_log/routingmanagerd.log&
2、start notify-sample, offer service
env VSOMEIP_CONFIGURATION=/mnt/etc/vsomeip.json; VSOMEIP_APPLICATION_NAME=notify-sample; ./bin/notify-sample>/Log_QNX/vsomeip_log/notify.log&
3、start subscribe-sample, subscribe service
env VSOMEIP_CONFIGURATION=/mnt/etc/vsomeip.json; VSOMEIP_APPLICATION_NAME=subscribe-sample; ./bin/subscribe-sample>/Log_QNX/vsomeip_log/subscribe.log&
config:
vsomeip.json
Expected behaviour
1、subscribe-sample log include:
SUBSCRIBE ACK(6666): [1234.5678.4465.ffff]
2、subscribe-sample log can recieve notify message.
Logs and Screenshots
notify.log
routingmanagerd.log
subscribe.log
The text was updated successfully, but these errors were encountered: