<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts by kiranbsiddaiah</title><link>https://forge.codesys.com/u/kiranbsiddaiah/</link><description>Recent posts by kiranbsiddaiah</description><language>en</language><lastBuildDate>Thu, 07 May 2026 08:27:51 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/u/kiranbsiddaiah/profile/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/6e785f0e78/?limit=25#3ba9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;And also we do not have any opc ua related license . Do we need to have a opc ua license to communicate with OPC UA server with username and password&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kiranbsiddaiah</dc:creator><pubDate>Thu, 07 May 2026 08:27:51 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com5ca419146b561a18396e627bf4b3def047d4bf5c</guid></item><item><title>CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/6e785f0e78/?limit=25#ffe3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm using codesys v3.5 sp21 software. I have downloaded the sample opc ua client project from &lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_uacapi_example.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_uacapi_example.html&lt;/a&gt; and i tested connecting to "prosys opc ua simulation server".&lt;/p&gt;
&lt;p&gt;Through Anonymous connection it is &lt;strong&gt;connecting&lt;/strong&gt; to server and can read data. &lt;/p&gt;
&lt;p&gt;Later tried to connect using &lt;strong&gt;username and password&lt;/strong&gt;. &lt;br/&gt;
First got a &lt;strong&gt;SECURITY_CHECKS_FAILED&lt;/strong&gt; error, trusted the client certificate in the server and this issue resolved.&lt;br/&gt;
Next got an &lt;strong&gt;INVALID_CERTIFICATE&lt;/strong&gt; error, trusted the server certificate in the client and this issue resolved.&lt;br/&gt;
After these two error it is not &lt;strong&gt;establishing&lt;/strong&gt; the connection and not giving any error messages.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;UAAsyncProp: UA.AsyncProperty := (tnTaskName:='UAClientTask', usiTaskPrio:=20, udiTaskInterval:=10000);&lt;br/&gt;
    UAPolicy: UA.SecurityPolicy := (sPolicy:=UA.OpcUa_SecurityPolicy.OpcUa_SecurityPolicy_Aes128Sha256RsaOaep, eSecurity:=UA.SECURITY_MODE.SIGN_AND_ENCRYPT);&lt;br/&gt;
    //UAPolicy: UA.SecurityPolicy := (sPolicy:=UA.OpcUa_SecurityPolicy.OpcUa_SecurityPolicy_None, eSecurity:=UA.SECURITY_MODE.NONE);&lt;br/&gt;
UAAuth: UA.UserNameAuth := (sUserName:=UAVars.sUser, sPassword:=UAVars.sPass);&lt;br/&gt;
    UAClient: UA.Client := (&lt;br/&gt;
        itfAsyncProperty:= UAAsyncProp, &lt;br/&gt;
        //sClientName:= 'MyOPC UA client name', //default: ‘CODESYS OPC UA Client’&lt;br/&gt;
        sURL:= UAVars.sURL,&lt;br/&gt;
        sSession:= UAVars.sSession,&lt;br/&gt;
        itfPolicy:= UAPolicy,&lt;br/&gt;
        itfAuth:=UAAuth,&lt;br/&gt;
        udiTimeout:= 100000&lt;br/&gt;
        //,itfNamespaceArray:= UAVars.itfNamespaceArray //optional use&lt;br/&gt;
    );&lt;br/&gt;
    -----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Please let me know if any additional information required.&lt;/p&gt;
&lt;p&gt;Thank you...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kiranbsiddaiah</dc:creator><pubDate>Thu, 07 May 2026 03:08:24 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com53324f1c510efa2fe8857e41c38b438661a06d10</guid></item><item><title>Unable to Connect To OPC Ua server through UserName identity</title><link>https://forge.codesys.com/tol/cforge/tickets/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Team, i'm using the codesys to create an opc ua client to read the data from "Prosys OPC UA server simulation" tool .. I can able to connect to the server with anonymous authentication ... &lt;br/&gt;
But when i tried to connect with user name authentication if fails to disconnect and does not return any errorID ... I have fixed security_check_failed error by trusting the client certificate on server side and also fixed invalid_certificate issue by trusting the server cetificate on client side .. After fixing these to error it fails to connect with NO_ERROR message. &lt;/p&gt;
&lt;p&gt;And i also noticed an error message like "Demo mode for CmpOPCUAClient started. Will expire and stop!" in the device log tab .&lt;/p&gt;
&lt;p&gt;please let me know the changes required to establish the connection ...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kiranbsiddaiah</dc:creator><pubDate>Wed, 06 May 2026 10:57:04 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com279c681319a2d3a3b6d112752b7074746771d9be</guid></item></channel></rss>