Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

Artem K.'s avatar
Artem K.
New member | Level 1
9 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 Staff rankDropbox Staff

    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

    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.