Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Unobserved Task Exception when Using EasyUAClient - by: gkalipershad

$
0
0
QuickOPC 5.70.1012
.NET 6.0
VS2022
Windows 10.0.22621

The user set up a sample application that sets some shared static properties when the application starts, while also kicking off a task to do some other things. Once the GC kicks in, we see an Unobserved Task Exception occur around DNS. This only happens when there is an EasyUAClient object instantiated.

The following error is generated: Unobserved Task Exception: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostname')

I have attached a sample Console application that highlights the problem. Please let us know if the error stems from something we are doing incorrectly, or if there is something happening under the hood with the EasyUAClient Object.

Viewing all articles
Browse latest Browse all 1794

Trending Articles