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
- Reading, Writing, Subscriptions
- Possible Session Timeout before SessionTimeout is hit
Possible Session Timeout before SessionTimeout is hit
Please Log in or Create an account to join the conversation.
Many Thanks!
Please Log in or Create an account to join the conversation.
This appears to be a bug on our side. We will fix it in version 2018.3; below is a workaround (tested with 2018.2).
Place the following XML snippet into the UA SDK configuration file, as sub-element of <SecurityConfiguration>:
<!-- The directory used to store invalid certficates for later review by the administrator. -->
<RejectedCertificateStore>
<StoreType>Directory</StoreType>
<StorePath>%CommonApplicationData%\OPC Foundation\CertificateStores\RejectedCertificates</StorePath>
</RejectedCertificateStore>
I hope this helps
Best regards
Please Log in or Create an account to join the conversation.
Information(132): OPC-UA engine SDK configuration successfully provided by "OpcLabs.EasyOpc.UA.Toolkit.AppConfigSdkConfigurationProvider".
Error(1): INTERNAL ERROR. The OPC-UA engine might be in an unstable state.
An exception of type 'System.NullReferenceException' from source 'OpcLabs.EasyOpcUA' has occurred in OPC-UA guarded operation 'UAClientEngineBase.BeginExternalConnect'. The exception descend follows.
(1) {System.NullReferenceException} OpcLabs.EasyOpcUA(UpdateFrom) -> Object reference not set to an instance of an object.
Please Log in or Create an account to join the conversation.
ValueResult[] readResults = client.ReadMultipleValues(readNodes.ToArray());
I've switched to version 2018.1 to see if this might help but the behavior is the same.
I am using the config.xml file you linked to here www.opclabs.com/forum/ua-reading-writing-subscriptions/1781-...re-than-1-minute?start=10#3952 without any modifications. (just the name of the file)
The app.config file now contains:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="UAClientEngine" type="Opc.Ua.ApplicationConfigurationSection,Opc.Ua.Core" />
</configSections>
<UAClientEngine>
<ConfigurationLocation xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
<FilePath>yyyTestClient.config.xml</FilePath>
</ConfigurationLocation>
</UAClientEngine>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
Please Log in or Create an account to join the conversation.
this will probably be the OperationTimeout which is not not yet configurable by the parameters, but by a different procedure.
See opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...plication%20Configuration.html .
And some related old posts e.g. Best regards
Please Log in or Create an account to join the conversation.
I've tried increasing all timeouts I was able to find, but am seeing the EasyUAClient send a Close Session request after exactly 10 minutes and 6 seconds (watching the traffic in a Wireshark), and I am catching a BadRequestTimeout - is there a timeout I am missing, and the session is being closed as a result (instead of being the cause of the timeout)
This is not the exact code being used, but is the same where it matters:
client = new EasyUAClient();
client.Isolated = true;
client.IsolatedAdaptableParameters.Session.CloseTimeout = 120000000;
client.IsolatedAdaptableParameters.Session.SessionTimeout = 120000000;
client.IsolatedAdaptableParameters.Session.SessionConnectTimeout = 120000000;
resultList.Add(client.ReadMultipleValues(readArray));
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- Possible Session Timeout before SessionTimeout is hit