Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Discovery, Browsing, Browse Dialogs and Controls
- Exception when browsing KEPServerEX OPC UA server
Exception when browsing KEPServerEX OPC UA server
Please Log in or Create an account to join the conversation.
1. We are using QuickOPC version 2021.2 (5.61.241.1). Is it OK?
Yes.
2. See the attached config file of our application. Is it OK?
No. The <configSections> part (Point 1 in kb.opclabs.com/OPC_UA_.NET_SDK_Configuration ) is missing.
And, not sure if the positioning is relevant, but I suggest that you place any new stuff just above the final </configuration> closing tag.
3. Where should I place the UAClientEngine.Config_2021-07-05.xml file (after I change the <MaxBufferSize> from 65535 to 65536)?
In the same folder as the program's EXE and its .config file.
3.1. What should be the file name?
It does not matter. It just needs to match the name in the <filePath> element (Point 2 in kb.opclabs.com/OPC_UA_.NET_SDK_Configuration ).
3.2. Is it in the same folder where application exe file is?
Yes
3.3. Should we specify the file name of the above file in our config file (<FilePath>MyApplication.Config.xml</FilePath>)
Yes
Please Log in or Create an account to join the conversation.
One more question:
Should the file UAClientEngine.Config_2021-07-05.xml be:
MyFileName.config.xml
or
MyFileName.xml
?
Thank you.
Michael
Please Log in or Create an account to join the conversation.
Thank you for your answer.
Few questions:
1. We are using QuickOPC version 2021.2 (5.61.241.1). Is it OK?
2. See the attached config file of our application. Is it OK?
3. Where should I place the UAClientEngine.Config_2021-07-05.xml file (after I change the <MaxBufferSize> from 65535 to 65536)?
3.1. What should be the file name?
3.2. Is it in the same folder where application exe file is?
3.3. Should we specify the file name of the above file in our config file (<FilePath>MyApplication.Config.xml</FilePath>)
Thank you.
Michael
Please Log in or Create an account to join the conversation.
The (yet unchanged) internal SDK configuration file from QuickOPC 2021.2 is attached.
Best regards
Please Log in or Create an account to join the conversation.
Our customer can't upgrade the OPC server since this is a production environment. You suggested that there are ways to work around. Can you please advise?
Thank you.
Michael
Please Log in or Create an account to join the conversation.
Thank you for your answer!
I have installed KepServer version V6.10.623.0 and it works perfect.
Thank you!
Michael
Please Log in or Create an account to join the conversation.
regarding the error "Message size 65536 bytes is too large for buffer of size 65535":
This is a bug in KEPServerEX. It negotiates a message size and then it violates the agreement by sending a larger message. I was able to prove it with KEPServerEX V6.1.655.0, and it works fine with their current version, which is V6.10.623.0. I then searched the Kepware release notes, and it is listed there: On www.kepware.com/en-us/support/release-notes/ , select Product = KEPServerEX and Version = 6.4.321.0 . It has this text under the Release notes:
OPC UA Server Interface
Resolved an issue where the server could send packets that exceeded the ReceiveBufferSize negotiated with the client in the OPC UA TCP Hello message.
(It does not happen with UaExpert because they happened to choose a buffer size that does not trigger the KEPServerEX bug.)
The best and proper resolution is thus to upgrade to latest KEPServerEX version, or at least V6.4.321.0.
If you could not upgrade the KEPServerEX, then there are ways to work around the problem which I can advise. In addition in QuickOPC 2021.3, we will add some mitigations too. There will be no change to QuickOPC 2021.2, because there is no bug to fix - the problem is on the server side.
Best regards
Please Log in or Create an account to join the conversation.
Michael
Please Log in or Create an account to join the conversation.
I will investigate and let you know here when I have more information.
Best regards
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Discovery, Browsing, Browse Dialogs and Controls
- Exception when browsing KEPServerEX OPC UA server