| Heartbeat | 30s |
|---|
[{"version","3.6.5"},{"platform","Java"},{"information","Licensed under the MPL. See http://www.rabbitmq.com/"},{"capabilities",[{"consumer_cancel_notify",true},{"publisher_confirms",true},{"basic.nack",true},{"authentication_failure_close",true},{"connection.blocked",true},{"exchange_exchange_bindings",true}]},{"copyright","Copyright (c) 2007-2016 Pivotal Software, Inc."},{"product","RabbitMQ"}]
hivehome.com--Hive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.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 email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hivehome.com--Hive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
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 email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 email to rabbitm...@googlegroups.com.
--
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 email to rabbitmq-users@googlegroups.com.
That error suggests an exception in Erlang's TLS implementation.
On Mon, Nov 27, 2017 at 6:48 PM, Markevych Alexander <rabot...@gmail.com> wrote:
Hello.Possibly we have simillary issue.RabbitMQ 3.6.12, Erlang 19.3.6.2Consumer doesn't use TLS to connect to queue. Also we use client library that don't support heartbeat php-amqp. Our consumer's nodes frequently started and stopped, and consumer maybe doesn't close connection to RabbitMQ.And some part of this connection continue to hang on the server. We think that they can't send Ack when they failed, and we see grow number of Unacked messages.But if consumer failed/exited - server may detect failed connection to powered off consumer node?
четверг, 16 ноября 2017 г., 18:08:21 UTC+2 пользователь Dmitry Andrianov написал:Hello.RabbitMQ 3.6.12 (Erlang 19). I have a few connections that Management UI reports as
Heartbeat 30s but I know for sure they are dead. I tried running tcpdump with the source port and there is no traffic for a long time.And yet the server does not close these connections for some reason.I am not sure if behaviour is new or not - previously there was amazon ELB classic in front of RabbitMQ that would close connection itself after 60 seconds.Thanks
--
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 email to rabbitm...@googlegroups.com.
hivehome.comHive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
--
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 email to rabbitmq-users@googlegroups.com.
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 email to rabbitmq-users@googlegroups.com.
public class FAMQPS {
................
private static Object getField(final Object target, final String name) {
try {
final Field field = target.getClass().getDeclaredField(name);
field.setAccessible(true);
return field.get(target);
} catch (Exception e) {
throw new RuntimeException("Failed to get field '" + name + "' on " + target);
}
}
public static void main(String[] args) {
try {
final ConnectionFactory factory = new ConnectionFactory();
factory.setHost(args[0]);
factory.useSslProtocol(createSslContext());
factory.setSaslConfig(DefaultSaslConfig.EXTERNAL);
factory.setAutomaticRecoveryEnabled(false);
final Connection connection = factory.newConnection();
System.out.println("connection = " + connection);
// Get actual TCP socket raw output stream
final SocketFrameHandler _frameHandler = (SocketFrameHandler) getField(connection, "_frameHandler");
final SSLSocketImpl _socket = (SSLSocketImpl) getField(_frameHandler, "_socket");
final OutputStream sockOutput = (OutputStream) getField(_socket, "sockOutput");
System.out.println("Sleeping for 5 sec");
Thread.sleep(5000);
sockOutput.flush();
// record type = 0x17 - APPLICATION_DATA
// version = 0x303 - TLS 1.2
// length = 0x0002
// then two zero bytes of "payload"
sockOutput.write(new byte[] {0x17, 0x03, 0x03, 0x00, 0x02, 0x00, 0x00});
sockOutput.flush();
System.out.println("Rubbish sent");
System.out.println("Sleeping for 10 sec");
Thread.sleep(10000);
System.out.println("Finished");
System.exit(0);
} catch (Exception e) {
e.printStackTrace();
}
}
}
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 email to rabbitmq-users@googlegroups.com.
hivehome.com--Hive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
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 email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 email to rabbitm...@googlegroups.com.
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 email to rabbitmq-users@googlegroups.com.
Go ahead :)
hivehome.com--Hive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
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 email to rabbitmq-users@googlegroups.com.
We are not aware of other reports. We will try to allocate some time for this but no promises.
--
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 email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
While there is an interesting RabbitMQ connection behavior that arguably should be different,we can reproduce this behaviour only with some Erlang versions, so there's clearly a difference in TLS socketbehavior.
On Mon, Feb 5, 2018 at 2:25 PM, Michael Klishin <mkli...@pivotal.io> wrote:
There were known scenarios where connections would not detect a TCP socket closure while
in alarmed state. It was addressed in [1] and we haven't
seen that topic brought up on this list more than a few times ever since.
When it was brought up, IIRC switching to TCP keepalives with sensible values [2][3] — since heartbeats only exist
because Linux still uses values that made sense in 1996 — was a functional alternative. Is that something you
can investigate in your case?
1. https://github.com/rabbitmq/rabbitmq-common/pull/31
2. http://www.rabbitmq.com/heartbeats.html#tcp-keepalives
3. http://www.rabbitmq.com/networking.html
On Monday, February 5, 2018 at 1:58:54 PM UTC+1, Michael Klishin wrote:We are not aware of other reports. We will try to allocate some time for this but no promises.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--
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 email to rabbitm...@googlegroups.com.
hivehome.comHive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
--
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 email to rabbitmq-users@googlegroups.com.