Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://static1.brave.com/ Uses Google 404 Page #13629

Closed
rhclayto opened this issue Jan 17, 2021 · 1 comment
Closed

https://static1.brave.com/ Uses Google 404 Page #13629

rhclayto opened this issue Jan 17, 2021 · 1 comment

Comments

@rhclayto
Copy link

rhclayto commented Jan 17, 2021

Description

The domain https://static1.brave.com/ uses a Google 404 error page.

Steps to Reproduce

  1. Browse to https://static1.brave.com/ .

Actual result:

Google 404 error page is served from Fastly CDN IP address.

image

Expected result:

A Brave 404 error page is served on 404 errors.

Reproduces how often:

Always.

Brave version (brave://version info)

Newest release.

Brave | 1.18.78 Chromium: 87.0.4280.141 (Official Build) (64-bit)
Revision | 9f05d1d9ee7483a73e9fe91ddcb8274ebcec9d7f-refs/branch-heads/4280@{#2007}

Version/Channel Information:

Release.

  • Can you reproduce this issue with the current release? yes
  • Can you reproduce this issue with the beta channel? Didn't try.
  • Can you reproduce this issue with the nightly channel? Didn't try.

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? Not applicable.

Miscellaneous Information:

# curl --head static1.brave.com
HTTP/1.1 301 Moved Permanently
Server: Varnish
Retry-After: 0
Location: https://www.gstatic.com/
Content-Length: 0
Accept-Ranges: bytes
Date: Sun, 17 Jan 2021 22:16:27 GMT
Via: 1.1 varnish
Connection: close
X-Served-By: cache-sea4431-SEA
X-Cache: HIT
X-Cache-Hits: 0
X-Timer: S1610921787.192109,VS0,VE0

What's up with that?

@jonathansampson
Copy link
Contributor

jonathansampson commented Jan 18, 2021

That domain is a proxy to gstatic.com; it isn't meant for direct navigation. Instead, resources are requested from that endpoint. For instance, when you setup Brave on a new Windows machine, the browser calls out to https://static1.brave.com/…/plugins_win.json for the retrieval of security information regarding supported plugins. The URL varies by platform; here's the corresponding code in Chromium: plugins_resource_service.cc. I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants