HttpClient in Universal Windows app running on Windows 10 IOT Core throws Exception from HRESULT: 0x80072EFD

4

I´m using VS2015 to deploy a universal app to a Raspberry Pi 2 Model B running Windows 10 IOT Core (10.0.10240). Any usage of the HttpClient to call a WebService or retrieve some data like the following

HttpClient client = new HttpClient();
var re = await client.GetAsync("http://somehost/api/values/5");

yields an Exception from HRESULT: 0x80072EFD.

Capabilities

  • Internet (Client)
  • Internet (Client & Server)
  • Private Networks (Client & Server)

are set in the app manifest. Any suggestions?

c#
.net
dotnet-httpclient
win-universal-app
windows-10-iot-core
asked on Stack Overflow Sep 9, 2015 by Dominik

1 Answer

0

Experienced the 0x80072efd problem. Appeared to be something with proxy settings gone wrong. The following worked for me (from admin command prompt):

netsh winhttp reset proxy

answered on Stack Overflow Aug 5, 2016 by Paul0515

User contributions licensed under CC BY-SA 3.0