From External contributors:
I have some RPC client code that calls the RPC call uploadAttachmentWithMetadata. If the attachment already exists, I catch the DuplicateAttachmentException and just return the hash. Here is the Scala code that does that:
When NOT using the new graceful reconnect feature, this works fine (as it did in 4.2). However, if I use the graceful reconnect feature when connecting to RPC, the DuplicateAttachmentException is never caught and causes the RPC connection to drop. The log then shows repeated attempts to reconnect but is never successful.
This is how we connect without graceful reconnect:
This is how we connect with graceful reconnect:
I’m pretty sure there’s a support ticket to go along with this. So I suspect it will need to be fixed in CE4.3 as well
Misnamed the branch for this. It’s here:
Components: Corda OS 4.3, Corda OS/ENT 4.4 RC03, CENM 1.1