chrisdutz opened a new issue, #5281:
URL: https://github.com/apache/streampipes/issues/5281

   When resolving runtime options fails (e.g. browsing a device for a tree 
input), the extension service answers with the
   `SpConfigurationException` itself as JSON, cause chain included 
(`RuntimeResolvableResource`,
   `InvocablePipelineElementResource`, `RuntimeOptionsOperationHandler`). If 
the chain contains a
   `java.security.cert.CertPathValidatorException` - which every TLS connection 
to a server with an untrusted
   certificate produces - Jackson fails on its 
`sun.security.provider.certpath.X509CertPath`:
   
   ```
   DatabindException: access to public member failed: 
sun.security.provider.certpath.X509CertPath.getCertificates
   ```
   
   The response then breaks, and the UI shows only "An unknown error has 
occurred" instead of the adapter's message
   (e.g. that the server certificate is not trusted and which fingerprint to 
pin). Reproduced with the mapper configured
   by `JacksonConfiguration` (Spring Boot 4 / Jackson 3) on JDK 25. Found with 
a ToddySoft Connect adapter against PLCs
   with self-signed certificates; adapters can work around it by throwing 
without a cause, but every adapter would have
   to know that.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to