Albert White wrote:
Hi,
I have a repo set up on port 95 of a machine and am using apache to
proxy requests for http://pst.ireland/2008.11-sru to http://pst.ireland:95.
Occasionally (I haven't worked out how often or what exactly triggers
this yet) I get the following error from pkg installs and image-updates:
pkg: Maximum (4) network retries exceeded during download. Details follow:
Transfer from 'http://pst.ireland/2008.11-sru' timed out: 408 - Request
Timeout. (happened 4 times)
Using an authority of pst.ireland:95 works fine.
The apache config I have for this is:
ProxyRequests On
ProxyPass /2008.11-sru/ http://pst.ireland.sun.com:95/
ProxyPassReverse /2008.11-sru/ http://pst.ireland.sun.com:95/
RedirectMatch ^/2008.11-sru$ /2008.11-sru/
...
Just wondering if anyone else has come across (and resolved!) this issue
before or if there is a better way of specifying the proxy in the apache
config?
I can't speak to your particular issue, but here are some relevant
configuration bits used for pkg.opensolaris.org:
ProxyPass ... timeout=5 nocanon
...we don't use ProxyPassReverse as far as I can tell.
Also, I'm assuming you've specified the --proxy-base option to your
pkg.depotd server (or set the pkg/proxy_base SMF property) to
http://pst.ireland/2008.11-sru?
Do you actually have this configuration active right now?
You might also want to pick a different port than port 95 since FireFox
blocks that port by default [1], making it difficult to browse the
package repository.
Cheers,
--
Shawn Walker
[1] http://www.mozilla.org/projects/netlib/PortBanning.html
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss