Exclude console address from being proxied by default instead of in policy
Categories
(Enterprise Products :: Firefox, defect)
Tracking
(Not tracked)
People
(Reporter: jporter, Assigned: jporter)
References
Details
Attachments
(2 files, 1 external file)
The current fix for bug 2051323 excludes the console address only when the Proxy policy is set, however a user can configure a proxy themselves in about:preferences which could break the console connection.
Instead of setting this in the policy application, this should be set for all proxy applications, including user-configuration.
Comment 1•4 months ago
|
||
Comment 2•3 months ago
|
||
Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/8302f2803116025bebc890bb0fb0e64b362aef2e
[enterprise-main] Bug 2057225 - Use a direct connection to the enterprise console for all proxy configurations
Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/f1adf43e2200a29fc55185b3876e060ddf42b3cf
[enterprise-main] Merge pull request #1207 from jporter-dev/enterprise-bug2057225-exclude-console-from-proxying-without-policy
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
Test Plan
The changes made here remove the need for the console URL to be listed in the "No proxy for" field when a proxy is configured by policy. This test plan verifies that the behavior of the proxy settings is correct when configured by policy and when configured manually.
How to verify the result of each test case:
about:policies#activelists Proxy and its current config.about:preferences#connectionSecurity> Proxy settings > Configure proxy shows the configured proxy settings. The controls are disabled when the proxy is locked.- Navigation to the test URLs (https://example.com, https://example.org, and the enterprise console) should succeed or fail according to the proxy configuration.
At every step, confirm the change happens without restarting the browser. Reopen the "Connection Settings" dialog after each change, as it does not update the lock state live.
Test Cases
Proxy by Policy
- Confirm Proxy is not active and https://example.com loads normally.
- Configure an invalid proxy policy, e.g.:
{
"Mode": "manual",
"HTTPProxy": "127.0.0.1:1",
"UseHTTPProxyForAllProtocols": true,
"Locked": true,
"Passthrough": "mozilla.org"
}
Expected:
- In
about:policies#active: Proxy lists its current config. - In the "Connection Settings" dialog:
- "Manual proxy configuration" selected with HTTP Proxy 127.0.0.1 port 1
- Checkbox "Also use this proxy for HTTPS" is checked
- "No proxy for" does not list the enterprise console address
- All controls disabled.
- https://example.com shows the proxy error page.
- https://mozilla.org loads.
- http://stage.fx-enterprise.nonprod.webservices.mozgcp.net loads.
Manual Proxy Configuration
- Confirm Proxy is not active and https://example.com loads normally.
- Configure the proxy manually in the "Connection Settings" dialog:
- Select "Manual proxy configuration"
- HTTP Proxy:
127.0.0.1:1 - Check "Use this proxy server for all protocols"
- No proxy for:
mozilla.org - Click OK to save the settings.
Expected:
- In
about:policies#active: Proxy is not listed. - In the "Connection Settings" dialog:
- "Manual proxy configuration" selected with HTTP Proxy 127.0.0.1 port 1
- Checkbox "Also use this proxy for HTTPS" is checked
- "No proxy for" does not list the enterprise console address
- All controls enabled.
- https://example.com shows the proxy error page.
- https://mozilla.org loads.
- http://stage.fx-enterprise.nonprod.webservices.mozgcp.net loads.
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Hello Josh,
Thank you for the test plan, it was very helpful and easy to follow.
I have configured the Proxy policy using the given example on the latest enterprise-main build,156.0a1 (20260823213825), on macOS Tahoe 26.4 and can confirm that the proxy generally works as intended, with a few differences:
- For the manual proxy, due to the difference in firefox enterprise UI, I have used the folowing setup (as seen in the screenshot):
- Select "Manual proxy configuration"
- HTTP Proxy: 127.0.0.1 Port: 1
- Check "Also use this proxy for HTTPS"
- Leave the SOCKS Host field blank
- No proxy for: mozilla.org
- Click OK to save the settings
- For the Proxy policy, I can confirm:
- it is successfully applied and removed live
- is listed in about:policies#active correctly
- blocks https://example.com from loading (the proxy error message is displayed) while https://mozilla.org loads as expected, as well as http://stage.fx-enterprise.nonprod.webservices.mozgcp.net when the user is already signed in
- https://example.com loads successfully using the "Try again" button from the proxy error page after the policy is removed
However:
- the Admin console is not loaded successfully and results in a proxy error when the user has to go through sign in. It should be considered when setting up a proxy, that for websites where an authentication sign in is needed, this could be an issue.
- Manual sync appears to be triggered in the about:preferences#sync (Sync is ON), but does not bring the synced data while a proxy is applied. See the attached video where I navigate to History, for example.
Wanted to flag both before assuming they're bugs — Is this expected behavior given the proxy setup, or does it point to a configuration gap?
| Assignee | ||
Comment 6•3 months ago
|
||
Hi Miruna, thanks for verifying! The console proxy exception was intended as a recovery path for a misconfigured proxy policy, so I think it's expected that some things will be broken during that state but recovery should still be possible. I think those fall out of that original scope but I've asked the team for some opinions, I'll follow up on this whether these need bugs filed.
Comment 7•3 months ago
|
||
Great, thank you! Then based on what was in scope, I will mark this as verified on 156.0a1 (20260823213825) with macOS Tahoe 26.4 and Win 11.
As for whether bugs need to be filed on those other topics, I'll also follow up on this ticket to see your response and will log and link them accordingly if needed.
Updated•3 months ago
|
Description
•