{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/743","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/743/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/743/events","html_url":"https://github.com/dotnet/standard/issues/743","id":324808507,"number":743,"title":"HttpClient exception when using .Net standard 2.0 library with UWP application(Targeting Build 16299) ","user":{"login":"aknpmhub","id":38721302,"avatar_url":"https://avatars1.githubusercontent.com/u/38721302?v=4","gravatar_id":"","url":"https://api.github.com/users/aknpmhub","html_url":"https://github.com/aknpmhub","followers_url":"https://api.github.com/users/aknpmhub/followers","following_url":"https://api.github.com/users/aknpmhub/following{/other_user}","gists_url":"https://api.github.com/users/aknpmhub/gists{/gist_id}","starred_url":"https://api.github.com/users/aknpmhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknpmhub/subscriptions","organizations_url":"https://api.github.com/users/aknpmhub/orgs","repos_url":"https://api.github.com/users/aknpmhub/repos","events_url":"https://api.github.com/users/aknpmhub/events{/privacy}","received_events_url":"https://api.github.com/users/aknpmhub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-21T06:59:36Z","updated_at":"2018-05-21T10:45:08Z","closed_at":"2018-05-21T10:45:08Z","author_association":"NONE","body":"Hello .NET Standard Team,\r\nI'm not sure the right way/place to ask this question but I'm hoping you can help me out or point me in the right direction.\r\n\r\nI am using a .Net standard library 2.0 which talks to a REST endpoint using HttpClient POST. I am using client.SendAsync with HttpRequestMessage and awaiting the call. The library is referenced in a UWP app and i am invoking the POST method to get response from REST endpoint.\r\n\r\nI am always getting following exception and have not been able to find any clues or any details about this error. Please note that the machine where i am running this is in network and i am able to hit the REST endpoint via browser. Also UWP app has all necessary capabilities(internet,client/server) enabled.\r\n\r\nHas anyone faced similar issue?  \r\nException Details:\r\n\r\nex = {System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Runtime.InteropServices.COMException: The text associated with this error code could not be found.\r\nA connection with the server could not be established\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n  ...   at System.Net.Http.HttpClientHandler.<SendAsync>d__111.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at HttpTest.Client.<GetEndpoint>d__11.MoveNext()\r\n\r\nThank you,\r\nAkshay."}}
{"actor":{"display_login":"aknpmhub"}}