I've observed this behavior on HoloLens, so I don't know if this affects other devices as well, but if the HoloLens is connected to WLAN and via USB to a PC, attempting a connection via 127.0.0.1:10080 fails. The connection status says "connected", but after that I get a bunch of exceptions. I've printed out the status on the ConnectionChanged event, here's the output:
DeterminingConnectionRequirements Connecting Checking secure connection requirements
UpdatingDeviceAddress Connecting Updating device connection
Idle Connected Device connection established
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.dll
Exception thrown: 'System.ObjectDisposedException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.Http.HttpRequestException' in mscorlib.dll
Exception thrown: 'System.Net.Http.HttpRequestException' in mscorlib.dll
Exception thrown: 'System.Net.Http.HttpRequestException' in mscorlib.dll
Exception thrown: 'System.Net.Http.HttpRequestException' in mscorlib.dll
Exception thrown: 'System.Net.Http.HttpRequestException' in mscorlib.dll
An error occurred while sending the request.
Exception thrown: 'System.Net.Http.HttpRequestException' in WpfDevicePortal.exe
I've observed that somewhere in the connection process DevicePortal.Address (which is 127.0.0.1:10080 initially) is replaced with the address of the access point the HoloLens is connected to. Does anyone know why this is happening?
I've observed this behavior on HoloLens, so I don't know if this affects other devices as well, but if the HoloLens is connected to WLAN and via USB to a PC, attempting a connection via 127.0.0.1:10080 fails. The connection status says "connected", but after that I get a bunch of exceptions. I've printed out the status on the ConnectionChanged event, here's the output:
I've observed that somewhere in the connection process DevicePortal.Address (which is 127.0.0.1:10080 initially) is replaced with the address of the access point the HoloLens is connected to. Does anyone know why this is happening?