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/tools/playground: IP geolocation bug #23038

Closed
montanaflynn opened this issue Dec 7, 2017 · 10 comments
Closed

x/tools/playground: IP geolocation bug #23038

montanaflynn opened this issue Dec 7, 2017 · 10 comments

Comments

@montanaflynn
Copy link

So I found some links on google groups that went to play.golang.org returned an error for me saying it's illegal to share code snippets in my country. I'm in SF USA, and can create new play links and share them myself without issue.

Not sure if this is the best place but it's where the link sent me to create an issue.

Links in question:

https://play.golang.org/p/cJNuTP6nJN
https://play.golang.org/p/2JZOf1GhPT

Found on:

https://groups.google.com/forum/#!topic/Golang-nuts/FqUL7WZpM7w

What version of Go are you using (go version)?

N/A

Does this issue reproduce with the latest release?

N/A

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

Went to https://play.golang.org/p/cJNuTP6nJN from google groups discussion.

What did you expect to see?

The google play code editor.

What did you see instead?

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.

@bradfitz
Copy link
Contributor

bradfitz commented Dec 7, 2017

What's your IP, if you don't mind sharing?

Otherwise email me at golang.org

/cc @broady

@bradfitz bradfitz added this to the Unreleased milestone Dec 7, 2017
@bradfitz bradfitz changed the title Visiting play.golang.org says not available for legal reasons play: IP geolocation bug Dec 7, 2017
@broady
Copy link
Contributor

broady commented Dec 7, 2017

Strange that you can create new links but not look at existing ones. That shouldn't happen.

@odeke-em odeke-em changed the title play: IP geolocation bug x/tools/playground: IP geolocation bug Dec 7, 2017
@montanaflynn
Copy link
Author

montanaflynn commented Dec 7, 2017

@bradfitz here's my IP: 136.24.32.109 (https://ipinfo.io/136.24.32.109)

@odeke-em thanks for the related issues, I somehow missed them

@bradfitz
Copy link
Contributor

bradfitz commented Dec 7, 2017

@montanaflynn, do you have IPv6 connectivity?

@montanaflynn
Copy link
Author

@bradfitz yes, here is my ipv6 address: 2604:5500:c290:7b00:e9f3:2b21:a98a:c101

@bradfitz
Copy link
Contributor

bradfitz commented Dec 7, 2017

It's not a geolocation bug. Both that IPv4 and IPv6 address are being mapped to the correct location.

@broady, all yours.

@bradfitz
Copy link
Contributor

bradfitz commented Dec 8, 2017

Note to Googlers: see http://b/70346540

@bradfitz
Copy link
Contributor

http://b/70346540 was closed as nothing to do.

@montanaflynn, can you try again? Is this still reproducing?

@gopherbot
Copy link

Change https://golang.org/cl/86316 mentions this issue: playground: loosen restrictions on IPs permitted to share

@golang golang locked and limited conversation to collaborators Jan 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants