Skip to content
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

BadTooManyPublishRequests #188

Open
Polyteres opened this issue Sep 20, 2024 · 1 comment
Open

BadTooManyPublishRequests #188

Polyteres opened this issue Sep 20, 2024 · 1 comment

Comments

@Polyteres
Copy link

Hi,

We have an OPC server based on the sample server from this library and we are getting this message without any defined pattern (the application can be running without problems for hours). As workarounds we have increased the number of clients when we created the server to 400, the timeout to 40 and the MaxPublishRequests of the class NetDispatcherBase to 8192 but we still get this error. Is there any limitation in this regard?.

20240919 h1033 Anomalia Server OPC-UA su console Microcom

Best Regards, Borja Navarro.

@nauful
Copy link
Owner

nauful commented Sep 20, 2024

Hello,

It looks like the client is repeatedly sending a request for a publish but these requests are never satisfied. You should normally see:

  1. Client sends a publish request.
  2. Server writes new data.
  3. Client receives a publish response to the request with the new data.
  4. Client acknowledges 3 while sending another publish request.

It looks like this is happening:

  1. Client sends a publish request.
  2. None are used to send the client data.
  3. Client does 1 again (which is incorrect behaviour).

If you can send me a wireshark capture with security disabled, I can take a look. Also pushed an update which fixes the count in the logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants