HttpClient in a universal Windows application running on Windows 10 IOT Core throw Exception from HRESULT: 0x80072EFD

I am using VS2015 to deploy a universal application for the Raspberry Pi 2 Model B running under Windows 10 IOT Core (10.0.10240). Any use of HttpClient to call a WebService or retrieve some data, such as

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

gives an exception to HRESULT: 0x80072EFD.

Capabilities

  • Internet (client)
  • Internet (client and server)
  • Private networks (client and server)

installed in the application manifest. Any suggestions?

+4
source share
1 answer

0x80072efd. - -. ( ):

netsh winhttp reset proxy

0

Source: https://habr.com/ru/post/1606661/


All Articles