Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

ssl error when datasift-writer tries to connect to https://in.datasift.com #45

Closed
nwolff opened this issue Aug 11, 2015 · 3 comments
Closed

Comments

@nwolff
Copy link

nwolff commented Aug 11, 2015

Using the packer distribution from the latest release: https://github.com/datasift/datasift-connector/releases/tag/1.0.15-1

/var/log/datasift/writer.log shows:

(2015,08,11,15,20,54,(996)) ERROR com.dat.con.wri.BulkManager:282 - Could not connect to ingestion endpoint
 javax.net.ssl.SSLException: java.security.ProviderException: java.security.KeyException
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1874)
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1857)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1378)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)

I was able to fix by upgrading the jdk to version 8 update 45 (I followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ )

@dugjason
Copy link
Contributor

Speaking to another customer, I can confirm that this resolved their issues. @AndyJS can we look at upgrading the default version of Java we use please?

@nwolff
Copy link
Author

nwolff commented Aug 13, 2015

Problem is still there in 1.0.19-1 (and upgrading the jdk still fixes the problem)

@AndyJS
Copy link
Contributor

AndyJS commented Aug 28, 2015

We've updated to JDK 1.8_60 in the latest release. This appears to have resolved the KeyException issue.

https://github.com/datasift/datasift-connector/releases/tag/1.0.44-1

@AndyJS AndyJS closed this as completed Aug 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants