Forum Discussion

sambellusa's avatar
sambellusa
New member | Level 2
8 years ago

Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image

Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image api. Sometimes images are downloaded and sometimes it fail with handshake exception. 

DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder("test-v1")
.withHttpRequestor(new OkHttp3Requestor(OkHttp3Requestor.defaultOkHttpClient()))
.build();

sDbxClient = new DbxClientV2(requestConfig, accessToken);

This is the implementation for getting dropbox client object.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report. I can't seem to reproduce this though. Your code looks correct and is working for me.

     

    Is there anything on your network connection that may be interfering? For example, any anti-virus, proxy, firewall, or other security software. Or, is your network connection itself unreliable?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 15 hours ago
351 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!