-
Hello,
The difference to infinispan/default-jgroups-udp.xml is that I have added <SSL_KEY_EXCHANGE
keystore_name="${keystore.path}"
keystore_password="${keystore.password}"
truststore_name="${truststore.path}"
truststore_password="${truststore.password}"
ssl_protocol="TLSv1.2"
bind_addr="${jgroups.bind.address:SITE_LOCAL}"
port="${jgroups.ssl.key.exchange.bind.port:2157}"
port_range="${jgroups.ssl.key.exchange.bind.port.range:60}"
require_client_authentication="true"
socket_timeout="30000"/>
<ASYM_ENCRYPT
asym_keylength="2048"
asym_algorithm="RSA"
change_key_on_coord_leave = "false"
change_key_on_leave = "false"
use_external_key_exchange = "true"/> So the the complete Stack looks as follows:
Without Debugging revealed the following additional information (unfortunately StackTrace:
MessageBatch details (message already removed by
Message that led to the NPE:
Sometimes the log messages are flooding the logs, sometimes they are sporadic. How can I avoid this problem? Can I fix it by tweaking my stack configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
I made an error in the original description: I did not mention |
Beta Was this translation helpful? Give feedback.
-
I think I know what the problem is: when asking a sender for retransmission of a missing message, I created [1] to keep track of this. |
Beta Was this translation helpful? Give feedback.
-
OK, JGRP-2680 has been fixed. You may want to verify that the fix works by running |
Beta Was this translation helpful? Give feedback.
-
Excellent! I'll hope to release 5.2.14 soon |
Beta Was this translation helpful? Give feedback.
-
I'm working on [1], and want to also include [2] and [3]. Once this is done, I'll release 5.2.14. I'd say 2-3 weeks. [1] https://issues.redhat.com/browse/JGRP-2681 |
Beta Was this translation helpful? Give feedback.
I think I know what the problem is: when asking a sender for retransmission of a missing message,
UNICAST3
does not set the sender's address (regular message sending viadown()
does!). The transport would set the sender's address, but the message doesn't get there; instead, we encrypt it into a wrapped message which is then sent. On the receiver's side, the message is decrypted (null sender) and added to a batch, this causes the NPE.I created [1] to keep track of this.
[1] https://issues.redhat.com/browse/JGRP-2680