Greetings, Lino already posted this, but I think it got buried in the larger discussion of HA configuration.
When a failover happens, we occasionally hit errors like 2024-01-18T22:46:13.436 [http-nio-9910-exec-7] RpcExceptionMapper.toResponse:79 [] INFO - Error in RPC response RpcException: httpCode=500, errorMessage=error sending message: AMQ219014: Timed out after waiting 30000 ms for response when sending packet 71 The exception is thrown from org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(). See Lino’s previous post for the entire stack trace. I’ve seen this kind of thing before and added logic to retry the send() call for “AMQ219016 Connection failure detected. Unblocking a blocking call that will never get a response”. I don’t have a problem retrying this code as well (in fact I’ve added the range AMQ219011 - AMQ219016 to the retry logic), but the 30 second delay is quite long, and it starts to trigger our own RPC timeouts by the time all of the reconnect is performed. So my questions are: * Is it expected that we’d hit this error during failover and that it takes this long to manifest? * Is there a way to reduce the timeout value, and is that recommended? * Are there yet more codes we should retry? Thanks john [rg] <https://www.redpointglobal.com/> John Lilley Data Management Chief Architect, Redpoint Global Inc. 34 Washington Street, Suite 205 Wellesley Hills, MA 02481 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint.