netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Netconf not reply OK when configuring xml.

Open Ray123456a opened this issue 2 years ago • 9 comments

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

Ray123456a avatar Sep 08 '23 06:09 Ray123456a

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

michalvasko avatar Sep 08 '23 06:09 michalvasko

My netopeer2-server is running with -t 500

Ray123456a avatar Sep 08 '23 06:09 Ray123456a

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

michalvasko avatar Sep 08 '23 06:09 michalvasko

image Still not work

Ray123456a avatar Sep 08 '23 06:09 Ray123456a

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.

michalvasko avatar Sep 08 '23 06:09 michalvasko

image

Ray123456a avatar Sep 08 '23 07:09 Ray123456a

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.

michalvasko avatar Sep 08 '23 07:09 michalvasko

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

13065166838 avatar Sep 12 '23 07:09 13065166838

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.

michalvasko avatar Sep 12 '23 07:09 michalvasko