cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

sambellusa
New member | Level 2

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 1

Greg-DB
Dropbox 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?

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?