- Red Hat Openshift Container Platform (OCP) 4.6
- Red Hat AMQ Interconnect (AMQ Interconnect) 1.8.0
- AMQ Interconnect deployed in OCP
- Clients connections via "amqps://xxxx"
APP client connections fail with errors:
2021-07-01 10:06:33,312  INFO MY.TEST.Services.Integration.Helper.Logger - Connection is null or closed. Creating connection. - 2021-07-01 10:06:33,312  INFO MY.TEST.Services.Integration.Helper.Logger - Connection created. - 2021-07-01 10:06:33,312  INFO MY.TEST.Services.Integration.Helper.Logger - Sending message. - 2021-07-01 10:06:33,327  ERROR MY.TEST.Services.Integration.Helper.Logger - Error Sending AMQP Message Amqp.AmqpException: Connectivity to the peer container was lost at Amqp.Link.ThrowIfDetaching(String operation) at Amqp.SenderLink.SendInternal(Message message, DeliveryState deliveryState, OutcomeCallback callback, Object state, Boolean sync) at Amqp.SenderLink.Send(Message message, OutcomeCallback callback, Object state)
Errors are found in the server error log:
2021-07-01 02:06:49.331801 +0000 SERVER (info) [C98] Connection from 10.136.2.1:40926 (to 0.0.0.0:amqps) failed: amqp:resource-limit-exceeded local-idle-timeout expired 2021-07-01 02:06:49.331953 +0000 ROUTER_CORE (info) [C98] Connection Closed 2021-07-01 02:06:53.863397 +0000 SERVER (info) [C102] Connection from 10.139.0.1:53538 (to 0.0.0.0:amqps) failed: amqp:resource-limit-exceeded local-idle-timeout expired 2021-07-01 02:06:53.863623 +0000 ROUTER_CORE (info) [C102] Connection Closed
From the mail threads discussion in upstream, local-idle-timeout expired
The error means a client did not send a heartbeat as expected. Clients shouldn't need to do anything tbh though, clients should automatically be handling this themselves.
- Learn more
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.