x/pkgsite: panic when running in direct_proxy mode #42886
Closed
Labels
Milestone
Comments
Thanks for filing the issue, @catzkorn! I wasn't able to reproduce the panic when visiting http://localhost:8080/github.com/golang-migrate/migrate/v3@v3.5.2. Here are the steps I took to start the frontend:
This is the page that I saw at that URL: |
I was able to recreate the panic using http://localhost:8080/golang.org/x/pkgsite/ by interrupting the page while loading. These are the steps i used:
This seems to happen because modules are cached before packages are processed. I would like to submit a CL, if it's no problem! |
@sudo-sturbia - please do, thank you! |
Change https://golang.org/cl/274152 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?1.15.5
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I started the frontend using
Navigated to:
http://localhost:8080/github.com/golang-migrate/migrate/v3@v3.5.2
After waiting for it to load, I reloaded the page again and the server paniced.
panic
OutputWhat did you expect to see?
I expected the page to reload.
What did you see instead?
The server paniced and the browser displayed a 500 internal error.
The text was updated successfully, but these errors were encountered: