alexrainman / ModernHttpClient

ModernHttpClient
MIT License
126 stars 28 forks source link

CLEARTEXT communication not enabled for client #76

Open luismts opened 3 years ago

luismts commented 3 years ago

HTTP requests throw an exception:

System.Net.Http.HttpRequestException: CLEARTEXT communication not enabled for client

Related https://github.com/alexrainman/ModernHttpClient/issues/49

I don't know what you mean by:

Use TLSConfig.DangerousAllowInsecureHTTPLoads property.

Also, you have deprecated that Feature in 3.4.2

[Android] Deprecating DangerousAllowInsecureHTTPLoads

What I can do in this case?

cc @alexrainman

luismts commented 3 years ago

This https://github.com/alexrainman/ModernHttpClient/issues/52 also doesn't work for me

dush135 commented 3 years ago

I am facing the same issue even though added the config file for the http domain.

InquisitorJax commented 3 years ago

same here. I've added all the necessary network_security_config settings + manifest file updates, but local IP connection using http is still not accessible. "CLEARTEXT communication not enabled for client"

alexrainman commented 3 years ago

Can you provide a demo reproducing the issue?