{"action":"created","issue":{"url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/279","labels_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/279/comments","events_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/279/events","html_url":"https://github.com/Exa-Networks/exabgp/issues/279","id":82426298,"number":279,"title":"raw header/body for NOTIFICATION","user":{"login":"fobser","id":372318,"avatar_url":"https://avatars.githubusercontent.com/u/372318?v=3","gravatar_id":"","url":"https://api.github.com/users/fobser","html_url":"https://github.com/fobser","followers_url":"https://api.github.com/users/fobser/followers","following_url":"https://api.github.com/users/fobser/following{/other_user}","gists_url":"https://api.github.com/users/fobser/gists{/gist_id}","starred_url":"https://api.github.com/users/fobser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobser/subscriptions","organizations_url":"https://api.github.com/users/fobser/orgs","repos_url":"https://api.github.com/users/fobser/repos","events_url":"https://api.github.com/users/fobser/events{/privacy}","received_events_url":"https://api.github.com/users/fobser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Exa-Networks/exabgp/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Exa-Networks/exabgp/labels/fixed-need-testing","name":"fixed-need-testing","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"thomas-mangin","id":1227755,"avatar_url":"https://avatars.githubusercontent.com/u/1227755?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas-mangin","html_url":"https://github.com/thomas-mangin","followers_url":"https://api.github.com/users/thomas-mangin/followers","following_url":"https://api.github.com/users/thomas-mangin/following{/other_user}","gists_url":"https://api.github.com/users/thomas-mangin/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-mangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-mangin/subscriptions","organizations_url":"https://api.github.com/users/thomas-mangin/orgs","repos_url":"https://api.github.com/users/thomas-mangin/repos","events_url":"https://api.github.com/users/thomas-mangin/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-mangin/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-05-29T13:23:37Z","updated_at":"2015-06-01T09:53:06Z","closed_at":null,"body":"(opening a new bug, this started in #107)\r\nhttps://github.com/Exa-Networks/exabgp/commit/97eb57d526d4e88179f374c5332798027ed09574 made this worse.\r\nBefore we had this:\r\n```\r\n{\r\n  \"neighbor\": {\r\n    \"reason\": \"out loop, peer reset, message [notification received (6,1)] error[Cease / Maximum Number of Prefixes Reached]\",\r\n    \"state\": \"down\",\r\n    \"asn\": {\r\n      \"peer\": \"65002\",\r\n      \"local\": \"65001\"\r\n    },\r\n    \"address\": {\r\n      \"peer\": \"193.0.10.47\",\r\n      \"local\": \"193.0.10.124\"\r\n    }\r\n  },\r\n  \"type\": \"state\",\r\n  \"counter\": 10,\r\n  \"ppid\": 13520,\r\n  \"pid\": 2572,\r\n  \"host\": \"rrc.guestnet.ripe.net\",\r\n  \"time\": 1432811720.02,\r\n  \"exabgp\": \"3.5.0\"\r\n}\r\n```\r\n\r\nnow we get this:\r\n```\r\n{\r\n  \"neighbor\": {\r\n    \"reason\": \"out loop, peer reset, message [] error[]\",\r\n    \"state\": \"down\",\r\n    \"asn\": {\r\n      \"peer\": \"65002\",\r\n      \"local\": \"65001\"\r\n    },\r\n    \"address\": {\r\n      \"peer\": \"193.0.10.47\",\r\n      \"local\": \"193.0.10.124\"\r\n    }\r\n  },\r\n  \"type\": \"state\",\r\n  \"counter\": 6,\r\n  \"ppid\": 7445,\r\n  \"pid\": 10951,\r\n  \"host\": \"rrc.guestnet.ripe.net\",\r\n  \"time\": 1432905196.9,\r\n  \"exabgp\": \"3.5.0\"\r\n}\r\n```\r\nand no type:notification message.\r\n\r\n(I also tried 3.4 but there I'm not even getting type: state messages (at all). I need to check if that ever worked or if this is a recent regression on 3.4)"},"comment":{"url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/comments/107384301","html_url":"https://github.com/Exa-Networks/exabgp/issues/279#issuecomment-107384301","issue_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/279","id":107384301,"user":{"login":"fobser","id":372318,"avatar_url":"https://avatars.githubusercontent.com/u/372318?v=3","gravatar_id":"","url":"https://api.github.com/users/fobser","html_url":"https://github.com/fobser","followers_url":"https://api.github.com/users/fobser/followers","following_url":"https://api.github.com/users/fobser/following{/other_user}","gists_url":"https://api.github.com/users/fobser/gists{/gist_id}","starred_url":"https://api.github.com/users/fobser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fobser/subscriptions","organizations_url":"https://api.github.com/users/fobser/orgs","repos_url":"https://api.github.com/users/fobser/repos","events_url":"https://api.github.com/users/fobser/events{/privacy}","received_events_url":"https://api.github.com/users/fobser/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T09:53:06Z","updated_at":"2015-06-01T09:53:06Z","body":"yes, thank you, looks good:\r\n```\r\n{\r\n  \"neighbor\": {\r\n    \"notification\": {\r\n      \"data\": \"\",\r\n      \"code\": 6,\r\n      \"subcode\": 1\r\n    },\r\n    \"direction\": \"receive\",\r\n    \"asn\": {\r\n      \"peer\": \"65002\",\r\n      \"local\": \"65001\"\r\n    },\r\n    \"address\": {\r\n      \"peer\": \"193.0.10.47\",\r\n      \"local\": \"193.0.10.124\"\r\n    }\r\n  },\r\n  \"body\": \"0601\",\r\n  \"exabgp\": \"3.5.0\",\r\n  \"time\": 1433151983.24,\r\n  \"host\": \"rrc.guestnet.ripe.net\",\r\n  \"pid\": 15155,\r\n  \"ppid\": 7445,\r\n  \"counter\": 6,\r\n  \"type\": \"notification\",\r\n  \"header\": \"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF001503\"\r\n}\r\n```\r\nand the state message we get after this looks good, too:\r\n\r\n```\r\n{\r\n  \"neighbor\": {\r\n    \"reason\": \"out loop, peer reset, message [notification received (6,1)] error[Cease / Maximum Number of Prefixes Reached]\",\r\n    \"state\": \"down\",\r\n    \"asn\": {\r\n      \"peer\": \"65002\",\r\n      \"local\": \"65001\"\r\n    },\r\n    \"address\": {\r\n      \"peer\": \"193.0.10.47\",\r\n      \"local\": \"193.0.10.124\"\r\n    }\r\n  },\r\n  \"type\": \"state\",\r\n  \"counter\": 7,\r\n  \"ppid\": 7445,\r\n  \"pid\": 15155,\r\n  \"host\": \"rrc.guestnet.ripe.net\",\r\n  \"time\": 1433151983.24,\r\n  \"exabgp\": \"3.5.0\"\r\n}\r\n```"}}