Answered by:
App-v Client 4.6 With WPAD script

Question
-
Hi,
Any one come across this problem? I am finding that if I setup my Internet Explorer by using a WPAD/PAC file instead of direct proxy setting, the APP-V 4.6 client tries to connect to the server through the proxy server instead of going direct. For example the App-v server is called appv.domain.com and the simple pac file is listed below. The proxy server show the connection from the client for a destinantion of http://appv.domain.com, but in the script, it should not go to the proxy server.
When the manual proxy settings are entered into the browser instead of the script, with the *.domain.com as a exception, all works fine.
function FindProxyForURL(url, host)
{
if (isPlainHostName(host) || dnsDomainIs(host, ".domain.com"))
return "DIRECT";
else
return "PROXY proxy.domain.com:8080";
}Hope Anyone can help :)
Tuesday, April 27, 2010 11:28 AM
Answers
-
Can we try to reproduce the issue while collecting a netmon trace? This would help nail down the issue. You can also use IE to connect to the application by its HTTP URL reference as we can see if certificate errors pop up.
Steve Thomas, SSEE, Microsoft
App-V/MED-V/SCVMM/SCCM/AppCompat
http://madvirtualizer.wordpress.com/
The App-V Team blog: http://blogs.technet.com/appv/
The MED-V Team Blog: http://blogs.technet.com/medv
The SCVMM Team blog: http://blogs.technet.com/scvmm/
“This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”- Proposed as answer by Steve Thomas (MSFT)Microsoft employee Friday, November 4, 2011 2:12 AM
- Marked as answer by Aaron.ParkerModerator Friday, November 16, 2012 11:15 PM
Sunday, October 16, 2011 4:20 AM
All replies
-
You could add a rule in the PAC file specifically for the App-V server. See the following site for some excellent documentation on PAC files: http://www.returnproxy.com/proxypac/
A rule for this situation might include:
if ((host == "appv.domain.local") { return "PROXY proxy1.company.net:8000"; }
Tuesday, April 27, 2010 4:28 PMModerator -
Hi Aaron,
Thanks for the reply, yes, nice idea, but I have tried putting the server into the script as a direct setting, the strange thing is, the script works perfect in Internet Explorer ( Windows 7 with IE8 ), the app-v 4.6 client reads this script, and does not work, it most like the app-v client does not process the host/domain name is has while reading the script.
If I can stop the APP-v 4.6 client from even reading the script in the first place, this would be a solution.
Thanks
- Edited by Lawrence Cleaver Wednesday, April 28, 2010 7:29 AM
Wednesday, April 28, 2010 7:00 AM -
Ah, I did see this issue last year some time, but can't remember the solution at the moment. I'll post back if I do.Wednesday, April 28, 2010 7:10 AMModerator
-
Any update on this ? we are experiencing the exact same issue.Wednesday, September 28, 2011 1:49 PM
-
Hello,
See this article;
/ZnackSaturday, October 1, 2011 2:45 PM -
Can we try to reproduce the issue while collecting a netmon trace? This would help nail down the issue. You can also use IE to connect to the application by its HTTP URL reference as we can see if certificate errors pop up.
Steve Thomas, SSEE, Microsoft
App-V/MED-V/SCVMM/SCCM/AppCompat
http://madvirtualizer.wordpress.com/
The App-V Team blog: http://blogs.technet.com/appv/
The MED-V Team Blog: http://blogs.technet.com/medv
The SCVMM Team blog: http://blogs.technet.com/scvmm/
“This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”- Proposed as answer by Steve Thomas (MSFT)Microsoft employee Friday, November 4, 2011 2:12 AM
- Marked as answer by Aaron.ParkerModerator Friday, November 16, 2012 11:15 PM
Sunday, October 16, 2011 4:20 AM