{"action":"created","issue":{"url":"https://api.github.com/repos/amqp/rhea-promise/issues/10","repository_url":"https://api.github.com/repos/amqp/rhea-promise","labels_url":"https://api.github.com/repos/amqp/rhea-promise/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/amqp/rhea-promise/issues/10/comments","events_url":"https://api.github.com/repos/amqp/rhea-promise/issues/10/events","html_url":"https://github.com/amqp/rhea-promise/issues/10","id":365027458,"node_id":"MDU6SXNzdWUzNjUwMjc0NTg=","number":10,"title":"opening 2 receivers using 2 different connections within the same process fails","user":{"login":"jfromaniello","id":178512,"node_id":"MDQ6VXNlcjE3ODUxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/178512?v=4","gravatar_id":"","url":"https://api.github.com/users/jfromaniello","html_url":"https://github.com/jfromaniello","followers_url":"https://api.github.com/users/jfromaniello/followers","following_url":"https://api.github.com/users/jfromaniello/following{/other_user}","gists_url":"https://api.github.com/users/jfromaniello/gists{/gist_id}","starred_url":"https://api.github.com/users/jfromaniello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfromaniello/subscriptions","organizations_url":"https://api.github.com/users/jfromaniello/orgs","repos_url":"https://api.github.com/users/jfromaniello/repos","events_url":"https://api.github.com/users/jfromaniello/events{/privacy}","received_events_url":"https://api.github.com/users/jfromaniello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-28T20:20:50Z","updated_at":"2018-10-02T14:02:11Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nOpening a second receiver using a second connection in the same node.js process never completes.\r\n\r\n**To Reproduce**\r\n```javascript\r\nconst rhea = require('rhea-promise');\r\n\r\nconst connectionOptions = {\r\n  username: 'guest',\r\n  password: 'guest',\r\n  host: 'localhost',\r\n  port: 5672\r\n};\r\n\r\n(async function() {\r\n  const connection1 = new rhea.Connection(connectionOptions);\r\n  const connection2 = new rhea.Connection(connectionOptions);\r\n\r\n  await connection1.open();\r\n  console.log('opening sender1');\r\n  await connection1.createSender({\r\n    target: {\r\n      address: 'test',\r\n    },\r\n  });\r\n  console.log('sender1 is open');\r\n\r\n  console.log('opening receiver1');\r\n  await connection1.createReceiver({\r\n    source: {\r\n      dynamic: true,\r\n    },\r\n  });\r\n  console.log('receiver1 is open');\r\n\r\n  await connection2.open();\r\n\r\n  console.log('opening receiver2');\r\n  await connection2.createReceiver({\r\n    source: {\r\n      address: 'test',\r\n    },\r\n  })\r\n  console.log('receiver2 is open');\r\n\r\n  console.log('done');\r\n  process.exit(0);\r\n})();\r\n\r\n```\r\n\r\n**Expected behavior**\r\nI will expect to see `done` in the console and the program terminating.\r\n\r\n**Package-version**:  0.1.5\r\n**node.js version**: v8.12.0\r\n**OS name and version**: darwing/macos\r\n\r\n**Additional context**\r\nIf I use the same connection object it works as expected."},"comment":{"url":"https://api.github.com/repos/amqp/rhea-promise/issues/comments/426285389","html_url":"https://github.com/amqp/rhea-promise/issues/10#issuecomment-426285389","issue_url":"https://api.github.com/repos/amqp/rhea-promise/issues/10","id":426285389,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjI4NTM4OQ==","user":{"login":"jfromaniello","id":178512,"node_id":"MDQ6VXNlcjE3ODUxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/178512?v=4","gravatar_id":"","url":"https://api.github.com/users/jfromaniello","html_url":"https://github.com/jfromaniello","followers_url":"https://api.github.com/users/jfromaniello/followers","following_url":"https://api.github.com/users/jfromaniello/following{/other_user}","gists_url":"https://api.github.com/users/jfromaniello/gists{/gist_id}","starred_url":"https://api.github.com/users/jfromaniello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfromaniello/subscriptions","organizations_url":"https://api.github.com/users/jfromaniello/orgs","repos_url":"https://api.github.com/users/jfromaniello/repos","events_url":"https://api.github.com/users/jfromaniello/events{/privacy}","received_events_url":"https://api.github.com/users/jfromaniello/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T14:02:11Z","updated_at":"2018-10-02T14:02:11Z","author_association":"NONE","body":"I am connecting to an actual service endpoint, is activemq running on my localhost:\r\n\r\n```\r\n» nc -z -v -w5 localhost 5672\r\nlocalhost [127.0.0.1] 5672 (amqp) open\r\n```\r\n\r\nHere is the debug log running the test:\r\n```\r\n» DEBUG=rhea* node test.js\r\n  rhea-promise:eventhandler [connection-1] rhea-promise 'connection' object is listening for events: [ 'connection_open', 'connection_close', 'connection_error', 'protocol_error', 'error', 'disconnected', 'settled', 'sender_error', 'sender_close', 'receiver_error', 'receiver_close', 'session_error', 'session_close' ] emitted by rhea's 'connection' object. +0ms\r\n  rhea-promise:eventhandler [connection-2] rhea-promise 'connection' object is listening for events: [ 'connection_open', 'connection_close', 'connection_error', 'protocol_error', 'error', 'disconnected', 'settled', 'sender_error', 'sender_close', 'receiver_error', 'receiver_close', 'session_error', 'session_close' ] emitted by rhea's 'connection' object. +3ms\r\n  rhea-promise:connection [connection-1] Trying to create a new amqp connection. +0ms\r\n  rhea:io [connection-1] connected 127.0.0.1:58854 -> 127.0.0.1:5672 +0ms\r\n  rhea:frames [connection-1] -> { protocol_id: 3, major: 1, minor: 0, revision: 0 } +0ms\r\n  rhea:io [connection-1] read 42 bytes +12ms\r\n  rhea:frames [connection-1] <- { protocol_id: 3, major: 1, minor: 0, revision: 0 } +12ms\r\n  rhea:io [connection-1] got frame of size 34 +0ms\r\n  rhea:raw [connection-1] RECV: 34 0000002202010000005340c01501e01202a305504c41494e09414e4f4e594d4f5553 +0ms\r\n  rhea:frames [connection-1]:0 <- sasl_mechanisms#40 {\"sasl_server_mechanisms\":[\"PLAIN\",\"ANONYMOUS\"]}  +1ms\r\n  rhea:frames [connection-1]:0 -> sasl_init#41 {\"mechanism\":\"PLAIN\",\"initial_response\":{\"type\":\"Buffer\",\"data\":[0,103,117,101,115,116,0,103,117,101,115,116]},\"hostname\":\"localhost\"}  +3ms\r\n  rhea:raw [connection-1] SENT: 52 0000003402010000005341d00000002400000003a305504c41494ea00c006775657374006775657374a1096c6f63616c686f7374 +4ms\r\n  rhea:io [connection-1] read 16 bytes +6ms\r\n  rhea:io [connection-1] got frame of size 16 +0ms\r\n  rhea:raw [connection-1] RECV: 16 0000001002010000005344c003015000 +2ms\r\n  rhea:frames [connection-1]:0 <- sasl_outcome#44 {}  +2ms\r\n  rhea:frames [connection-1] -> { protocol_id: 0, major: 1, minor: 0, revision: 0 } +1ms\r\n  rhea:frames [connection-1]:0 -> open#10 {\"username\":\"guest\",\"password\":\"guest\",\"host\":\"localhost\",\"port\":5672,\"operationTimeoutInSeconds\":60,\"id\":\"connection-1\",\"container_id\":\"920ac558-868c-c349-9181-f57a1e864bfb\"}  +9ms\r\n  rhea:raw [connection-1] SENT: 58 0000003a02000000005310d00000002a00000001a12439323061633535382d383638632d633334392d393138312d663537613165383634626662 +10ms\r\n  rhea:io [connection-1] read 8 bytes +10ms\r\n  rhea:frames [connection-1] <- { protocol_id: 0, major: 1, minor: 0, revision: 0 } +0ms\r\n  rhea:io [connection-1] read 188 bytes +6ms\r\n  rhea:io [connection-1] got frame of size 188 +1ms\r\n  rhea:raw [connection-1] RECV: 188 000000bc02000000005310c0af0aa1096c6f63616c686f7374407000020000607fff7000003a984040e02302a30f414e4f4e594d4f55532d52454c41591044454c415945445f44454c495645525940c16b0aa30770726f64756374a1084163746976654d51a30c746f7069632d707265666978a108746f7069633a2f2fa30c71756575652d707265666978a10871756575653a2f2fa30776657273696f6ea106352e31352e36a308706c6174666f726da10a4a6176612f392e302e31 +7ms\r\n  rhea:frames [connection-1]:0 <- open#10 {\"container_id\":\"localhost\",\"max_frame_size\":131072,\"channel_max\":32767,\"idle_time_out\":15000,\"offered_capabilities\":[\"ANONYMOUS-RELAY\",\"DELAYED_DELIVERY\"],\"properties\":{\"product\":\"ActiveMQ\",\"topic-prefix\":\"topic://\",\"queue-prefix\":\"queue://\",\"version\":\"5.15.6\",\"platform\":\"Java/9.0.1\"}}  +7ms\r\n  rhea:events [connection-1] Connection got event: connection_open +0ms\r\n  rhea-promise:connection [connection-1] connection got event: 'connection_open'. Re-emitting the translated context. +50ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'connection_open'. +0ms\r\n  rhea-promise:connection [connection-1] Resolving the promise with amqp connection. +1ms\r\nopening sender1\r\n  rhea-promise:eventhandler [connection-1] rhea-promise 'session' object is listening for events: [ 'session_open', 'session_error', 'session_close', 'settled', 'sender_error', 'sender_close', 'receiver_error', 'receiver_close' ] emitted by rhea's 'session' object. +55ms\r\n  rhea-promise:session [connection-1] Calling amqp session.begin(). +0ms\r\n  rhea:frames [connection-1]:0 -> begin#11 {\"incoming_window\":2048,\"outgoing_window\":4294967295}  +6ms\r\n  rhea:raw [connection-1] SENT: 32 0000002002000000005311d000000010000000044043700000080070ffffffff +6ms\r\n  rhea:io [connection-1] read 34 bytes +6ms\r\n  rhea:io [connection-1] got frame of size 34 +20ms\r\n  rhea:raw [connection-1] RECV: 34 0000002202000000005311c0150560000052017000003fff707fffffff700000ffff +20ms\r\n  rhea:frames [connection-1]:0 <- begin#11 {\"next_outgoing_id\":1,\"incoming_window\":16383,\"outgoing_window\":2147483647,\"handle_max\":65535}  +20ms\r\n  rhea:events [connection-1] Session got event: session_open +26ms\r\n  rhea-promise:session [connection-1] session got event: 'session_open'. Re-emitting the translated context. +22ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'session_open'. +26ms\r\n  rhea-promise:session [connection-1] Resolving the promise with amqp session. +1ms\r\n  rhea-promise:eventhandler [connection-1] rhea-promise 'sender' object is listening for events: [ 'sendable', 'sender_open', 'sender_draining', 'sender_flow', 'sender_error', 'sender_close', 'accepted', 'released', 'rejected', 'modified', 'settled' ] emitted by rhea's 'sender' object. +24ms\r\n  rhea-promise:eventhandler [connection-1] ListenerCount for event 'sender_error' on rhea's 'sender' object is: 1. +1ms\r\n  rhea:frames [connection-1]:0 -> attach#12 {\"name\":\"e986e19c-dcbb-1044-a754-d7e89141c594\",\"source\":[],\"target\":[\"test\"]}  +4ms\r\n  rhea:raw [connection-1] SENT: 87 0000005702000000005312d0000000470000000aa12465393836653139632d646362622d313034342d613735342d6437653839313431633539344342404000532845005329d00000000a00000001a10474657374404043 +4ms\r\n  rhea:io [connection-1] read 108 bytes +7ms\r\n  rhea:io [connection-1] got frame of size 74 +0ms\r\n  rhea:raw [connection-1] RECV: 74 0000004a02000000005312c03d07a12465393836653139632d646362622d313034342d613735342d64376538393134316335393443415002500000532845005329c00701a10474657374 +3ms\r\n  rhea:frames [connection-1]:0 <- attach#12 {\"name\":\"e986e19c-dcbb-1044-a754-d7e89141c594\",\"role\":true,\"snd_settle_mode\":2,\"source\":[],\"target\":[\"test\"]}  +3ms\r\n  rhea:events [connection-1] Link got event: sender_open +7ms\r\n  rhea-promise:sender [connection-1] sender got event: 'sender_open'. Re-emitting the translated context. +0ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'sender_open'. +7ms\r\n  rhea:io [connection-1] got frame of size 34 +1ms\r\n  rhea:raw [connection-1] RECV: 34 0000002202000000005313c01507437000003fff5201707fffffff434370000003e8 +1ms\r\n  rhea:frames [connection-1]:0 <- flow#13 {\"incoming_window\":16383,\"next_outgoing_id\":1,\"outgoing_window\":2147483647,\"link_credit\":1000}  +2ms\r\n  rhea:events [connection-1] Link got event: sender_flow +1ms\r\n  rhea-promise:sender [connection-1] sender got event: 'sender_flow'. Re-emitting the translated context. +2ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'sender_flow'. +2ms\r\n  rhea:events [connection-1] Link got event: sendable +1ms\r\n  rhea-promise:sender [connection-1] sender got event: 'sendable'. Re-emitting the translated context. +0ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'sendable'. +0ms\r\n  rhea-promise:sender [connection-1] Resolving the promise with amqp sender 'e986e19c-dcbb-1044-a754-d7e89141c594'. +0ms\r\nsender1 is open\r\nopening receiver1\r\n  rhea-promise:eventhandler [connection-1] rhea-promise 'session' object is listening for events: [ 'session_open', 'session_error', 'session_close', 'settled', 'sender_error', 'sender_close', 'receiver_error', 'receiver_close' ] emitted by rhea's 'session' object. +7ms\r\n  rhea-promise:session [connection-1] Calling amqp session.begin(). +9ms\r\n  rhea:frames [connection-1]:1 -> begin#11 {\"incoming_window\":2048,\"outgoing_window\":4294967295}  +3ms\r\n  rhea:raw [connection-1] SENT: 32 0000002002000001005311d000000010000000044043700000080070ffffffff +4ms\r\n  rhea:io [connection-1] read 34 bytes +4ms\r\n  rhea:io [connection-1] got frame of size 34 +0ms\r\n  rhea:raw [connection-1] RECV: 34 0000002202000001005311c0150560000152017000003fff707fffffff700000ffff +0ms\r\n  rhea:frames [connection-1]:1 <- begin#11 {\"remote_channel\":1,\"next_outgoing_id\":1,\"incoming_window\":16383,\"outgoing_window\":2147483647,\"handle_max\":65535}  +1ms\r\n  rhea:events [connection-1] Session got event: session_open +3ms\r\n  rhea-promise:session [connection-1] session got event: 'session_open'. Re-emitting the translated context. +2ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'session_open'. +3ms\r\n  rhea-promise:session [connection-1] Resolving the promise with amqp session. +0ms\r\n  rhea-promise:eventhandler [connection-1] rhea-promise 'receiver' object is listening for events: [ 'message', 'receiver_open', 'receiver_drained', 'receiver_flow', 'receiver_error', 'receiver_close', 'settled' ] emitted by rhea's 'receiver' object. +4ms\r\n  rhea-promise:eventhandler [connection-1] ListenerCount for event 'receiver_error' on rhea's 'receiver' object is: 1. +0ms\r\n  rhea:frames [connection-1]:1 -> attach#12 {\"name\":\"14dd75a4-1830-bd4e-9794-8c8ee5f4e3ba\",\"role\":true,\"source\":[null,null,null,null,true],\"target\":[]}  +2ms\r\n  rhea:raw [connection-1] SENT: 83 0000005302000001005312d00000004300000007a12431346464373561342d313833302d626434652d393739342d38633865653566346533626143414040005328d00000000900000005404040404100532945 +3ms\r\n  rhea:io [connection-1] read 192 bytes +16ms\r\n  rhea:io [connection-1] got frame of size 192 +1ms\r\n  rhea:raw [connection-1] RECV: 192 000000c002000001005312c0b30aa12431346464373561342d313833302d626434652d393739342d386338656535663465336261434250025000005328c07a0ba13774656d702d71756575653a2f2f49443a4330325451324a30485444362d36343834352d313533383136353132343431362d333a33323a3043a30b73657373696f6e2d656e644341c11602a30f6c69666574696d652d706f6c69637900532b4540404040e01201a30f74656d706f726172792d717565756500532945404243 +14ms\r\n  rhea:frames [connection-1]:1 <- attach#12 {\"name\":\"14dd75a4-1830-bd4e-9794-8c8ee5f4e3ba\",\"snd_settle_mode\":2,\"source\":[\"temp-queue://ID:C02TQ2J0HTD6-64845-1538165124416-3:32:0\",0,\"session-end\",0,true,[\"lifetime-policy\",[]],null,null,null,null,[\"temporary-queue\"]],\"target\":[]}  +14ms\r\n  rhea:events [connection-1] Link got event: receiver_open +16ms\r\n  rhea-promise:receiver [connection-1] receiver got event: 'receiver_open'. Re-emitting the translated context. +0ms\r\n  rhea-promise:translate [connection-1] Translating the context for event: 'receiver_open'. +16ms\r\n  rhea-promise:receiver [connection-1] Resolving the promise with amqp receiver '14dd75a4-1830-bd4e-9794-8c8ee5f4e3ba'. +1ms\r\n  rhea:frames [connection-1]:1 -> flow#13 {\"incoming_window\":2048,\"outgoing_window\":4294967295,\"link_credit\":1000}  +1ms\r\n  rhea:raw [connection-1] SENT: 39 0000002702000001005313d000000017000000074370000008004370ffffffff434370000003e8 +1ms\r\nreceiver1 is open\r\n  rhea-promise:connection [connection-2] Trying to create a new amqp connection. +54ms\r\n  rhea:io [connection-2] connected 127.0.0.1:58855 -> 127.0.0.1:5672 +13ms\r\n  rhea:frames [connection-2] -> { protocol_id: 3, major: 1, minor: 0, revision: 0 } +13ms\r\n  rhea:io [connection-2] read 42 bytes +7ms\r\n  rhea:frames [connection-2] <- { protocol_id: 3, major: 1, minor: 0, revision: 0 } +7ms\r\n  rhea:io [connection-2] got frame of size 34 +1ms\r\n  rhea:raw [connection-2] RECV: 34 0000002202010000005340c01501e01202a305504c41494e09414e4f4e594d4f5553 +20ms\r\n  rhea:frames [connection-2]:0 <- sasl_mechanisms#40 {\"sasl_server_mechanisms\":[\"PLAIN\",\"ANONYMOUS\"]}  +0ms\r\n  rhea:frames [connection-2]:0 -> sasl_init#41 {\"mechanism\":\"PLAIN\",\"initial_response\":{\"type\":\"Buffer\",\"data\":[0,103,117,101,115,116,0,103,117,101,115,116]},\"hostname\":\"localhost\"}  +0ms\r\n  rhea:raw [connection-2] SENT: 52 0000003402010000005341d00000002400000003a305504c41494ea00c006775657374006775657374a1096c6f63616c686f7374 +0ms\r\n  rhea:io [connection-2] read 16 bytes +1ms\r\n  rhea:io [connection-2] got frame of size 16 +0ms\r\n  rhea:raw [connection-2] RECV: 16 0000001002010000005344c003015000 +1ms\r\n  rhea:frames [connection-2]:0 <- sasl_outcome#44 {}  +1ms\r\n  rhea:frames [connection-2] -> { protocol_id: 0, major: 1, minor: 0, revision: 0 } +0ms\r\n  rhea:frames [connection-2]:0 -> open#10 {\"username\":\"guest\",\"password\":\"guest\",\"host\":\"localhost\",\"port\":5672,\"operationTimeoutInSeconds\":60,\"id\":\"connection-2\",\"container_id\":\"920ac558-868c-c349-9181-f57a1e864bfb\"}  +0ms\r\n  rhea:raw [connection-2] SENT: 58 0000003a02000000005310d00000002a00000001a12439323061633535382d383638632d633334392d393138312d663537613165383634626662 +20ms\r\n  rhea:io [connection-2] read 8 bytes +20ms\r\n  rhea:frames [connection-2] <- { protocol_id: 0, major: 1, minor: 0, revision: 0 } +20ms\r\n  rhea:io [connection-2] read 255 bytes +0ms\r\n  rhea:io [connection-2] got frame of size 72 +0ms\r\n  rhea:raw [connection-2] RECV: 72 0000004802000000005310c03b0aa100407000020000607fff4040404040c12802a324616d71703a636f6e6e656374696f6e2d65737461626c6973686d656e742d6661696c656441 +0ms\r\n  rhea:frames [connection-2]:0 <- open#10 {\"max_frame_size\":131072,\"channel_max\":32767,\"properties\":{\"amqp:connection-establishment-failed\":true}}  +0ms\r\n  rhea:events [connection-2] Connection got event: connection_open +42ms\r\n  rhea-promise:connection [connection-2] connection got event: 'connection_open'. Re-emitting the translated context. +41ms\r\n  rhea-promise:translate [connection-2] Translating the context for event: 'connection_open'. +43ms\r\n  rhea-promise:connection [connection-2] Resolving the promise with amqp connection. +1ms\r\n  rhea:io [connection-2] got frame of size 183 +1ms\r\n  rhea:raw [connection-2] RECV: 183 000000b702000000005318c0aa0100531dc0a403a312616d71703a696e76616c69642d6669656c64a16d42726f6b65723a206c6f63616c686f7374202d20436c69656e743a2039323061633535382d383638632d633334392d393138312d66353761316538363462666220616c726561647920636f6e6e65637465642066726f6d207463703a2f2f3132372e302e302e313a3538383534c11e02a30d696e76616c69642d6669656c64a30c636f6e7461696e65722d6964 +1ms\r\n  rhea:frames [connection-2]:0 <- close#18 {\"error\":{\"condition\":\"amqp:invalid-field\",\"description\":\"Broker: localhost - Client: 920ac558-868c-c349-9181-f57a1e864bfb already connected from tcp://127.0.0.1:58854\",\"info\":{\"invalid-field\":\"container-id\"}}}  +1ms\r\n  rhea:events [connection-2] Connection got event: connection_error +1ms\r\n  rhea-promise:connection [connection-2] connection got event: 'connection_error'. Will re-emit in the next tick. +0ms\r\n  rhea:events [connection-2] Connection got event: connection_close +0ms\r\n  rhea-promise:connection [connection-2] connection got event: 'connection_close'. Re-emitting the translated context. +0ms\r\n  rhea-promise:translate [connection-2] Translating the context for event: 'connection_close'. +0ms\r\n  rhea:frames [connection-2]:0 -> close#18 {}  +1ms\r\n  rhea:raw [connection-2] SENT: 12 0000000c0200000000531845 +1ms\r\nopening receiver2\r\n  rhea-promise:eventhandler [connection-2] rhea-promise 'session' object is listening for events: [ 'session_open', 'session_error', 'session_close', 'settled', 'sender_error', 'sender_close', 'receiver_error', 'receiver_close' ] emitted by rhea's 'session' object. +58ms\r\n  rhea-promise:session [connection-2] Calling amqp session.begin(). +60ms\r\n  rhea:frames [connection-2]:0 -> begin#11 {\"incoming_window\":2048,\"outgoing_window\":4294967295}  +1ms\r\n  rhea:raw [connection-2] SENT: 32 0000002002000000005311d000000010000000044043700000080070ffffffff +1ms\r\n  rhea-promise:connection [connection-2] connection got event: 'connection_error'. Re-emitting the translated context. +2ms\r\n  rhea-promise:translate [connection-2] Translating the context for event: 'connection_error'. +2ms\r\n  rhea:frames [connection-1]:0 -> empty +7s\r\n  rhea:raw [connection-1] SENT: 8 0000000802000000 +7s\r\n  rhea:frames [connection-1]:0 -> empty +8s\r\n  rhea:raw [connection-1] SENT: 8 0000000802000000 +8s\r\n```\r\n\r\nBy using the debug I found out that the connection object is emitting `connection_error`, so I added a handler for that and I found this:\r\n\r\n```\r\n'Broker: localhost - Client: 6b2b300a-e389-e245-babc-de9b440a7ff5 already connected from tcp://127.0.0.1:58869',\r\n```\r\n\r\nI will investigate this, maybe my activemq has a limit of connections per client set to 1, or something like that?\r\n"}}
{"actor":{"display_login":"jfromaniello"}}