<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts by kiranbsiddaiah</title><link href="https://forge.codesys.com/u/kiranbsiddaiah/" rel="alternate"></link><link href="https://forge.codesys.com/u/kiranbsiddaiah/profile/feed.atom" rel="self"></link><id>https://forge.codesys.com/u/kiranbsiddaiah/</id><updated>2026-05-07T08:27:51Z</updated><subtitle>Recent posts by kiranbsiddaiah</subtitle><entry><title>CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6e785f0e78/?limit=25#3ba9" rel="alternate"></link><published>2026-05-07T08:27:51Z</published><updated>2026-05-07T08:27:51Z</updated><author><name>kiranbsiddaiah</name><uri>https://forge.codesys.com/u/kiranbsiddaiah/</uri></author><id>https://forge.codesys.com5ca419146b561a18396e627bf4b3def047d4bf5c</id><summary type="html">&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;</summary></entry><entry><title>CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6e785f0e78/?limit=25#ffe3" rel="alternate"></link><published>2026-05-07T03:08:24Z</published><updated>2026-05-07T03:08:24Z</updated><author><name>kiranbsiddaiah</name><uri>https://forge.codesys.com/u/kiranbsiddaiah/</uri></author><id>https://forge.codesys.com53324f1c510efa2fe8857e41c38b438661a06d10</id><summary type="html">&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;</summary></entry><entry><title>Unable to Connect To OPC Ua server through UserName identity</title><link href="https://forge.codesys.com/tol/cforge/tickets/34/" rel="alternate"></link><published>2026-05-06T10:57:04Z</published><updated>2026-05-06T10:57:04Z</updated><author><name>kiranbsiddaiah</name><uri>https://forge.codesys.com/u/kiranbsiddaiah/</uri></author><id>https://forge.codesys.com279c681319a2d3a3b6d112752b7074746771d9be</id><summary type="html">&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;</summary></entry></feed>