Interconnect can't connect to the broker

Solution Verified - Updated -

Issue

I use operator deploy broker 7.5 successfully;
Broker 7.5 cluster work well, can produce and consume successfully(Queue name is helloworld).

artemis.cmd consumer --destination helloworld --message-count 76 --url tcp://XX.XX.XX.XX:61616
artemis.cmd producer --destination helloworld --message-count 76 --url tcp://XX.XX.XX.XX:61616

When use interconnect 1.6 basic template deploy and config below. Can't connect to the broker and get below error info.
Config info:

connector {  
  name: broker
  role: route-container
  host: XX.XX.XX.XX
  port: 61616
  saslMechanisms:ANONYMOUS
 }
linkRoute {  
  prefix: helloworld
  direction: in
  connection: broker
}
linkRoute {  
  prefix: helloworld
  direction: out
  connection: broker
}

Error Log:

2020-02-13 09:22:19.026240 +0000 ROUTER (info) [C2][L8] Link attached: dir=out source={<dynamic> expire:sess} target={<none> expire:sess}
2020-02-13 09:22:19.026576 +0000 ROUTER (info) [C2][L9] Link attached: dir=in source={<none> expire:sess} target={<none> expire:sess}
2020-02-13 09:23:01.166215 +0000 SERVER (info) [C1] Connection to XX.XX.XX.XX:61616 failed: amqp:connection:framing-error SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted)

linkroute status is inactive
sh-4.2$ qdstat --linkroutes

Link Routes
  address     dir  distrib       status
  =========================================
  helloworld  in   linkBalanced  inactive
  helloworld  out  linkBalanced  inactive
sh-4.2$

Environment

  • Red Hat AMQ Interconnect 1.6
  • Red Hat AMQ 7.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content