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/website: running code in go.dev/tour doesn't work #49936
Labels
Milestone
Comments
Change https://golang.org/cl/368914 mentions this issue: |
The "Try Go" code box on the go.dev front page has the same problem. |
mknyszek
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Dec 3, 2021
Ah, sorry. @jba already got to it. Please ignore, Dmitri, Russ. |
mknyszek
added
the
NeedsFix
The path to resolution is known, but the work has not been done.
label
Dec 3, 2021
gopherbot
removed
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Dec 3, 2021
For the record, it was @jamalc. |
Ah! My bad. I had only looked at the reviewer and nothing else on that page. Thanks. |
passionSeven
added a commit
to passionSeven/website
that referenced
this issue
Oct 18, 2022
Fixed a malformed request URL when options.backend is undefined. Fixes golang/go#49936 Fixes golang/tour#1281 Change-Id: I9c2c29d2d67e3bffe0d490517f6a9168a6d4dc46 Reviewed-on: https://go-review.googlesource.com/c/website/+/368914 Trust: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
What did you do?
Opened up https://go.dev/tour/welcome/1 and clicked the "Run" button in the embedded playground.
Browser: Chrome Version 96.0.4664.55 (Official Build) (x86_64)
What did you expect to see?
Output populated.
What did you see instead?
Error communicating with remote server
in the output.The POST request initated when pressing "Run" goes to
https://go.dev/_/compile?backend=undefined
and it throws an500 Internal Server Error
.Looks like an side effect from CL 366056 where support for backends was added to the ordinary playground, while the tour doesn't have that option? If I remove
undefined
from the call it works as expected.//cc @rsc
The text was updated successfully, but these errors were encountered: