-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/pkgsite: cs.opensource.google gives "permission denied" #56171
Comments
Perhaps this was a temporary error. https://cs.opensource.google/go/go/+/refs/tags/go1.19.2:src/fmt/doc.go works fine for me, for example. |
@mvdan I have tried the link myself and it does not lead anywhere. For me it has been like this for a while now, even on different computers. I feel like it could be an issue for me because it returns a "Permission denied" error, but I can't be certain. |
That's very weird. cc @golang/pkgsite to see who could help on the infra side. |
I can access it on my iPhone without issue; as right now I cannot access my regular computer. I still find it strange that the link I provided in the ticket (go.googlesource.com) works regardless however. |
Without extensions it loads fine, but in my opinion it's still somewhat of an issue and inconvenient to specifically go that route. |
Duplicate of ##47213 |
I ran into this same problem and had to disable the "DuckDuckGo Privacy Essentials extension" for this page to work (which probably means its doing something it shouldn't be). |
I have the same issue since a long time now. Since I stumbled on it again today, I displayed the javascript console and see this error:
This problem was fixed by disabling the Smart Referer extension module for Firefox. The extension removes the referer link in request headers. It is possible in theory to add whitelist entries, but it doesn't seam to work. It's not clear why. I assume, it expect a .com domain name. There is also a CORS issue, but the error message is in French:
|
What is the URL of the page with the issue?
Any page of the standard library's documentation. Just for an example here though I will use https://pkg.go.dev/fmt#section-sourcefiles
What is your user agent?
[Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0](https://developers.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes)
Screenshot
What did you do?
Clicking on any source file, in the instance of the screenshot I clicked on
format.go
.What did you expect to see?
The source file of
format.go
.What did you see instead?
An error from cs.opensource.google.
The fix
After doing my own investigation, I figured out that linking to cs.opensource.google/go is indeed not correct anymore (in fact, even the root of cs.opensource.google does not load anything). It should now point to go.googlesource.com/go to link to the standard library source.
The text was updated successfully, but these errors were encountered: