Damien
02/19/2024, 8:41 PMWill try again).
INFO org.apache.pulsar.client.impl.ClientCnx - [id: 0x5cf0bd1e, L:/172.19.0.4:52208 ! R:pulsar-broker/172.19.0.3:6651] Disconnected
WARN org.apache.pulsar.client.impl.ConnectionPool - [[id: 0x5cf0bd1e, L:/172.19.0.4:52208 ! R:pulsar-broker/172.19.0.3:6651]] Connection handshake failed: org.apache.pulsar.client.api.PulsarClientException: Connection already closed
WARN org.apache.pulsar.client.impl.ConnectionHandler - [<persistent://foo/bar/in2>] [my-sub] Error connecting to broker: org.apache.pulsar.client.api.PulsarClientException: Connection already closed
WARN org.apache.pulsar.client.impl.ConnectionHandler - [<persistent://foo/bar/in2>] [my-sub] Could not get connection to broker: org.apache.pulsar.client.api.PulsarClientException: Connection already closed -- Will try again in 54.958 s
I appreciate the cert should be rotated before expiring, but this seems a basic error scenario that should be handled better. And as per the docs - the broker [SHOULD] disconnect the client (and the PulsarClientException should imo be (eventually) thrown and not continually caught. This is what happens for example, when creating the initial connection with an already expired cert).
Any insights on using certs, etc. in relation to my 2 threads much appreciated, thanksLari Hotari
02/19/2024, 9:02 PM4. client attempts to recorrect. INDEFINITELYThis was recently reported as https://github.com/apache/pulsar/issues/22026 For cerficate and token revocation there's https://github.com/apache/pulsar/issues/8525 which has been closed as stale. Please create a new issue to track the gap that you have.
Lari Hotari
02/19/2024, 9:06 PMLari Hotari
02/19/2024, 9:06 PMLari Hotari
02/19/2024, 9:07 PMDamien
02/20/2024, 1:44 PM