{"action":"created","issue":{"url":"https://api.github.com/repos/streadway/amqp/issues/276","repository_url":"https://api.github.com/repos/streadway/amqp","labels_url":"https://api.github.com/repos/streadway/amqp/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/streadway/amqp/issues/276/comments","events_url":"https://api.github.com/repos/streadway/amqp/issues/276/events","html_url":"https://github.com/streadway/amqp/pull/276","id":240976707,"number":276,"title":"Fix release channel id before send channelCloseOk cause CHANNEL_ERROR","user":{"login":"heimonsy","id":4199641,"avatar_url":"https://avatars0.githubusercontent.com/u/4199641?v=3","gravatar_id":"","url":"https://api.github.com/users/heimonsy","html_url":"https://github.com/heimonsy","followers_url":"https://api.github.com/users/heimonsy/followers","following_url":"https://api.github.com/users/heimonsy/following{/other_user}","gists_url":"https://api.github.com/users/heimonsy/gists{/gist_id}","starred_url":"https://api.github.com/users/heimonsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heimonsy/subscriptions","organizations_url":"https://api.github.com/users/heimonsy/orgs","repos_url":"https://api.github.com/users/heimonsy/repos","events_url":"https://api.github.com/users/heimonsy/events{/privacy}","received_events_url":"https://api.github.com/users/heimonsy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars0.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars0.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-07-06T14:31:47Z","updated_at":"2017-07-07T20:53:50Z","closed_at":"2017-07-07T20:32:24Z","pull_request":{"url":"https://api.github.com/repos/streadway/amqp/pulls/276","html_url":"https://github.com/streadway/amqp/pull/276","diff_url":"https://github.com/streadway/amqp/pull/276.diff","patch_url":"https://github.com/streadway/amqp/pull/276.patch"},"body":"When Server sends a ChannelClose with some exception(like ACCESS_REFUSED), and the user opens a new channel on the same connection immediately. The new channel will use the old one's channel id, and it will cause a new exception `Exception (504) Reason: \"CHANNEL_ERROR - second 'channel.open' seen\"` which closed the connection.\r\n\r\n<img width=\"596\" alt=\"2017-07-06 22 24 46\" src=\"https://user-images.githubusercontent.com/4199641/27915852-00dc9fc0-629a-11e7-959b-30a6f9c3ed9e.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/streadway/amqp/issues/comments/313790414","html_url":"https://github.com/streadway/amqp/pull/276#issuecomment-313790414","issue_url":"https://api.github.com/repos/streadway/amqp/issues/276","id":313790414,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars0.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T20:53:50Z","updated_at":"2017-07-07T20:53:50Z","body":"@heimonsy thanks, you have uncovered a couple of subtle issues related to server-initiated `channel.close` in the library. I hope they are both addressed in master. Please give it a try."}}
{"actor":{"display_login":"michaelklishin"}}