question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Desktop] chrome://new-tab-page triggers unproxied requests to Google

See original GitHub issue

Description

Open chrome://new-tab-page triggers requests to Google servers which don’t go through our proxy.

They go through a special URL scheme:

chrome-untrusted://new-tab-page/custom_background_image?url=https%3A%2F%2Flh4.googleusercontent.com%2Fproxy%2FkF...

Steps to Reproduce

  1. Run a local intercepting proxy like mitmproxy: mitmproxy --socks --port 9000
  2. Start Brave in proxy mode: brave-browser-nightly --proxy-server="socks5://localhost:9000"
  3. Open chrome://new-tab-page

Actual result:

The following requests to Google servers are triggered:

https://www.google.com/async/newtab_ogb?hl=en-GB&async=fixed:0
https://www.google.com/async/ddljson?async=ntp:2
https://www.google.com/async/newtab_promos
https://fonts.googleapis.com/css?lang=en-GB&family=Product+Sans|Roboto:400,700
https://www.gstatic.com/og/_/ss/k=og.qtm.1kpmk2jdrun5m.L.W.O/m=qmd,qcwid/excm=qaaw,qabr,qadd,qaid,qalo,qebr,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhlo,qhmn,qhpc,qhpr,qhsf,qhtb,qhtt/d=1/ed=1/ct=zgms/rs=AA2YrTvftdZCTQFhW1kDfl4AMFB...
https://www.gstatic.com/images/branding/googlelogo/svg/googlelogo_clr_74x24px.svg
https://www.gstatic.com/og/_/js/k=og.qtm.en_US.SvsPckT-cMA.O/rt=j/m=q_d,qmd,qcwid,qmutsd,qapid,qald/exm=qaaw,qabr,qadd,qaid,qalo,qebr,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhlo,qhmn,qhpc,qhpr,qhsf,qhtb,qhtt/d=1/ed=1/rs=AA2YrTuLA...
https://ogs.google.com/widget/app/so?gm2&origin=chrome%3A%2F%2Fnew-tab-page&pid=1&spid=243&hl=en-GB&gm=

Expected result:

These should be proxied.

Reproduces how often:

Always.

Brave version (brave://version info)

Brave	1.12.79 Chromium: 84.0.4147.68 (Official Build) nightly (64-bit)
Revision	e7b7234037639b407e69c5428c891ce018cd6c0d-refs/branch-heads/4147@{#772}
OS	Linux

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
fmariercommented, Jul 9, 2020

An alternative to proxying these request would be to remove this page from Brave entirely.

1reaction
rebroncommented, Aug 19, 2021

Page is still up. I think there was a typo chrome://new-tag-page vs chrome://new-tab-page

Read more comments on GitHub >

github_iconTop Results From Across the Web

24 - Proxy causes some or all network requests to fail - Monorail
The proxy thing is pretty new here at my workplace, so I thought it might ... Chrome does not load any https pages...
Read more >
Set Chrome policies for users or browsers - Google Support
Tip: Many admins leave the default settings and only configure settings, such as startup pages, new tab pages, apps and extensions, and themes....
Read more >
Proxy support in Chrome
Chrome, Firefox, and Opera support HTTPS proxies; however, most older HTTP stacks do not. Specifying an HTTPS proxy is generally not possible through...
Read more >
Chrome Browser Privacy Policy - Google
Preloading can be disabled via Chrome's privacy settings. If preloading is requested, the preloaded site may be allowed to set and read its...
Read more >
Troubleshooting access and session controls - Microsoft Learn
App is not recognized page appears - Request ... Access to mobile and desktop apps can also be blocked or allowed. ... Open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found