CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
290 stars 186 forks source link

subscription of "ietf-netconf-notifications" failed #1589

Open biswajit84 opened 2 weeks ago

biswajit84 commented 2 weeks ago

Hi, While running netopeeer2-server , I got below on netopeer2-server.So after doing make sr_clean and reinstall of netopeer ,it worked. Since I was testing on x86 machine where the complete source code was also present, so I was able to clean the sysrepo and got rid off the issue. My doubt is how to catch such errors on real time while running on target where there will be no source code and how to clean the sysrepo.

[ERR]: SR: Waiting for subscription of "ietf-netconf-notifications" failed, previous event "notif" ID 1 was not processed. [WRN]: NP: Failed to send a notification (Timeout expired).

Regards Biswajit

michalvasko commented 2 weeks ago

What netopeer2 version are you using?

biswajit84 commented 2 weeks ago

I am using 2.2.19 $ Install/sbin/netopeer2-server -V netopeer2-server 2.2.19

michalvasko commented 2 weeks ago

I see, ideally, these kinds of errors should not occur in the latest version. Without reproducing it, I will not be able to fix this. But I am working on improving and refactoring notification subscriptions currently, so it is possible it will still be fixed in the next release.

biswajit84 commented 1 week ago

Hi, Let me know if you need any other logs so that I can share next time whenever I will see the same issue.

Regards, Biswajit

michalvasko commented 1 week ago

The only logs that could perhaps help are the full netopeer2-server logs (or not full but with logs in reasonable past before the error) with INF log level (-v2).