CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
301 stars 189 forks source link

Netconf not reply OK when configuring xml. #1465

Open Ray123456a opened 1 year ago

Ray123456a commented 1 year ago

Hi, here is my problem, when I configuring the xml, these node parameters can be configured sucessfully, but I didn't recived the "OK" response. image

michalvasko commented 1 year ago

Seems it takes too long for you to apply the configuration changes. Run netopeer2 with -t 30 to increase the default 5 s timeout.

Ray123456a commented 1 year ago

My netopeer2-server is running with -t 500

michalvasko commented 1 year ago

Oh, sorry, it is the client that times out, so add --rpc-timeout 500 to the edit-config command.

Ray123456a commented 1 year ago

image Still not work

michalvasko commented 1 year ago

What netopeer2 version are you using? If the current release, this will most likely be a problem in your callbacks. Perhaps you do not even need such long timeouts but you need to fix a dead lock that you created.

Ray123456a commented 1 year ago

image

michalvasko commented 1 year ago

Like I said, you should update first because the next version 2.1.69 includes some concurrency fixes already. But please update to 2.1.71, the latest release.

13065166838 commented 1 year ago

Hello, I'm trying to build netopeer2 with custom library and header that I've put in other directory by doing this: 企业微信截图_1694504941800

but end up meet this error: 企业微信截图_16945049789268 企业微信截图_16945050308633

michalvasko commented 1 year ago

Firstly, I do not understand why you are writing into an unrelated issue, you should have created a new one.

It seems you are cross-compiling netopeer2 and so are largely on your own, there is no official guide for that. But the few words mentioning it will be helpful in this case.