<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	    <channel>
        <title>Prosys Forum - Forum: OPC Client</title>
        <link>https://forum.prosysopc.com/forum/opc-client/</link>
        <description><![CDATA[Prosys OPC &#038; OPC UA related discussion]]></description>
        <generator>Simple:Press Version 6.11.11</generator>
        <atom:link href="https://forum.prosysopc.com/forum/opc-client/rss/" rel="self" type="application/rss+xml"/>
		                <item>
                    <title>Bjarne Boström on Issue calling a method with no input arguments in Prosys OPC UA Simulation Server</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/issue-calling-a-method-with-no-input-arguments-in-prosys-opc-ua-simulation-server/#p7368</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/issue-calling-a-method-with-no-input-arguments-in-prosys-opc-ua-simulation-server/#p7368</guid>
					                        <description><![CDATA[<p>Hi,</p>
<p>Sorry for a late answer. Can you try the Method call with <a href="https://prosysopc.com/products/opc-ua-browser/" rel="nofollow" target="_blank"><a href="https://prosysopc.com/products" rel="nofollow">https://prosysopc.com/products</a>.....a-browser/</a> (r-click the method node in the address space tree)? I could not reproduce the problem (using Browser). Can you verify via <a href="https://prosysopc.com/blog/opc-ua-wireshark/" rel="nofollow" target="_blank"><a href="https://prosysopc.com/blog/opc" rel="nofollow">https://prosysopc.com/blog/opc</a>.....wireshark/</a> (or the Req/Res Log tab in Simulation Server) that the Method Call request actually arrived in the server? Sometimes the statuscodes are also used to indicate client-side issues.</p>
]]></description>
					                    <pubDate>Mon, 07 Jul 2025 19:36:40 +0300</pubDate>
                </item>
				                <item>
                    <title>berina123 on Issue calling a method with no input arguments in Prosys OPC UA Simulation Server</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/issue-calling-a-method-with-no-input-arguments-in-prosys-opc-ua-simulation-server/#p7363</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/issue-calling-a-method-with-no-input-arguments-in-prosys-opc-ua-simulation-server/#p7363</guid>
					                        <description><![CDATA[<p>Hi,<br />
I have a question regarding the use of the Prosys OPC UA Simulation Server for testing method calls.</p>
<p>I created a method inside the Simulation folder. This method is designed not to have any input arguments, since I don’t want the function to accept any. As an output argument, I’ve defined a scalar String, similar to an example I found on the OPC UA website. For the SET action, I configured it to assign a constant value from the simulation folder to a specific variable (just for simple testing).</p>
<p>On the client side, my code for calling the method looks like this:</p>
<p>UA_Variant *output;<br />
size_t outputSize;</p>
<p>UA_StatusCode retval = UA_Client_call(client,<br />
    UA_NODEID_STRING(3, "85/0:Simulation"),  // Parent object<br />
    UA_NODEID_NUMERIC(3, 1011),              // Method NodeId<br />
    0, NULL,                                 // No input arguments<br />
    &#038;outputSize,<br />
    &#038;output);</p>
<p>if(retval == UA_STATUSCODE_GOOD) {<br />
    printf("Method call succeeded. Output count: %lu<br />
", (unsigned long)outputSize);<br />
    // Handle output<br />
    UA_Array_delete(output, outputSize, &#038;UA_TYPES[UA_TYPES_VARIANT]);<br />
} else {<br />
    printf("Method call failed. StatusCode: 0x%08x<br />
", retval);<br />
}</p>
<p>However, this call fails with status code: 0x80020000 (BadInternalError).</p>
<p>Interestingly, when I define another method that does have one input argument (e.g., a Double), it works perfectly fine using the same approach.<br />
The only difference between the two methods is that this one doesn’t take any input arguments.</p>
<p>Could someone help me understand what I might be missing in the configuration of the method with no inputs?<br />
Do I still need to define an empty InputArguments property explicitly for methods without inputs?</p>
<p>Thanks in advance!</p>
]]></description>
					                    <pubDate>Fri, 20 Jun 2025 19:52:17 +0300</pubDate>
                </item>
				                <item>
                    <title>Jouni Aro on How do I make the client trust the certificate?</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7222</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7222</guid>
					                        <description><![CDATA[<p>Further analysis reveals that the server certificate is missing the keyCertSign flag, although it is a self-signed certificate. This is required in the OPC UA specification:</p>
<p><a href="https://reference.opcfoundation.org/Core/Part6/v105/docs/6.2.2" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....docs/6.2.2</a></p>
]]></description>
					                    <pubDate>Mon, 04 Nov 2024 18:29:26 +0200</pubDate>
                </item>
				                <item>
                    <title>Jouni Aro on How do I make the client trust the certificate?</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7218</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7218</guid>
					                        <description><![CDATA[<p>The client needs to trust the server certificate and the server needs to trust the client certificate.</p>
<p>If the client does not accept the certificate, it will prompt the user.</p>
<p>If cvcValidity is missing, it indicates that the certificate has probably been expired.<br />
So, if you can find it from the rejected certificates in the disk, you can check the validity period of it. And if that turns out to be the case, you need to find out how to renew the server certificate.</p>
]]></description>
					                    <pubDate>Wed, 30 Oct 2024 17:54:03 +0200</pubDate>
                </item>
				                <item>
                    <title>ChenYK on How do I make the client trust the certificate?</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7213</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/how-do-i-make-the-client-trust-the-certificate/#p7213</guid>
					                        <description><![CDATA[<p>I'm learning OPC UA.<br />
I executed the sample program provided by ProsysOPC-Sentrol_780B881: ProsysOPC.UaSampleClient.<br />
Every time I use it to log into the machine's OPC server, I get a Bad_CertificateUntrusted error message.<br />
When I enter User/Password through the dialog box of the sample program and click ,<br />
I can browse the nodes provided by the OPC server normally.<br />
The OPC server manufacturer told me that the Client needs to trust the certificate at least once.</p>
<p>I tracked the program and found that the PassedChecks returned by UaClient.OnValidateCertificate lacked the status of cvcTrusted and cvcValidity.<br />
How do I make the client trust the certificate?</p>
]]></description>
					                    <pubDate>Wed, 30 Oct 2024 10:40:30 +0200</pubDate>
                </item>
				                <item>
                    <title>SpasBelev on OPC UA General errors description</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5998</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5998</guid>
					                        <description><![CDATA[<p>Hello, thank you, I will check the provided references. Apologies but new to the forum and was not sure in which section.</p>
]]></description>
					                    <pubDate>Wed, 27 Apr 2022 13:14:54 +0300</pubDate>
                </item>
				                <item>
                    <title>Matti Siponen on OPC UA General errors description</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5997</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5997</guid>
					                        <description><![CDATA[<p>Hello,</p>
<p>The OPC UA Specification (available online at <a href="https://reference.opcfoundation.org/" rel="nofollow" target="_blank">https://reference.opcfoundation.org/</a>) defines how StatusCodes are supposed to be used in Client-Server communication consisting of Service requests and responses. Part 4 (<a href="https://reference.opcfoundation.org/Core/docs/Part4/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....ocs/Part4/</a>) in specific defines the Services that Servers provide to Clients and which StatusCodes Servers should be using when there are errors. Some specialized parts of the Specification such as Data Access (<a href="https://reference.opcfoundation.org/Core/docs/Part8/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....ocs/Part8/</a>) and Alarms &#038; Conditions (<a href="https://reference.opcfoundation.org/Core/docs/Part9/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....ocs/Part9/</a>) also define additional StatusCodes and how to use them.</p>
<p>There are currently over 200 StatusCodes in the Specification (<a href="https://github.com/OPCFoundation/UA-Nodeset/blob/v1.04/Schema/StatusCode.csv" rel="nofollow" target="_blank"><a href="https://github.com/OPCFoundati" rel="nofollow">https://github.com/OPCFoundati</a>.....usCode.csv</a>). To understand how StatusCodes are used, you will need to read Part 4 for the StatusCodes used in common Client-Server communication and other parts that are relavant to your Client application, e.g. if your Client supports Historical Access, you will need to read Part 11 (<a href="https://reference.opcfoundation.org/Core/docs/Part11/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....cs/Part11/</a>) for StatusCodes related to reading historical data and so on.</p>
<p>P.S.<br />
This section of the forum is for discussion related to Prosys OPC Client application. The correct place for this topic would've been the OPC UA SDK for Java section.</p>
]]></description>
					                    <pubDate>Wed, 27 Apr 2022 11:15:42 +0300</pubDate>
                </item>
				                <item>
                    <title>SpasBelev on OPC UA General errors description</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5995</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5995</guid>
					                        <description><![CDATA[<p>Hello, thank you for the response. I mean for <a href="https://www.prosysopc.com/products/opc-ua-java-sdk/technical-details/" rel="nofollow" target="_blank"><a href="https://www.prosysopc.com/prod" rel="nofollow">https://www.prosysopc.com/prod</a>.....l-details/</a> which we use for development. I want to understand, if possible, when and why(what are the conditions) the Bad_StatusCodes are generated and what they mean which might help us when facing problems.</p>
]]></description>
					                    <pubDate>Tue, 26 Apr 2022 22:24:34 +0300</pubDate>
                </item>
				                <item>
                    <title>Matti Siponen on OPC UA General errors description</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5993</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5993</guid>
					                        <description><![CDATA[<p>Hello,</p>
<p>Prosys OPC Client is not an OPC UA Client. What do you mean when you say "the OPC UA Client"? Do you mean OPC UA Clients in general or some specific OPC UA Client?</p>
<p>What do you mean with errors? Do you mean Bad StatusCodes? Some of them are listed in <a href="https://reference.opcfoundation.org/Core/docs/Part4/7.39.2/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....t4/7.39.2/</a> but more StatusCodes are defined in latter parts of the OPC UA Specification. If you mean something else with errors, please clarify what you mean.</p>
]]></description>
					                    <pubDate>Tue, 26 Apr 2022 18:44:18 +0300</pubDate>
                </item>
				                <item>
                    <title>SpasBelev on OPC UA General errors description</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5992</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/opc-ua-general-errors-description/#p5992</guid>
					                        <description><![CDATA[<p>Hello, wanted to ask if there is a documentation describing the errors being raised bi the OPC UA Client like thresholds, different reasons etc.</p>
]]></description>
					                    <pubDate>Tue, 26 Apr 2022 18:17:58 +0300</pubDate>
                </item>
				                <item>
                    <title>Jimmy Ni on Problem with new UaSdkCClient 1.9.2 version</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/problem-with-new-uasdkcclient-1-9-2-version/#p5676</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/problem-with-new-uasdkcclient-1-9-2-version/#p5676</guid>
					                        <description><![CDATA[<p>Hello,<br />
The default value for "SecureConnection_MinRevisedSecureChannelLifetime" is 300000 in the client config file and in the SDK:<br />
/** @brief The minimum lifetime of a secure channel security token in milliseconds. */<br />
#ifndef OPCUA_SECURITYTOKEN_LIFETIME_MIN<br />
1.	define OPCUA_SECURITYTOKEN_LIFETIME_MIN 300000<br />
#endif /* OPCUA_SECURITYTOKEN_LIFETIME_MIN */<br />
/** @brief The minimum revised lifetime of a secure channel security token in milliseconds (for clients). */<br />
#ifndef OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN<br />
1.	define OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN OPCUA_SECURITYTOKEN_LIFETIME_MIN<br />
#endif /* OPCUA_SECURITYTOKEN_REVISED_LIFETIME_MIN */<br />
Also, there would be fallback to default value 300000 incase "SecureConnection_MinRevisedSecureChannelLifetime" is set to -1 in the configuration.<br />
The reported error indicates that "SecureConnection_MinRevisedSecureChannelLifetime" is set to invalid value "4294967040".<br />
So the changes made in the default configuration should be checked to figure out where "4294967040" comes from because it does not come from the SDK.</p>
]]></description>
					                    <pubDate>Fri, 15 Oct 2021 17:07:14 +0300</pubDate>
                </item>
				                <item>
                    <title>Jimmy Ni on Building an OPC UA client in Azure DevOps targeting an Ubuntu based Docker image </title>
                    <link>https://forum.prosysopc.com/forum/opc-client/building-an-opc-ua-client-in-azure-devops-targeting-an-ubuntu-based-docker-image/#p5674</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/building-an-opc-ua-client-in-azure-devops-targeting-an-ubuntu-based-docker-image/#p5674</guid>
					                        <description><![CDATA[<p>Hello,<br />
Yes, you are right. If the Linux distribution supports .NET Core, then we can expect that .NET SDK will work.</p>
]]></description>
					                    <pubDate>Thu, 14 Oct 2021 16:53:20 +0300</pubDate>
                </item>
				                <item>
                    <title>UlrichFM on Problem with new UaSdkCClient 1.9.2 version</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/problem-with-new-uasdkcclient-1-9-2-version/#p5673</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/problem-with-new-uasdkcclient-1-9-2-version/#p5673</guid>
					                        <description><![CDATA[<p>Hello, i was using the UaSdkCClient 1.9.1 version on linux without any problem but now when i tried to upgrade to the 1.9.2 version, i can't even connect me to the PLC. The errror i get is  :<br />
*****************************************************<br />
405&#124;W&#124;96358280* ProcessOpenSecureChannelResponse: revised lifetime 3600000 below limit 4294967040.<br />
.405&#124;W&#124;96358280* ProcessOpenSecureChannelResponse: Handling error 0x80AB0000.<br />
:OPC_ConnectError_CB:<br />
:    ServiceType: OpenSecureChannel<br />
:    Error: 0x80ab0000<br />
:    Overridable: false<br />
*****************************************************<br />
even after several reconnection attempts the same errors appears.<br />
To fix it, i tried these 3 methods :<br />
1) I change the SecureChannelLifetime (by example to 4294967041) in the client_settings.conf file but the errors appears again : "revised lifetime 3600000 below limit 4294967040."<br />
2) I manually change the SecureChannelLifetime of the UaClient_Session but the errors appears again : "revised lifetime 3600000 below limit 4294967040."<br />
3) I manually change the SecureChannelLifetime of theUaClient_Configuration but the errors appears again : "revised lifetime 3600000 below limit 4294967040."</p>
<p>I realized that no matter where I try to change the SecureChannelLifetime (to make it superior than the limit 4294967040 mentioned in the error message), my change does not take effect and it is always the value 3600000 that remains. Can you tell me where to really modify it or how to solve my problem please.</p>
<p>Thanks</p>
]]></description>
					                    <pubDate>Thu, 14 Oct 2021 15:37:05 +0300</pubDate>
                </item>
				                <item>
                    <title>pena67 on Building an OPC UA client in Azure DevOps targeting an Ubuntu based Docker image </title>
                    <link>https://forum.prosysopc.com/forum/opc-client/building-an-opc-ua-client-in-azure-devops-targeting-an-ubuntu-based-docker-image/#p5662</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/building-an-opc-ua-client-in-azure-devops-targeting-an-ubuntu-based-docker-image/#p5662</guid>
					                        <description><![CDATA[<p>Hi,</p>
<p>is it possible to build an OPC UA Client using the .NET Client SDK targeting an Ubuntu based Docker image in Azure DevOps? Are there any restrictions I should be aware of? I assume that any Linux distribution being supported by .NET Core should be feasible as well in case it works with Ubuntu?</p>
<p>Best,</p>
<p>Pena67</p>
]]></description>
					                    <pubDate>Tue, 12 Oct 2021 18:48:02 +0300</pubDate>
                </item>
				                <item>
                    <title>Matti Siponen on Update node on server from client</title>
                    <link>https://forum.prosysopc.com/forum/opc-client/update-node-on-server-from-client/#p5506</link>
                    <category>OPC Client</category>
                    <guid isPermaLink="true">https://forum.prosysopc.com/forum/opc-client/update-node-on-server-from-client/#p5506</guid>
					                        <description><![CDATA[<p>Hello,</p>
<p>As the name of the StatusCode suggests there has been a mismatch of data types. This StatusCode is returned by Write Service when attempting to Write a value with DataType that isn't the same or a subtype of the target Attribute's DataType. Verify that the value you're attempting to write has a proper DataType. See <a href="https://reference.opcfoundation.org/Core/docs/Part4/5.10.4/" rel="nofollow" target="_blank"><a href="https://reference.opcfoundatio" rel="nofollow">https://reference.opcfoundatio</a>.....t4/5.10.4/</a> for more information on the Write Service.</p>
]]></description>
					                    <pubDate>Fri, 02 Jul 2021 12:29:10 +0300</pubDate>
                </item>
				    </channel>
	</rss>
