Received an unexpected EOF or 0 bytes from the transport stream. (Previous Answers to the Same Question Doesn't Apply)
问题 I get this InnerException with below Exception Tree; My Code is; public T GetQueryResultsFromQuery<T>(string query) { try { HttpClient client = new HttpClient(); System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3; var results = client.GetAsync(query).GetAwaiter().GetResult(); // error happens here return _jsonHelper.DeserializeObject<T>(results.Content.ReadAsStringAsync().GetAwaiter(