I get this error when calling a web service:
"The remote server responded with an error: (407) Proxy authentication required."
I get a general idea and I can get the code to work by adding
myProxy.Credentials = NetworkCredential("user", "password", "domain");
or using DefaultCredentials in code. My problem is that the web service call works unchanged.
There seems to be a non-model solution involving Machine.config, but what is it? At the moment, I canβt get to the box machine.config file to see how it looks. I tried updating the machine.config file as follows, but I still get 407 error.
<system.net> <defaultProxy enabled="true" useDefaultCredentials="true"> <bypasslist> <clear /> </bypasslist> <proxy proxyaddress="myproxy:9000" usesystemdefault="false" bypassonlocal="true" autoDetect="False" /> </defaultProxy> </system.net>
chris Apr 05 2018-10-10T00: 00Z
source share