C# client does not coneect with server, but ua expert connects well.|OPC UA Standard|Forum|OPC Foundation

Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
C# client does not coneect with server, but ua expert connects well.
Hyeji Jeon
New Member
Forum Posts: 1
Member Since:
sp_UserOfflineSmall Offline
02/01/2023 - 18:36
sp_Permalink sp_Print

I'm a student who wants to create a digital twin environment using opc ua.

I purchased an opc ua server from a robot company. And Through this, i want to extract robot data and receive it to unity.

So I strated the first step, extracting data from the opc ua server, but i got an eerror right away.

The problem came when i was trying to extrat data from the server using a c# script.

The error message said connect error. So I tried other scirpts that I found on the internet, but the same error was repeated.

Also the C# scripts I used first was from where I bought the server, so it doesn't seem to be a problem wih the script.(because the company said it worked well when they tried it with same c# script )

The irony is that the server works well when connected as an UA Expert.

This is my first time using OPC UA, and I can't find the cause of the problem, so I want to ask for help.Cry

Randy Armstrong
Forum Posts: 1233
Member Since:
sp_UserOfflineSmall Offline
02/01/2023 - 22:44
sp_Permalink sp_Print

You can find working C# samples here:


See if you can get that to connect.

Note that you have to have a certificate configured for your client if you want to use security and UA server always requires security by default. You may be able connect if you disable security on the server temporarily.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online: Bastian Thomas
Guest(s) 29
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1219
Posts: 4064