<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/</id><updated>2024-11-12T14:38:55.233000Z</updated><subtitle>Recent posts to OPC UA C# client connecting to OPC UA CODESYS server</subtitle><entry><title>OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/?limit=25#b682/fa71" rel="alternate"/><published>2024-11-12T14:38:55.233000Z</published><updated>2024-11-12T14:38:55.233000Z</updated><author><name>dogulas</name><uri>https://forge.codesys.com/u/dogulas/</uri></author><id>https://forge.codesys.comc5b483ebc3861cd33d50b96308b1e58b59cb37df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;mainak, sorry, just saw your post.  I have done that and I still get the same exception.  the innerResult says "BadSecureChannelClosed 'Remote side closed connection'". Any other tips?  Pointers are welcome.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/?limit=25#b682" rel="alternate"/><published>2024-10-19T11:00:39.320000Z</published><updated>2024-10-19T11:00:39.320000Z</updated><author><name>mainak</name><uri>https://forge.codesys.com/u/mainak/</uri></author><id>https://forge.codesys.comf6e31f3ee78c93595f4861690a28cfe851691853</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;i could be due to security settings. In codesys IDE, go to device-&amp;gt; change run-time security policy, and click the checkbox that says "Allow anonymous login". try if this works.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/?limit=25#0c7a/f4fa" rel="alternate"/><published>2024-09-19T18:17:50.136000Z</published><updated>2024-09-19T18:17:50.136000Z</updated><author><name>dogulas</name><uri>https://forge.codesys.com/u/dogulas/</uri></author><id>https://forge.codesys.comb3414f3aef0cd40061815b48e0f1fa67c7841f41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;sadly, no&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/?limit=25#0c7a" rel="alternate"/><published>2024-09-18T14:38:01.614000Z</published><updated>2024-09-18T14:38:01.614000Z</updated><author><name>egau</name><uri>https://forge.codesys.com/u/egau/</uri></author><id>https://forge.codesys.com7246c2f369522a81cf1f8b85a5d6ff2312b6364e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;any updates on this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA C# client connecting to OPC UA CODESYS server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e13e290e29/?limit=25#e2d1" rel="alternate"/><published>2024-08-16T15:04:55.212000Z</published><updated>2024-08-16T15:04:55.212000Z</updated><author><name>dogulas</name><uri>https://forge.codesys.com/u/dogulas/</uri></author><id>https://forge.codesys.com6fb88e3a5cd440ff4bdc61625141fd05f29beb4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Noob alert!  I’m just getting my feet wet with CODESYS.&lt;br/&gt;
I have a “Hello World” project in the CODESYS IDE.  I’m using the Win SoftPLC on the same computer.  I’ve added a Communication Manager under the Application node.  Under that is “OPC UA Server -&amp;gt; IEC Symbol Publishing 01”.  I also added “OPC_UA_Symbols -&amp;gt; Information Model”.  I’m not sure I need the second thing.  I was grasping at straws.  I also set up several dummy symbols in the IEC Symbol Publishing 01 node.&lt;br/&gt;
In my C# application, I am trying to get an instance of EndpointDescription from CoreClientUtils.SelectEndpoint(“opc.tcp://localhost:1217/Gateway-1”, useSecurity: false, 15000).  I wasn’t sure about the “Gateway-1”.  I found that in the CODESYS IDE under the project -&amp;gt; Communication Settings.&lt;br/&gt;
When I execute the previous method call in C#, I get: “BadSecureChannelClosed”.  I have no idea what that means.  Any pointers to documentation are welcome.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>