{"action":"created","issue":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/45","labels_url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/45/comments","events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/45/events","html_url":"https://github.com/noodlefrenzy/node-amqp-1-0/issues/45","id":57433908,"number":45,"title":"Error: Out of available handles (Max = undefined)","user":{"login":"ltozi","id":10612162,"avatar_url":"https://avatars.githubusercontent.com/u/10612162?v=3","gravatar_id":"","url":"https://api.github.com/users/ltozi","html_url":"https://github.com/ltozi","followers_url":"https://api.github.com/users/ltozi/followers","following_url":"https://api.github.com/users/ltozi/following{/other_user}","gists_url":"https://api.github.com/users/ltozi/gists{/gist_id}","starred_url":"https://api.github.com/users/ltozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltozi/subscriptions","organizations_url":"https://api.github.com/users/ltozi/orgs","repos_url":"https://api.github.com/users/ltozi/repos","events_url":"https://api.github.com/users/ltozi/events{/privacy}","received_events_url":"https://api.github.com/users/ltozi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"noodlefrenzy","id":813544,"avatar_url":"https://avatars.githubusercontent.com/u/813544?v=3","gravatar_id":"","url":"https://api.github.com/users/noodlefrenzy","html_url":"https://github.com/noodlefrenzy","followers_url":"https://api.github.com/users/noodlefrenzy/followers","following_url":"https://api.github.com/users/noodlefrenzy/following{/other_user}","gists_url":"https://api.github.com/users/noodlefrenzy/gists{/gist_id}","starred_url":"https://api.github.com/users/noodlefrenzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noodlefrenzy/subscriptions","organizations_url":"https://api.github.com/users/noodlefrenzy/orgs","repos_url":"https://api.github.com/users/noodlefrenzy/repos","events_url":"https://api.github.com/users/noodlefrenzy/events{/privacy}","received_events_url":"https://api.github.com/users/noodlefrenzy/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-12T09:05:41Z","updated_at":"2015-02-12T17:02:50Z","closed_at":null,"body":"Hi,\r\nAfter 1 day of inactivity the client gave us this error while performing send again :\r\n\r\n [uncaughtException] ERROR: Error: Out of available handles (Max = undefined)\r\n        at new OverCapacityError (/home/azureuser/EMS/backend/20150211114057/node_modules/node-amqp-1-0/lib/exceptions.js:71:11)\r\n        at Session._nextHandle (/home/azureuser/EMS/backend/20150211114057/node_modules/node-amqp-1-0/lib/session.js:259:11)\r\n        at Session.attachLink (/home/azureuser/EMS/backend/20150211114057/node_modules/node-amqp-1-0/lib/session.js:192:34)\r\n        at attach (/home/azureuser/EMS/backend/20150211114057/node_modules/node-amqp-1-0/amqp_client.js:301:27)\r\n        at AMQPClient.send (/home/azureuser/EMS/backend/20150211114057/node_modules/node-amqp-1-0/amqp_client.js:342:13)\r\n        at /home/azureuser/EMS/backend/20150211114057/lib/ems_communication/amqpservicebus/index.js:259:45\r\n        at fn (/home/azureuser/EMS/backend/20150211114057/node_modules/async/lib/async.js:582:34)\r\n        at Object._onImmediate (/home/azureuser/EMS/backend/20150211114057/node_modules/async/lib/async.js:498:34)\r\n        at processImmediate [as _immediateCallback] (timers.js:330:15)\r\n\r\n\r\ncc @teomurgi\r\n"},"comment":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/comments/74108793","html_url":"https://github.com/noodlefrenzy/node-amqp-1-0/issues/45#issuecomment-74108793","issue_url":"https://api.github.com/repos/noodlefrenzy/node-amqp-1-0/issues/45","id":74108793,"user":{"login":"ltozi","id":10612162,"avatar_url":"https://avatars.githubusercontent.com/u/10612162?v=3","gravatar_id":"","url":"https://api.github.com/users/ltozi","html_url":"https://github.com/ltozi","followers_url":"https://api.github.com/users/ltozi/followers","following_url":"https://api.github.com/users/ltozi/following{/other_user}","gists_url":"https://api.github.com/users/ltozi/gists{/gist_id}","starred_url":"https://api.github.com/users/ltozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltozi/subscriptions","organizations_url":"https://api.github.com/users/ltozi/orgs","repos_url":"https://api.github.com/users/ltozi/repos","events_url":"https://api.github.com/users/ltozi/events{/privacy}","received_events_url":"https://api.github.com/users/ltozi/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T17:02:50Z","updated_at":"2015-02-12T17:02:50Z","body":"Sorry for the poor informations, but it's a bit difficult to reproduce. I\ntry to recap the scenario:\n\nI have an instance of AMQPClient that I use only to send messages. There is\na situation where a lot of sends are made in a a loop of five messaegs in\nseries.\n\nIf I'm right,  you try to reset the connection on the first new send\nattempt and probably the remaining sent messages cause troubles while\nclient is still trying to reconnect.\n\n\n\n\nIl giorno Thu Feb 12 2015 at 16:18:06 Michael Lanzetta <\nnotifications@github.com> ha scritto:\n\n> What the... that's weird.\n>\n> So you sent some messsages, then left it idle for a day, then tried to\n> re-send? How many times did you go through this send/idle/send cycle?\n>\n> Sorry for the trouble, I'm looking into it!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/noodlefrenzy/node-amqp-1-0/issues/45#issuecomment-74087516>\n> .\n>\n"}}