{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/20985","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/20985/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/20985/comments","events_url":"https://api.github.com/repos/golang/go/issues/20985/events","html_url":"https://github.com/golang/go/issues/20985","id":242169023,"number":20985,"title":"x/net/http2: retry requests rejected with REFUSED_STREAM","user":{"login":"jba","id":18483045,"avatar_url":"https://avatars1.githubusercontent.com/u/18483045?v=4","gravatar_id":"","url":"https://api.github.com/users/jba","html_url":"https://github.com/jba","followers_url":"https://api.github.com/users/jba/followers","following_url":"https://api.github.com/users/jba/following{/other_user}","gists_url":"https://api.github.com/users/jba/gists{/gist_id}","starred_url":"https://api.github.com/users/jba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jba/subscriptions","organizations_url":"https://api.github.com/users/jba/orgs","repos_url":"https://api.github.com/users/jba/repos","events_url":"https://api.github.com/users/jba/events{/privacy}","received_events_url":"https://api.github.com/users/jba/received_events","type":"User","site_admin":false},"labels":[{"id":373399998,"url":"https://api.github.com/repos/golang/go/labels/NeedsFix","name":"NeedsFix","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"tombergan","id":13954200,"avatar_url":"https://avatars0.githubusercontent.com/u/13954200?v=4","gravatar_id":"","url":"https://api.github.com/users/tombergan","html_url":"https://github.com/tombergan","followers_url":"https://api.github.com/users/tombergan/followers","following_url":"https://api.github.com/users/tombergan/following{/other_user}","gists_url":"https://api.github.com/users/tombergan/gists{/gist_id}","starred_url":"https://api.github.com/users/tombergan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombergan/subscriptions","organizations_url":"https://api.github.com/users/tombergan/orgs","repos_url":"https://api.github.com/users/tombergan/repos","events_url":"https://api.github.com/users/tombergan/events{/privacy}","received_events_url":"https://api.github.com/users/tombergan/received_events","type":"User","site_admin":false},"assignees":[{"login":"tombergan","id":13954200,"avatar_url":"https://avatars0.githubusercontent.com/u/13954200?v=4","gravatar_id":"","url":"https://api.github.com/users/tombergan","html_url":"https://github.com/tombergan","followers_url":"https://api.github.com/users/tombergan/followers","following_url":"https://api.github.com/users/tombergan/following{/other_user}","gists_url":"https://api.github.com/users/tombergan/gists{/gist_id}","starred_url":"https://api.github.com/users/tombergan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombergan/subscriptions","organizations_url":"https://api.github.com/users/tombergan/orgs","repos_url":"https://api.github.com/users/tombergan/repos","events_url":"https://api.github.com/users/tombergan/events{/privacy}","received_events_url":"https://api.github.com/users/tombergan/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/56","html_url":"https://github.com/golang/go/milestone/56","labels_url":"https://api.github.com/repos/golang/go/milestones/56/labels","id":2473074,"number":56,"title":"Go1.10","description":"","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":766,"closed_issues":69,"state":"open","created_at":"2017-04-21T19:22:29Z","updated_at":"2017-07-20T20:05:28Z","due_on":"2018-01-31T08:00:00Z","closed_at":null},"comments":9,"created_at":"2017-07-11T20:11:10Z","updated_at":"2017-07-20T22:24:01Z","closed_at":null,"body":"### What version of Go are you using (`go version`)?\r\n\r\ngo1.8.1.typealias\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\nLinux amd64\r\n\r\n### What did you do?\r\n```\r\ngo run refused-stream.go -bucket veener-jba-doc-test-bucket -object datastore\r\n```\r\nWhere refused-stream.go is https://gist.github.com/jba/9e75c3aedeb4e8b98a323424283fae88.\r\n\r\n(veener-jba-doc-test-bucket/datastore should be publicly readable, but I'm guessing any object would do.)\r\n\r\n### What did you expect to see?\r\n\r\nNo output.\r\n\r\n### What did you see instead?\r\n\r\nOften (not always), it fails with \r\n```\r\n2017/07/11 16:09:29 url Error &url.Error{Op:\"Get\", URL:\"https://storage.googleapis.com/veener-jba-doc-test-bucket/datastore\", Err:http.http2StreamError{StreamID:0xdd, Code:0x7, Cause:error(nil)}}, temporary=false, timeout=false\r\n2017/07/11 16:09:29 NewReader: Get https://storage.googleapis.com/veener-jba-doc-test-bucket/datastore: stream error: stream ID 221; REFUSED_STREAM (*url.Error)\r\nexit status 1\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/316847235","html_url":"https://github.com/golang/go/issues/20985#issuecomment-316847235","issue_url":"https://api.github.com/repos/golang/go/issues/20985","id":316847235,"user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars1.githubusercontent.com/u/8566911?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2017-07-20T22:24:01Z","updated_at":"2017-07-20T22:24:01Z","body":"CL https://golang.org/cl/50471 mentions this issue."}}
{"actor":{"display_login":"gopherbot"}}