NIS2012 proxy settings with pac file

Hi!

 

I use Norton Internet Security 2012, and would like to set the proxy server with a pac file. I created the pac file, and tried it with Microsoft Internet Explorer. It works fine. In NIS2012, I go to proxy server settings, put a tick to "Use automatic configuration script", and I set the URL as follows:

file://d:/proxy.pac

Behind a proxy server, I run live update, and it says "Unable to connect to the LiveUpdate server", like when I don't set the proxy server. When I connect to the internet directly, live update can connect.

In Windows I set full access to everyone on this file. I monitored the file with MS Process Monitor, but it's not accessed by any process. I monitored ccsvcsht.exe and it didnt try to find any "proxy.pac" file.

I think I tried everything in the NIS proxy server settings to make it work. If I set the proxy server manually, then LiveUpdate can connect. If i host the proxy.pac file on my local web server (IIS), and in NIS proxy server settings I set the URL: http://localhost/proxy.pac, then it works fine.

So the pac file is correct, but I suppose NIS ignores the "file://..." term.

I use Windows 7 Ultimate 64bit fresh install and NIS2012 19.5.0.145

Previously I tried it on Windows 7 Ultimate 32 bit with NIS2011 and NIS2012, and the problem was the same.

 

Any help would be appreciated,

Thanks in advance,

Sunny

Like I said, I never had to set one up, but it sure looks incorrect to me.

Internet and network paths use forward slashes /  but local paths use back slashes \

Seems to me for a local file it should not be file://d:/proxy.pac  It should be file://d:\proxy.pac

NIS help says: "Use the URL box to provide the HTTP URL or the script to the required PAC file (such as file://C:/Proxy.pac)."

But I tried it with backslash too. It didn't work. Anyway, thx for the advice.


Sunny83 wrote:

NIS help says: "Use the URL box to provide the HTTP URL or the script to the required PAC file (such as file://C:/Proxy.pac)."

But I tried it with backslash too. It didn't work. Anyway, thx for the advice.


It seems to want http(s) web URL (works), not local file URL (did not work).

Hi!

 

Is this problem forwarded to the Symantec developers, or do I need to write to the support?

 

Thx,

Sunny

The help contents incorrectly listed local file support, but has been updated to reflect HTTP based configuration only. 

Apologies for the confusion.

 

See MSDN for details:

http://msdn.microsoft.com/en-us/library/aa384097(VS.85).aspx

ERROR_WINHTTP_UNRECOGNIZED_SCHEME: The URL of the PAC file specified a scheme other than "http:" or "https:"

 

Please also note that not all the PAC capabilities available to IE / FF / Chrome etc. is available in NIS:

WinHttpGetProxyForUrl supports only ECMAScript-based PAC files.

 

 

Please report back of HTTP still does not work.



Pieter

 

 

Thanks for the detailed information, I see it's a common problem with winhttp api. I'll write to the product suggestion topic, and ask for local pac file support or more proxy options.

 

The HTTP URL works.

 

Sunny

Hi!

 

I use Norton Internet Security 2012, and would like to set the proxy server with a pac file. I created the pac file, and tried it with Microsoft Internet Explorer. It works fine. In NIS2012, I go to proxy server settings, put a tick to "Use automatic configuration script", and I set the URL as follows:

file://d:/proxy.pac

Behind a proxy server, I run live update, and it says "Unable to connect to the LiveUpdate server", like when I don't set the proxy server. When I connect to the internet directly, live update can connect.

In Windows I set full access to everyone on this file. I monitored the file with MS Process Monitor, but it's not accessed by any process. I monitored ccsvcsht.exe and it didnt try to find any "proxy.pac" file.

I think I tried everything in the NIS proxy server settings to make it work. If I set the proxy server manually, then LiveUpdate can connect. If i host the proxy.pac file on my local web server (IIS), and in NIS proxy server settings I set the URL: http://localhost/proxy.pac, then it works fine.

So the pac file is correct, but I suppose NIS ignores the "file://..." term.

I use Windows 7 Ultimate 64bit fresh install and NIS2012 19.5.0.145

Previously I tried it on Windows 7 Ultimate 32 bit with NIS2011 and NIS2012, and the problem was the same.

 

Any help would be appreciated,

Thanks in advance,

Sunny