-
Notifications
You must be signed in to change notification settings - Fork 147
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
possible TIMEOUT in libnetconf2 for yang-library retrieval in TLS #515
Comments
I really do not know how to reproduce this and my guess is that there is something quite wrong on your end althought I am not sure what. What you can try, if you are using netopeer2-cli, to add parameter |
We are not using that netopeer2-cli. |
All the CLI does is pass the timeout to |
Hello, |
I have not found any fixed timeout of 400 ms for TLS, please point to the exact file and line. |
So in the latest version there is |
Do I understand it correctly, you have modified the code and set the timeout to 400 ms and now have a problem with it? |
Hello,
We have an issue with TIMEOUT on TLS after we send message with get for yanglib after 0.4 seconds (on SSH there is no timeout after 0.4 seconds)
Sending message:<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"><get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><filter type="xpath" xmlns:yanglib="urn:ietf:params:xml:ns:yang:ietf-yang-library" select ="/yanglib:*"/></get></rpc>
**nc WRN: Timeout for receiving reply to a <get> RPC expired.**
We tried to modify NC_READ_ACT_TIMEOUT at a higher value but we always have timeout after 0.4 seconds in TLS, in get_oper_data() function in session_client.c. nc_timeouttime_get() function modify it somehow.
I think you can reproduce it by adding a time.sleep between get rpc and received rpc
We suspect that might be a timeout in pthread_mutex_clocklock()
We use 3.0.17 version for libnetconf2 and 2.2.8 version for libyang
Can you please check why we have this timeout always, even if we increase that flag (NC_READ_ACT_TIMEOUT).
The text was updated successfully, but these errors were encountered: