Open ty793941 opened 8 months ago
i found two:
I has used the VPN,influenced me。Then close VPN:
//it's working.
var s = await httpClient.GetAsync("http://www.baidu.com");
//it's working.
var s1 = httpClient.GetAsync("http://localhost:8001/home/getenv").Result;
//it's report the exception
var s1 = httpClient.GetAsync("http://127.0.0.1:8001/home/getenv").Result;
And it maybe not the dotnet issue.
operating system: macos 14.1 sonama dotnet : 7.0.2
Error Code:
The Exception:
When I haven't upgraded to macos 14.1,everything is ok,But when I upgraded to macos 14.1, all the HttpClient is error with the same exception 。
I create the new project,it‘s the same exception。
Please help me!