Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 11:51:13 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>, Tom Evans <tevans.uk@googlemail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: www/chromium ignores proxy settings [SEC=UNCLASSIFIED] 
Message-ID:  <201011241051.oAOApDSF078356@fire.js.berklix.net>
In-Reply-To: Your message "Tue, 23 Nov 2010 15:04:42 %2B0800." <20101123070442.GN8547@stlux503.dsto.defence.gov.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Reference:
> From:		"Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> 
> Date:		Tue, 23 Nov 2010 15:04:42 +0800 

"Wilkinson, Alex" wrote:
> 
>     0n Mon, Nov 22, 2010 at 02:19:32PM +0000, Tom Evans wrote: 
> 
>     >On Mon, Nov 22, 2010 at 2:00 PM, Alexander Logvinov <avl@logvinov.com> wrote:
>     >> ??Use ??chrome --proxy-server="http://proxy:3128/" :)
>     >That didn't work either, it would not even make any connections then.
>     >With '--proxy-server=proxy:3128' though, it works correctly!
>     >It would still be nice to be able to set these options in the right
>     >place in the gui, and have them work :)
> 
> Try: --proxy-pac-url="http://proxy-server:port"
> 
> Work for me.
> 
>    -Alex

Man chrome:
	--proxy-server=host:port
              Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests.
              This overrides any environment variables or settings picked  via
              the  options  dialog.

	--proxy-pac-url=URL
              Specify  proxy autoconfiguration URL.  Overrides any environment
              variables or settings picked via the options dialog.

These do not work here:
	chrome --proxy-pac-url="http://gate:80"
	chrome --proxy-pac-url=http://gate:80
Not suprising, I suppose the URL should not contain '"' and perhaps
the URL should be some some auto config server hook I am not supplying.

Tom, This works here:
	chrome --proxy-server=gate:80

My env:
	8.0-RELEASE 
	amd64 
	chromium-6.0.472.63 from 
		FreeBSD/branches/-current/ports/www/chromium
	printenv | grep -i proxy
		http_proxy=http://gate.js.berklix.net:80
		all_proxy=http://gate.js.berklix.net
My proxy env vars are not being imported properly,
& setting on command line is ugly, but no time for more now,
possibly a bug/feature in chrome ? I never tried chrome before.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
    Mail plain text;  Not HTML, quoted-printable & base 64 spam formats.
        Avoid top posting, it cripples itemised cumulative responses.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011241051.oAOApDSF078356>