[
https://issues.apache.org/jira/browse/AMQ-8019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diptesh Chakraborty updated AMQ-8019:
-------------------------------------
Summary: Support for InactivityMonitor over https and failover (was:
Support for managing InactivityMonitor over https and failover)
> Support for InactivityMonitor over https and failover
> -----------------------------------------------------
>
> Key: AMQ-8019
> URL: https://issues.apache.org/jira/browse/AMQ-8019
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.15.9
> Reporter: Diptesh Chakraborty
> Priority: Major
> Labels: HttpsURLConnection, InactivityMonitor
>
> With the below configuration on
>
> *Client configuration:*
> failover:
> ([https://xxxx.com:8443)?nested.useInactivityMonitor=false&useExponentialBackOff=false&initialReconnectDelay=7000&maxReconnectAttempts=4&maxReconnectDelay=7000|https://xxxx.com:8443)/?nested.useInactivityMonitor=false&useExponentialBackOff=false&initialReconnectDelay=7000&maxReconnectAttempts=4&maxReconnectDelay=7000]
>
> *Broker configuration*
> <transportConnector name="https" uri="https://xxxx.com:8443"/>
>
> With the above setup, I am still encountering the following in
>
> *activemq.log*
> at java.lang.Thread.run(Thread.java:745)[:1.7.0_131] at
> java.lang.Thread.run(Thread.java:745)[:1.7.0_131]2020-08-05 21:50:01,066 |
> WARN | Transport Connection to: blockingQueue_458574741 failed:
> org.apache.activemq.transport.InactivityIOException: Channel was inactive for
> too (>30000) long: blockingQueue_458574741 |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> InactivityMonitor Worker
>
> *Logs at client side*
> 188078 [ActiveMQ Task-3] INFO
> org.apache.activemq.transport.failover.FailoverTransport - Successfully
> reconnected to
> [https://xxxx.com:8443?useInactivityMonitor=false|https://xxxx.com:8443/?useInactivityMonitor=false]
> WARN | Transport
> ([https://xxxxx.com:8443?useInactivityMonitor=false|https://xxxxx.com:8443/?useInactivityMonitor=false])
> failed , attempting to automatically reconnect: {}
> WARN | Transport
> ([https://xxxxx.com.com:8443?useInactivityMonitor=false|https://xxxxx.com.com:8443/?useInactivityMonitor=false])
> failed , attempting to automatically reconnect: {}
> java.io.IOException: Failed to perform GET on:
> [https://xxxx.com:8443|https://xxxx.com:8443/]
> Reason: null at
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:34)
> at
> org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:208)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(Unknown Source) at
> org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:52)
> at
> org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:199)
> ... 1 more
--
This message was sent by Atlassian Jira
(v8.3.4#803005)