Skip to content

Problem on channel.OpenAsync() when using IP address #275

@hclf99

Description

@hclf99

I see a strange behavior on connection to my server: When using the IP address e.g. opc.tcp://xxx.xxx.xxx.xxx:4840 sometimes I get connected sometimes not (randomly), but instead when I use the PC Network name e.g. opc.tcp://MYDEFPC:4840 it always connects without problems.
Using:
channel = new ClientSessionChannel
(
clientDescription,
// no x509 certificates
null,
// no user identity
new AnonymousIdentity(),
// the OPC server
server, ===> using addressee as described above
// no encryption
SecurityPolicyUris.None
);
Using version 3.2.3 on NET 4.8

By the way: The older version of my application used "channel = new UaTcpSessionChannel" without problems for both addressing methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions