该ServicePointManager不支持*计划的代理不支持、计划、ServicePointManager

2023-09-03 06:19:51 作者:眼底星河

我遇到的这个两个不同的变化:

I've encountered two different variations of this:

的ServicePointManager不支持代理计划代理 该ServicePointManager不支持HTTPS方式的代理

"The ServicePointManager does not support proxies of proxy scheme" "The ServicePointManager does not support proxies of HTTPS scheme"

我得到当客户端尝试通过代理连接到我们的web服务这个错误。我使用代理遇到这样的问题有几个客户,虽然我不知道是什么导致了它。代理设置与System.Net.WebProxy和默认凭据。

I get this error when a client attempts to connect to our webservices through a proxy. I've encountered this problem with a few clients using proxies, though I have no idea what's causing it. The proxy is set with System.Net.WebProxy and default credentials.

使用.net 1.1,与Microsoft.Web.Services2。

Using .Net 1.1, with Microsoft.Web.Services2.

任何一个知道什么引起的?

Any one know what could be causing this?

推荐答案

确定。确保代理服务器地址是pfixed用$ P $的http://似乎在所有我遇到迄今的情况下解决了这个问题。

OK. Making sure the proxy address is prefixed with "http://" Seems to have fixed this in all the cases I've come across so far.