Created 03-20-2017 10:35 PM
Hi,
I added a GetTwitter processor in Nifi and it started giving me below errors.
2017-03-19 00:40:53,125 ERROR [Timer-Driven Process Thread-7] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: Failed to establish connection properly. Will attempt to reconnect 2017-03-19 00:40:55,127
ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty. Will attempt to reconnect.
I checked nifi-app.log and it has the same error.
Note: When I'm running it on my local windows 10 laptop using localhost:9090/nifi/ it is working fine but when I'm running it on HDP Sandbox of Linux environment using link <hostip>:8080/nifi then it is giving me above error.
Attached is the screenshot of error. nifi-error.pngKindly help
Created 03-21-2017 02:02 PM
The cause of this error is the JVM cannot find the javax.net.ssl.trustStore
required for SSL, or it does not contain the required certificates.
This means you will need to properly configure truststore for your nifi installation. Consult the following posts for further help with that
https://community.hortonworks.com/articles/886/securing-nifi-step-by-step.html
Created 03-26-2017 04:03 PM
Thanks! pbarna. I tried the suggestion you provided but it didn't work.