closing AMQP connection bad header

7,234 views
Skip to first unread message

Madan Bs

unread,
Dec 15, 2016, 4:31:04 AM12/15/16
to rabbitmq-users
Hi,

I am doing rabbitmq cluster set up. Rabbit Mq console is not showing up. Am seeing below error message.



=INFO REPORT==== 15-Dec-2016::09:04:55 ===

accepting AMQP connection <0.1125.0> (14.141.91.41:51371 -> 10.2.1.25:5672)


=ERROR REPORT==== 15-Dec-2016::09:04:55 ===

closing AMQP connection <0.1125.0> (14.131.01.11:51371 -> 10.23.8.29:5672):

{bad_header,<<"GET / HT">>}

Could you please any one help to fix this issue.

Regards

Madan BS

Michael Klishin

unread,
Dec 15, 2016, 4:38:11 AM12/15/16
to rabbitm...@googlegroups.com, Madan Bs
Management UI uses port 15672, not 5672. The message below shows
that RabbitMQ AMQP 0-9-1 parser complains about a client that
sends GET / HTTP … which is clearly an HTTP request.
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To post to this group, send an email to rabbitm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Michael Klishin

unread,
Dec 15, 2016, 5:08:18 AM12/15/16
to Madan Bs, rabbitm...@googlegroups.com
+rabbitmq-users. I do not offer any kind of 1-on-1 support.

No, you need to port your HTTP client (or Web browser) to port 15672
which is the port that management plugin uses by default. You are trying to connect
to the wrong port.

I'm sorry but according to the log you did not try port 15672:
14.131.91.41:51371 -> 10.23.1.26:5672 means a client from IP 14.131.91.41 connected
to RabbitMQ on 10.23.1.26 on port 5672 which is the AMQP port (it DOES NOT serve HTTP requests).

See http://www.rabbitmq.com/management.html for management plugin documentation
(how to enable it, what port it uses, etc) and http://www.rabbitmq.com/networking.html for the full list of ports
used by various protocols.

On Thu, Dec 15, 2016 at 1:03 PM, Madan Bs <mada...@gmail.com> wrote:
Thanks Michael.

I tried with 15672 port but no luck. its the same error message. We need to change port from 5672 to 15672 in rabbitmq.config file????


=INFO REPORT==== 15-Dec-2016::09:04:55 ===

accepting AMQP connection <0.1125.0> (14.131.91.41:51371 -> 10.23.1.26:5672)


=ERROR REPORT==== 15-Dec-2016::09:04:55 ===

closing AMQP connection <0.1125.0> (14.131.91.41:51371 -> 10.23.1.26:5672):

{bad_header,<<"GET / HT">>}

Regards
Madan BS


On Thu, Dec 15, 2016 at 3:08 PM, Michael Klishin <mkli...@pivotal.io> wrote:
Management UI uses port 15672, not 5672. The message below shows
that RabbitMQ AMQP 0-9-1 parser complains about a client that
sends GET / HTTP … which is clearly an HTTP request.

On 15 December 2016 at 12:31:08, Madan Bs (mada...@gmail.com) wrote:
> Hi,
>
> I am doing rabbitmq cluster set up. Rabbit Mq console is not showing up. Am
> seeing below error message.
>
>
>
> =INFO REPORT==== 15-Dec-2016::09:04:55 ===
>
> accepting AMQP connection <0.1125.0> (14.141.91.41:51371 -> 10.2.1.25:5672)
>
>
> =ERROR REPORT==== 15-Dec-2016::09:04:55 ===
>
> closing AMQP connection <0.1125.0> (14.131.01.11:51371 -> 10.23.8.29:5672):
>
> {bad_header,<<"GET / HT">>}
>
> Could you please any one help to fix this issue.
>
> Regards
>
> Madan BS
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.

> To post to this group, send an email to rabbitm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Michael Klishin

unread,
Dec 15, 2016, 5:10:46 AM12/15/16
to Madan Bs, rabbitm...@googlegroups.com
This should read: "to point your HTTP client (or Web browser)…"
Reply all
Reply to author
Forward
0 new messages