rust-playground
rust-playground copied to clipboard
Response was not JSON: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Response was not JSON: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
It happens sometimes, I didn't find out exact reason, after pressing run something to do with println! in while loop?
This happens for me on every code snippet consistently, using Opera GX if that helps. EDIT (more info) it appears that this problem happens on the domain "https://play.rust-lang.org/" but not on "https://play.integer32.com/" (that one works fine). This is also affecting every example on https://tourofrust.com
Just happened to me on https://play.rust-lang.org/, but https://play.integer32.com/ worked fine.
For the incident starting around 2023-03-15, lets track it in #910
This issue is more about handling the sporadic rare error we get from normal, expected server restarts.
I'm now seeing this error again for all attempts of building/running something on the playground.
Same problem, but I was able to fix it, I went to https://play.rust-lang.org/ with vpn and then turned off vpn and rust-playground started working everywhere
Getting the same problem today on various browsers (Chrome, firefox, edge):
JSON.parse: unexpected character at line 1 column 1 of the JSON data
or
Unexpected token '<', "<!DOCTYPE "... is not valid JSON
This is the second time I have this problem in 3 weeks.