[pca] unable to download readme ..
Dominique Frise
dominique.frise at unil.ch
Mon Aug 17 14:57:53 CEST 2009
Martin Paul wrote:
> David,
>
>> This is a bit odd. PCA downloading readme's direct from Sun doesn't
>> work, but using the pca proxy is fine. I've cleared all the README*
>> files from the cache directory, so it's definitely downloading them.
>
> Not necessarily. pca does all it can to avoid talking to SunSolve, so it
> will extract the README from the zip file, if it exists. You can see
> that in your debug output:
>
> Mon Aug 17 13:09:43 2009: Requested file: README.119254-67
> Mon Aug 17 13:09:43 2009: Downloading README for 119254-67
> > Mon Aug 17 13:09:43 2009: Trying /pca/119254-67.zip
> Mon Aug 17 13:09:43 2009: Done
>
> You can use the "--force" option on the pca client, which will force pca
> (and the proxy) to always download files from SunSolve, ignoring copies
> e.g. in the proxy's cache. Or remove the cached copy of 119254-67.zip on
> the proxy.
>
>> PCA going direct to Sun gives a 0 byte file.
>
> Thanks. I'm pretty sure now that this affects everybody.
>
Yes, we are also affected.
[super at argos ~]# pca --debug --force --readme 119906-13
...
Trying https://sunsolve.sun.com/ (3/3)
/usr/sfw/bin/wget
"https://sunsolve.sun.com/pdownload.do?target=119906-13&method=r"
--ca-certificate=/usr/local/bin/pca --header="Authorization: Basic
ZGZyaXNlOnN1bl9pbg==" -O /tmp/README.119906-13125051370529685
--14:55:30--
https://sunsolve.sun.com/pdownload.do?target=119906-13&method=r
=> `/tmp/README.119906-13125051370529685'
Resolving sunsolve.sun.com... 192.18.108.40
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
[ <=> ] 0 --.--K/s
14:55:31 (0.00 B/s) - `/tmp/README.119906-13125051370529685' saved [0/0]
Failed
Failed (README not found)
Dominique
More information about the pca
mailing list