Running flows stop working

Symptom

Event Processing flows that consume from TLS-secured endpoints stop working with the following error:

org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Causes

The certificates that are on the endpoint might change compared to the certificates stored in Event Processing, which causes issues when running the flow.

Resolving the problem

Use the Event Source wizard to replace the certificate stored in Event Processing and restart the flow as follows:

  1. Click your flow in the Event Processing UI.
  2. Stop the flow.
  3. Hover over the source node and click Edit icon Edit. The Configure event source window is displayed.
  4. Accept the new certificates and complete the wizard steps.
  5. Restart your Event Processing flow. In the navigation banner, expand Run and select either Events from now or Include historical to run your flow.