-
Notifications
You must be signed in to change notification settings - Fork 402
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
Timeout registering at RouDi. Is RouDi running? #2401
Comments
Let me add some more details
|
@NeilZhy this should be fixed on main. Can you try the v2.95.3 tag? |
@elBoberido thank you very much, i will try the v2.95.3 tag for the test. |
I use v2.95.3 for compile and get these error:
there is a stackoverflow about this error: https://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling
|
@NeilZhy can you create a PR to fix the issue? The problem usually occurs when an application tries to register at RouDi and RouDi takes a long time to respond, so that the application sends a second request. In the meantime, RouDi responded for the old request. That's the |
@elBoberido Sorry, I don't quite understand which problem I need to fix. I haven't solved this compilation problem yet. |
@NeilZhy I meant the issue with |
@elBoberido thanks. My local problem may not be caused by |
@elBoberido I would like to ask, on what basis do we use |
@elBoberido Could you please provide me a patch or a commit to fix it? I will add the patch to our project for testing. It will be very difficult for me to upgrade the system to v2.95.3 in a short time. This is urgent for me. Thank you very much. |
@NeilZhy I think Sorry, I'm currently quite busy with other stuff and can't look when/if this bug was fixed in v2.95.3. It's just a guess since we did not have such issues since a long time. But then it should in theory also be fixed in v2.0. At first we need to know if it is fixed on main, which is basically v2.95.3. |
It is not the |
@elBoberido
Can we use the following judgment logic? Determine whether the REG_ACK message currently received is 5 seconds different from the REG message sent.
|
@elBoberido
roudi needs to add runtime_name when replying to REG_ACK:
@elBoberido Please help analyze whether this method is feasible. Thanks! |
@elBoberido Can you give me some advice, thanks |
@NeilZhy the core team is currently quite busy with their day job working on iceoryx, so there is not much time for community support at the moment. We hope to be able to dedicate more time for community support again in the future. To your question. The timestamp the application receives, is the same that it sends. RouDi does not add it's own timestamp but just respond with the timestamp of the request. This is to ensure that the application is in sync with the messages to Roudi. If this is not done, the following issue can happen
As you can see, the timestamp acts as unique ID in order to prevent the issue mentioned above. Please check if the bug is reproducible with v2.95.3 before you continue with v2.0. |
@elBoberido Thank you very much, I understand what you mean. I will try the latest version sometime. |
Required information
Operating system:
E.g. Ubuntu 18.04 LTS
Compiler version:
E.g. GCC 7.4.0
Eclipse iceoryx version:
v2.0.3
Observed result or behaviour:
when I call
iox::runtime::PoshRuntime::initRuntime("test");
, I get the errorTimeout registering at RouDi. Is RouDi running?
.the
iox-roudi
has been run.The text was updated successfully, but these errors were encountered: