Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

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.

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    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 and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!