[pca] PCA proxy question

Martin Paul martin at par.univie.ac.at
Tue Mar 17 16:00:21 CET 2009


Jon,

So there's a web proxy and a pca proxy involved here. It will be hard to 
see what's wrong remotely.

> Option wgetproxy: http://proxy-server:8080

For a beginning: Does it work if you don't set wgetproxy? Like that 
we'll see whether it's really your web proxy which is the problem.

> Prerequisites for threads not met, setting threads to 0

That's OK - it only means that your version of perl does not support 
threads, so you won't be able to use pca's --threads option.

So pca tries to access the pca proxy, via your web-proxy:

> --10:28:21--  http://jumpstart/cgi-bin/pca-proxy.cgi?119538-18

The web proxy redirects the request to "blockpage.cgi":

> Location: http://165.89.58.50:15871/cgi-bin/blockpage.cgi?ws-session=2885711479 [following]

which returns a short HTML file:

> Length: 2,667 (2.6K) [text/html]

As pca expects a zip file instead, it removes the file and fails:

> Unknown Filetype: /tmp/119538-18.tmp
> Failed (unknown file type)

You could edit pca and change the line with "unknown file type" to e.g.

   die ("Failed (unknown file type)");

Then the /tmp/119538-18.tmp would not be deleted and you could take a 
look at the HTML file returned by your web proxy. Most probably, it's 
some text explaining why the request was blocked.

> Trying http://sunsolve.sun.com/ (1/5)

As pca failed to download the patch through the proxy, it tries to 
access SunSolve instead. Your web proxy allows this request and forwards 
it to SunSolve. Like this, pca succeeds in downloading the patch.

> If I am reading this right it looks like our websense is blocking our access.

Right, but I have no idea why. Maybe because it's a request to a CGI script?

Take a look at the proxy's log file or the HTML file it returns to see 
if you can get an explanation.

Maybe you don't need the local web proxy at all? If pca is configured to 
use a local pca proxy and without user/password for SunSolve configured, 
only the pca proxy will access SunSolve. Maybe setting wgetproxy in 
pca-proxy.conf is enough?

Martin.



More information about the pca mailing list