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

x/playground: ip 152.32.128.0/24 from HK region is blocked #38822

Closed
shiayoung opened this issue May 3, 2020 · 6 comments
Closed

x/playground: ip 152.32.128.0/24 from HK region is blocked #38822

shiayoung opened this issue May 3, 2020 · 6 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@shiayoung
Copy link

shiayoung commented May 3, 2020

When i access url https://play.golang.org/p/sdHPDx64aor, i get the follow error:

Unavailable For Legal Reasons
Viewing and/or sharing code snippets is not available in your country for legal reasons. This message might also appear if your country is misdetected. If you believe this is an error, please file an issue.

Please release these ip sets, thanks!

@shiayoung shiayoung changed the title ip 152.32.128.0/24 from HK is blocked? ip 152.32.128.0/24 from HK region is blocked? May 3, 2020
@shiayoung shiayoung changed the title ip 152.32.128.0/24 from HK region is blocked? play.golang.org: ip 152.32.128.0/24 from HK region is blocked? May 3, 2020
@ALTree ALTree added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 3, 2020
@ALTree
Copy link
Member

ALTree commented May 3, 2020

func allowShare(r *http.Request) bool {
	if r.Header.Get("X-AppEngine-Country") == "CN" {
		return false
	}
	return true
}

HK is not there (only CN), so I guess it may be a bad IP-region association indeed. Geolocation issues are usually assigned to @broady I believe.

@ALTree ALTree changed the title play.golang.org: ip 152.32.128.0/24 from HK region is blocked? x/playground: ip 152.32.128.0/24 from HK region is blocked May 3, 2020
@gopherbot gopherbot added this to the Unreleased milestone May 3, 2020
@shiayoung
Copy link
Author

@broady Please help!

@dmitshur
Copy link
Contributor

dmitshur commented May 4, 2020

/cc @andybons

@kaiterramike
Copy link

Hello from China! Looks like you're blocking some IPs from Japan too, in this block: 50.7.159.0/24

@shiayoung
Copy link
Author

Hello from China! Looks like you're blocking some IPs from Japan too, in this block: 50.7.159.0/24

May be blocked by the proxy server provider.

@smartfly
Copy link

smartfly commented Mar 4, 2021

me too. how to solve this problem。

https://play.golang.org/p/TOCPfm34I5p chrome note:

Unavailable For Legal Reasons
Viewing and/or sharing code snippets is not available in your country for legal reasons. This message might also appear if your country is misdetected. If you believe this is an error, please file an issue.

@golang golang locked and limited conversation to collaborators Mar 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

6 participants