retupmoca / P6-Net-AMQP

MIT License
6 stars 4 forks source link

Possible problem with exchange.declare #6

Closed jonathanstowe closed 8 years ago

jonathanstowe commented 8 years ago

Hi, exchange.declare appears to hang with the server giving:

=ERROR REPORT==== 5-Sep-2015::09:05:52 ===
AMQP connection <0.2610.0> (running), channel 1 - error:
{amqp_error,frame_error,
            "cannot decode <<0,0,10,97,109,113,46,100,105,114,101,99,116,6,100,105,114,101,99,116,1>>",
            'exchange.declare'}

=INFO REPORT==== 5-Sep-2015::09:05:52 ===
closing AMQP connection <0.2610.0> (127.0.0.1:49578 -> 127.0.0.1:5672)

The connection hangs because the unexpected closure of the connection isn't handled.

I may get to look at this but I am going on holiday tomorrow morning.