Skip to content

Error creating new channel #274

@krstev89

Description

@krstev89

Hi.
With the latest version of UA client I have the following error:

Error Code: -2147467261-
Error: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object.

this._channel = new ClientSessionChannel(
appDescription,
certificateStore,
this.userIdentity,
this.Info.discoveryUrl,
SecurityPolicyUris.None,
null,
uaTcpSessionChannelOptions
);

User identity is set with username and password, and also tried with all the security policies and received always the same error.
After this we cannot open the channel.

await this._channel.OpenAsync();

It fails all the time because the channel is null.

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