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: 

Re: Dropbox throwing SSL errors for some users

Dropbox throwing SSL errors for some users

Fahad G.
Explorer | Level 4

Hi

We've got a few users on iOS (iPhone 6 plus, iOS 😎 that have been complaining that Dropbox for them isn't working. Upon inspection, it seems it's failing on all SSL communication with errors such as:

"[ERROR] DropboxSDK: SSL Error. Cannot validate a certificate for the host: api.dropbox.com"
[WARNING] DropboxSDK: error making request to /1/search/sandbox - (-1012) Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)"

Or:

CFNetwork SSLHandshake failed (-9806)
CFNetwork SSLHandshake failed (-9802)
CFNetwork SSLHandshake failed (-9824)
NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
[WARNING] DropboxSDK: error making request to /1/account/info

Any idea what's happening?

2 Replies 2

Greg-DB
Dropbox Staff

[Moved from "Bug & Troubleshooting" to "API Development"]

Thanks for the report. Have you been able to reproduce this issue yourself? The API, on api.dropbox.com, is being served with a valid certificate:

https://www.ssllabs.com/ssltest/analyze.html?d=api.dropbox.com&latest

That being the case, if this isn't happening for all users, it sounds like there may be something device-specific preventing these in particular from verifying the certificate. Do you know if these devices are jailbroken by any chance? Or maybe these users are behind a captive portal or are on some network that blocks Dropbox?

Fahad G.
Explorer | Level 4

Thanks Greg, after a thorough investigation, it seems this happens usually when the user's Wifi connection is poor. We were able to get around this by retrying a few times before giving up.

Need more support?