Forum Discussion

Artem K.'s avatar
Artem K.
New member | Level 1
10 years ago

content.dropboxapi.com endpoints give "Certificate has been revoked" error from time to time

Hi,

I am testing my web application after migrating to the new API 2.0 (REST), and I notice that from time to time calls to content.dropboxapi.com endpoints give error with the certificate.

This happens both for POST requests and for pre-flight requests.

Example of URL:

https://content.dropboxapi.com/2/files/download?arg={"path":"/aaa.txt"}

I don't see these errors in Chrome, but in Firefox (47) and IE11 they are quite regular.

 

When it happens, the ajax call returns 0 as a status code.

 

In Firefox, if I dig into network log, I see the following error:

"An error occurred during a connection to content.dropboxapi.com.

Peer's Certificate has been revoked.

Error code: SEC_ERROR_REVOKED_CERTIFICATE"

 

In IE, the error is quite in your face, it actually shows the popup with the following message:

 

"Security Alert
---------------------------
The security certificate for this site has been revoked.

This site should not be trusted."

 

Which is quite annoying since users might think IE is complaining about my site. I could implement re-trying logic, but in case of IE, this popup is not something I would like my users to see.

 

 

Hoping for some advice,

Thanks.

2 Replies

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

    Hi Artem, I can't seem to reproduce this issue with Firefox 47 or IE 11. Also, the Dropbox API server certificates aren't revoked to my knowledge.

    Might there be something on your network connection intermittently interfering with your connections to the Dropbox API servers? E.g., firewall, proxy, anti-virus, etc.?

  • Artem K.'s avatar
    Artem K.
    New member | Level 1
    10 years ago

    Hi Gregory, thank you for looking into this.

    Your answer made me realize I was actually running my tests with fiddler running. I stopped fiddler and now all my tests pass without any issues. Sorry, my bad.

About Dropbox API Support & Feedback

Node avatar for 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!