[bunny-amqp-devel] unable to open channel

31 views
Skip to first unread message

Bunny AMQP client mailing list

unread,
Sep 15, 2009, 10:20:28 PM9/15/09
to Bunny AMQP client mailing list
I'm getting this error when trying to make a connection with 0.5.3.
How do I fix this?

/var/lib/gems/1.8/gems/celldee-bunny-0.5.3/lib/bunny/channel08.rb:
11:in `open': Cannot open channel 1 (Bunny::ProtocolError)
from /var/lib/gems/1.8/gems/celldee-bunny-0.5.3/lib/bunny/
client08.rb:359:in `start'

_______________________________________________
bunny-amqp-devel mailing list
bunny-am...@rubyforge.org
http://rubyforge.org/mailman/listinfo/bunny-amqp-devel

Bunny AMQP client mailing list

unread,
Sep 16, 2009, 1:19:27 AM9/16/09
to bunny-am...@rubyforge.org
Hi, I'm going to need some more information before I can help you.
Could you please tell me what server you are trying to connect to? Is
it RabbitMQ and if so, which version? Are you trying to run this on
Windows, Linux, Mac OSX, something else?

Could you post some or all of the code that you are using? If you are
using IRB what do you enter?

It would also help if you could switch logging on. You can send
logging output to STDOUT by instantiating Bunny like this -

my_client = Bunny.new(:logging => true)

or if you want to output to a file, something like this -

my_client = Bunny.new(:logging => true, :logfile => path to file)

If you post the output here or email it to me I can have a look.

Regards,

Chris Duncan

On Sep 16, 3:20 am, Bunny AMQP client mailing list <bunny-amqp-


de...@rubyforge.org> wrote:
> I'm getting this error when trying to make a connection with 0.5.3.  
> How do I fix this?
>
> /var/lib/gems/1.8/gems/celldee-bunny-0.5.3/lib/bunny/channel08.rb:
> 11:in `open': Cannot open channel 1 (Bunny::ProtocolError)
>          from /var/lib/gems/1.8/gems/celldee-bunny-0.5.3/lib/bunny/
> client08.rb:359:in `start'
>
> _______________________________________________
> bunny-amqp-devel mailing list

> bunny-amqp-de...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/bunny-amqp-devel

Bunny AMQP client mailing list

unread,
Sep 16, 2009, 1:45:22 AM9/16/09
to Bunny AMQP client mailing list
I fixed this by restarting the rabbitmq server, so it's no longer in a
state that I can test.

I'll grab logging information next time it happens. Client and server
are both on Ubuntu Linux.

Off topic but I get emails from "Bunny AMQP client mailing list", is
there a correct place to post to get the correct names/email addresses?

- Jason

celldee

unread,
Sep 16, 2009, 2:53:25 AM9/16/09
to bunny-am...@rubyforge.org
Hi Jason,

On Sep 16, 6:45 am, Bunny AMQP client mailing list <bunny-amqp-


de...@rubyforge.org> wrote:
> I fixed this by restarting the rabbitmq server, so it's no longer in a  
> state that I can test.
>
> I'll grab logging information next time it happens.  Client and server  
> are both on Ubuntu Linux.
>
> Off topic but I get emails from "Bunny AMQP client mailing list", is  
> there a correct place to post to get the correct names/email addresses?
>

Yes, that's my fault. This is the right place. I haven't changed the
settings for the list :\ I'll do it soon.

Regards,

Chris

> bunny-amqp-de...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/bunny-amqp-devel

celldee

unread,
Sep 16, 2009, 9:00:03 AM9/16/09
to bunny-am...@rubyforge.org
Hi Jason,

On Sep 16, 6:45 am, Bunny AMQP client mailing list <bunny-amqp-


de...@rubyforge.org> wrote:
> I fixed this by restarting the rabbitmq server, so it's no longer in a  
> state that I can test.
>
> I'll grab logging information next time it happens.  Client and server  
> are both on Ubuntu Linux.
>

If your problem recurs I will be happy to try to help. I forgot to
mention that you might want to grab the 'next_release' branch of Bunny
because that has some better error handling. I plan to create a pre-
release gem soon and will announce it on this list.

> bunny-amqp-de...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/bunny-amqp-devel

Reply all
Reply to author
Forward
0 new messages