convertersystems / opc-ua-client

Visualize and control your enterprise using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
403 stars 119 forks source link

Basic256Sha256 Security Policy #271

Open sans-eng opened 8 months ago

sans-eng commented 8 months ago

return "Workstation.ServiceModel.Ua.Channels.ClientSessionChannel: Error: Error discovering endpoints of 'MainPLC'. Invalid URI: The format of the URI could not be determined." when using "http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256"

awcullen commented 8 months ago

Hello,

Could you share some of your code when you create a Subscription?

[Subscription(endpointUrl: "opc.tcp://localhost:48010", publishingInterval: 500, keepAliveCount: 20)]
public class MainViewModel : SubscriptionBase
{