{"action":"created","issue":{"url":"https://api.github.com/repos/libp2p/go-libp2p/issues/168","repository_url":"https://api.github.com/repos/libp2p/go-libp2p","labels_url":"https://api.github.com/repos/libp2p/go-libp2p/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p/issues/168/comments","events_url":"https://api.github.com/repos/libp2p/go-libp2p/issues/168/events","html_url":"https://github.com/libp2p/go-libp2p/pull/168","id":196187560,"number":168,"title":"if protocol selection fails, reset remembered protocols","user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"labels":[{"id":419430610,"url":"https://api.github.com/repos/libp2p/go-libp2p/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-17T01:28:19Z","updated_at":"2016-12-25T11:42:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libp2p/go-libp2p/pulls/168","html_url":"https://github.com/libp2p/go-libp2p/pull/168","diff_url":"https://github.com/libp2p/go-libp2p/pull/168.diff","patch_url":"https://github.com/libp2p/go-libp2p/pull/168.patch"},"body":"I beleive this happens if a node downgrades to an older version, and then restarts and reconnects quickly, and then bitswap tries to open a new stream on a misremembered protocol before the identify handshake can complete.\r\n\r\nThis wouldnt be a problem if identify was inline...\r\n\r\nI'll see about adding a test soon, but if anyone has good ideas on how to easily test this first let me know."},"comment":{"url":"https://api.github.com/repos/libp2p/go-libp2p/issues/comments/269119109","html_url":"https://github.com/libp2p/go-libp2p/pull/168#issuecomment-269119109","issue_url":"https://api.github.com/repos/libp2p/go-libp2p/issues/168","id":269119109,"user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T11:42:05Z","updated_at":"2016-12-25T11:42:05Z","body":"Its looking like peers can get into this state where they have no available protocols. I cant ping them, dht to them, or bitswap to them."}}
{"actor":{"display_login":"whyrusleeping"}}