Closed Bug 1707192 Opened 4 years ago Closed 1 year ago

There is no information about the HTTP proxy in the network information in the development tools

Categories

(DevTools :: Netmonitor, enhancement)

Firefox 86
enhancement

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: eric, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

I opened the network information in the development tools, and I requested an Web site, via the HTTP proxy of my company (the FQDN is not resolved by my company DNS).

Actual results:

In the network information in the development tools, I found no information about the HTTP proxy. This is very annoying, because, as a developer, I'm not able to distinguish the request which passes by the HTTP proxy from the direct HTTP requests (for the FQDN not resolved by my company DNS).

And in the generated scripted requests (curl, etc.), there is no proxy parameter. Therefore, many scripted requests are not working.

Expected results:

In the network information in the development tools, there should have a field indicating the HTTP proxy that is used (or "direct" if no proxy is used).

And the proxy parameters should be in the generated scripted requests (curl, etc.). Maybe with the proxy password replaced by "http_proxy_password", by security.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core
Component: Networking → Netmonitor
Product: Core → DevTools
Depends on: 1734573
Assignee: nobody → hmanilla
Attachment #9261473 - Attachment description: Bug 1707192 - [WIP] Show proxy information in the netmonitor → WIP: Bug 1707192 - [WIP] Show proxy information in the netmonitor
Attachment #9261473 - Attachment description: WIP: Bug 1707192 - [WIP] Show proxy information in the netmonitor → Bug 1707192 - Show proxy information in the netmonitor r=#devtools-reviewers
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c6a45328f7c Show proxy information in the netmonitor r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

I think this is worth mentioning in https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/117.

Also the docs at https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/request_list/index.html should be updated, so people know about that feature.

Sebastian

Keywords: dev-doc-needed

Docs additions for this can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/28755

There's a PR open to add a note to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/117 linked above although I cannot see the proxy information on local tests with nightly 118.0a1 in the Headers tab. Are there any steps to reproduce/demo this - requirements for the proxy setup (HTTP version, other headers)? Thanks

Hi Brian,
Please did you try collapsing the Url Preview section by clicking the HTTP method? See the attached image

Thanks Hubert, the screenshot is helpful, but I don't see this with my local tests (I've tested using https://github.com/http-party/node-http-proxy with ngrok and some other packages with no joy), maybe it's something odd with my network configuration or system setup.

The release note is now merged at https://github.com/mdn/content/pull/28761. I'm not setting dev-doc-complete yet as I don't know the status of the firefox-source-docs additions.

(In reply to Brian Thomas Smith [bsmth] from comment #10)

I'm not setting dev-doc-complete yet as I don't know the status of the firefox-source-docs additions.

The firefox-source-docs were not updated yet. Bomsy, do you intend to update them in this bug or should I file a new one to add them?

Sebastian

Flags: needinfo?(hmanilla)

(In reply to Brian Thomas Smith [bsmth] from comment #9)

Thanks Hubert, the screenshot is helpful, but I don't see this with my local tests (I've tested using https://github.com/http-party/node-http-proxy with ngrok and some other packages with no joy), maybe it's something odd with my network configuration or system setup.

Hi Brian,
Hmm interesting, what does your network configuration look like? Also have you tried with a proxy tool e.g Proxyman (https://proxyman.io/)?

The firefox-source-docs were not updated yet. Bomsy, do you intend to update them in this bug or should I file a new one to add them?

Hi Sebastian,
No i didn't intend to use this bug. Lets file a new bug for adding the documentation.

Flags: needinfo?(hmanilla) → needinfo?(brismith)

(In reply to Hubert Boma Manilla (:bomsy) from comment #12)

Hmm interesting, what does your network configuration look like? Also have you tried with a proxy tool e.g Proxyman (https://proxyman.io/)?

This works as expected with proxyman using SSL proxying, it's likely improper setup on my side, thank you.

Flags: needinfo?(brismith)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: