ms-iot/iot-adk-addonkit

Proxy servers don't work on IoT Core

Closed this issue · 1 comments

We've attempted to configure proxy servers at an OS level (using registry settings common to Windows) with no affect. We also attempted to set proxy settings using netsh and that didn't work.

We've attempted to make web requests via a proxy from both PowerShell and the UWP runtime. Neither environment seem to respect the proxy settings configured for the device.

WebAuthenticationBroker in UWP doesn't allow the proxy server to be programmatically configured. As a result, there is no way to authenticate users with MSAL and Azure AD on Windows IoT Core if the device is sitting behind an internet proxy.

Tracking the MSAL related issue here:
AzureAD/microsoft-authentication-library-for-dotnet#1482

After looking at the potential issues here, we've discovered that our proxy settings as supplied by the server don't work on IoT Core.

Specifically this http://http=[ipaddr]:[httpport];https=[ipaddr]:[httpsport];ftp=[ipaddr]:[ftpport];socks=[ipaddr]:[socksport] doesn't work.

Proxy servers configured on Windows IoT Core only support configurations where all protocols go through the same port http://[ipaddr]:[port].