-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpClient not working after AOT #1883
Comments
Could you please share a short program that reproduces the problem, and version of the NativeAOT package that you are seeing this problem with? |
Hangs when calling below NativeAOT version : Microsoft.DotNet.ILCompiler 7.0.0-preview2.22152.2 |
I have tried this against https://www.bing.com and it works fine. Can you share the url2 of the server if it is public, or at least share what kind of server is it?
You may want to try our nightly build feed that is preview4 currently: https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/compiling.md#add-ilcompiler-package-reference . The problem might have been fixed already. |
censored url |
Hmm, this url works fine for me. Are you on Windows, Linux or macOS? |
that's strange, let me tried again |
it works now, probably i used the wrong version thanks Edit :
It is working fine now |
Compile to AOT using NativeAOT, method that uses system.net.http.httpclient pause when retrieving httpresponsemessage
Waited a long time and no output return
While compile using bflat it works. The URL is http not https
The text was updated successfully, but these errors were encountered: