为什么会出现此错误? HTTP错误407:需要代理身份验证

为什么会出现此错误? HTTP错误407:需要代理身份验证

问题描述:

我使用的是帖子

我正在使用wpad.dat文件中为argv [1]指定的代理ip. (#为保密)

I am using the proxy ip as specified in my wpad.dat file for argv[1]. (# for confidentiality)

return "PROXY 138.84.###.###:####";

我将我的用户名和密码用于argval [2]和[3].当我使用 http://google.com 时,它会吐出适当的标题信息.当我使用 http://shipcsx.com/pub_sx_mainpagepublic_jct/sx.shipcsxpublic/Main 它显示:HTTP错误407:需要代理身份验证.

I am using my username and password for argval[2] and [3]. When I use http://google.com it spits out the appropriate header information. When I use http://shipcsx.com/pub_sx_mainpagepublic_jct/sx.shipcsxpublic/Main it shows: HTTP Error 407: Proxy Authentication Required.

对于StackExchange,这可能不是问题.您可能需要对代理服务器有一定的了解才能正确地进行故障排除.在没有其他信息的情况下,我会直接猜测Google域(或其一部分)在代理服务器上被配置为受信任的站点.这允许请求完全绕过代理身份验证.

This may not be a question for StackExchange. You may need some visibility into your proxy server to troubleshoot properly. With no other information, I'll take an offhand guess that the Google domain (or part of it) is configured as a trusted site at the proxy. This allows a request to bypass proxy authentication entirely.