Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Graham B.
11 years agoNew member | Level 2
SSLPeerUnverifiedException with Android SDk
My app uses the Dropbox Android Core SDK. One user has sent in some log data showing that our app is unable to connect to Dropbox.
(Apologies for the slightly Proguard-obfuscated stacktrace):
E/YNAB (31699): com.dropbox.client2.a.g: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
E/YNAB (31699): at com.dropbox.client2.m.a(RESTUtility.java:420)
E/YNAB (31699): at com.dropbox.client2.m.a(RESTUtility.java:339)
E/YNAB (31699): at com.dropbox.client2.a.a(DropboxAPI.java:1388)
E/YNAB (31699): at com.dropbox.client2.a.a(DropboxAPI.java:1336)
This user's phone is apparently a Blackphone, which apparently uses a hardened Android OS; see https://blackphone.ch/
This particular stacktrace comes from an older version of our app which also uses a slightly older version of the Dropbox SDK, but the user reports the same failure with the latest version of our app using v1.6.2 of the Dropbox SDK.
Is there anything I can do as an app developer to mitigate this particular error, or is there anything I can suggest to this user as a workaround?
5 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks for the report! Do you know if this works on other phones running this operating system, or does this happen for all such phones with this OS? I suspect it is due to the certificates (or lack thereof) installed on this particular OS.
- Graham B.11 years agoNew member | Level 2
It's the only report we've had, probably from the only one of our users who happens to have this particular kind of phone.
Does Dropbox require some unusual certificates to be installed?
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks! I imagine you haven't been able to reproduce this then?
Anyway, I don't believe there's anything unusual about about our certificate chain. I've taken a screenshot here:
https://www.dropbox.com/s/r2u82pm61kakjr0/Screenshot%202015-01-05%2010.47.35.png?dl=0
Maybe this device doesn't have the necessary Go Daddy certificates? Can you ask the user to check/install them if so?
- William M.4611 years agoExplorer | Level 3
I'm having the same problem, on a Samsung tablet running Lollipop. On the same device, the DropBox app itself works fine.
Is there a clear work-around? - Greg-DB11 years ago
Dropbox Community Moderator
[For anyone following along, William posted about this issue with more details in a new thread so we'll follow up there: https://www.dropboxforum.com/hc/communities/public/questions/203848175-SSLPeerUnverifiedException-from-DropboxAPI-in-Android ]
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!