The hostname could not be parsed

When i am trying to do the following using ipv6 it show me error {“Invalid URI: The hostname could not be parsed.”}

Uri uri = new UriBuilder("http://[fe80::5347:a502:462a:94d1]:80").Uri
VideoOS.Platform.SDK.Environment.Login(uri, IntegrationId, IntegrationName, Version, ManufacturerName);

it is working fine when i am using ipv4. Smart client work fine with using ipv6 but the sdk is throwing the error. i have also tried http://[fe80::5347:a502:462a:94d1%8]:80.

@Bo Ellegård Andersen (Milestone Systems)​ is there any bug in VideoOS.Platform.SDK.Environment.login() it giving the hostname parsing error? uribuilder already parsed it correctly.

I am asking Milestone Development to do a deeper investigation into this. I will let you know what we find.

@Bo Ellegård Andersen (Milestone Systems)​ Thanks. One more thing to add, even

VideoOS.Platform.SDK.Environment.IsServerConnected(uri) throw the same exception,

Milestone Development have developed a fix, this is fix will be in the next release of the MIP SDK which will be 2026 R1.

@Bo_Ellegard_Andersen

I have just tested 2026R1, but I am still getting the same ‘hostname could not be parsed’ error. I went through the 2026R1 release notes, but there is no mention of this issue.

Dear Awais,
Thank you for the feedback and sorry for inconvenience. I have reported this to Milestone Development. We will get back to you as soon as we get updates from them.

We work on this, and we will get back to you when there’s update from Milestone Development.