New issue
Advanced search Search tips

Issue 919236 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

no proxy server switch is being forced on every single instance of chrome being launched

Reported by jalajas...@gmail.com, Jan 4

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1. launch chrome with -no-proxy-server option from command prompt or from a short cut of chrome.exe created with this argument.
2. now launch another instance of chrome without this option
3. The new instance of chrome launched should not be honoring this setting but it is still going ahead and launching with this option. 
4. If I opened an instance of chrome without the -no-proxy server argument that works fine using the proxy server. 

What is the expected behavior?
only the Instance of chrome using the -no-proxy-server option should be honoring that option.The new instances of chrome initiated after that should not be honoring the -no-proxy-option is explicitly used.

What went wrong?
We are using our product with chrome and only for our product we want to avoid using the proxy option. but when we enable this all new instances of chrome end up using this option. This prevents the users from accessing other websites as they are configured to be allowed only via the proxy. 

Did this work before? N/A 

Chrome version: 71.0.3578.98  Channel: stable
OS Version: 6.3
Flash Version:
 
Cc: morlovich@chromium.org
I *think* it just pops up a new window in an existing Chrome, but I am not an expert for that. A separate --user-data-dir might avoid that, but it might also be kinda confusing.

There also seem to be policies that let one exclude some hosts from proxying which may be a better option:
https://www.chromium.org/administrators/policy-list-3#ProxyBypassList

Thank you for the suggestion. I can surely try this one as a work around. 

But the reason we were avoiding the list was because apart of the core url there are a lot of other urls that get used and getting that list across the enterprise is a tough one and there are always additions and deletions. 

If the new instance of chrome works independently in the arguments sent that will do the trick. 


Components: Internals>Network
You can't open two instances of Chrome using the same user profile - sharing cache and cookie files, for instance, just wouldn't work at all.  This sounds to be working as expected.
Cc: eroman@chromium.org
Components: Internals>Network>Proxy
Adding eroman@ to comment on potential workarounds.
Status: WontFix (was: Unconfirmed)
Comment #1 is correct. Launching Chrome with different command line flags does *not* result in a new instance of Chrome.

Your options are either to first exit all running instance of Chrome and then launch with new command line flags, or use --user-data-dir to run parallel instance of Chrome with different command line options (and different profiles)

For details on --user-data-dir see https://chromium.googlesource.com/chromium/src/+/HEAD/docs/user_data_dir.md. If you do go that route, you will need to use a unique user-data-dir for the alternate options mode.

There are a plethora of other ways to configure proxy; the command line approach seems ill-suited for your use-case. I would instead suggest configuring separate Chrome profiles, and having different proxy settings within them (both residing in the same user-data-dir). Or using an extension to toggle between the no-proxy and proxy modes.
Thanks you all for the responses will try that.

Sign in to add a comment