Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating new channel #274

Open
krstev89 opened this issue Mar 27, 2024 · 0 comments
Open

Error creating new channel #274

krstev89 opened this issue Mar 27, 2024 · 0 comments

Comments

@krstev89
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant