cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: api.dropboxapi.com failed to connect connection timed out

api.dropboxapi.com failed to connect connection timed out

Dennis P.11
New member | Level 2

I can't access api.dropboxapi.com from my godaddy VPS..but I tested the same code on another godaddy VPS and its working...by the way..api.dropboxapi.com is the only one failing ...content.dropboxapi.com works great..

9 Replies 9

Greg-DB
Dropbox Staff

Hi Dennis, we're not experiencing any service disruptions for api.dropboxapi.com right now, and especially since it works on one and not the other, it sounds like the issue here may be with the configuration or network connection for that first VPS.

Is there anything on that VPS that might be interfering with the connection, e.g., proxy, firewall, anti-virus, etc.? 

Dennis P.11
New member | Level 2

Hi gregory...thanks for replying...

according to godaddy support there is no proxy, firewall or anti-viruses...

can dropbox ban an IP address for too many requests?

if you like i can share my php code with curl..

Greg-DB
Dropbox Staff

No Dropbox doesn't ban IP addresses for sending too many requests. The Dropbox API does have a rate limiting system, but it will always reply with a 429 or 503 status code (i.e., it won't just let the connection time out).

Anyway, the issue probably wouldn't be with the code, as you mentioned the same code works on another VPS. It sounds like the issue is with configuration or connection of that particular VPS, but I'm afraid I can't offer help with that specifically. 

Dennis P.11
New member | Level 2

thanks, i'll reinstall curl..

by the way, i have a SSL certificate on the first server..would it have to do with the problem?..

accesing https://app.mapdatacollector.com/dropbox.php or http://app.mapdatacollector.com/dropbox.php  fails  (first VPS)

but accessing http://mapdatacollector.websolutionsdd.com/dropbox.php ---it doesn't have SSL certificate (second VPS)--- works like a charm...

Greg-DB
Dropbox Staff

The SSL certificate for a server is used for connections to that server, and shouldn't be involved in outgoing connections made by that server (e.g., to the Dropbox API).

Dennis P.11
New member | Level 2

Thanks for the help Gregory...

Dennis P.11
New member | Level 2

 

Hi Gregory...

Well after too much try.. we decide to change the first godaddy VPS zone..and guess what?..it started working !!!!...

Another solution if anyone else is having the same issue...

Dennis P.11
New member | Level 2

Hi Gregory..

Is there anyway to revalidate an invalid token instead of reauthenticate the user?..

Working with api v2  i revoked  a token by mistake...

Greg-DB
Dropbox Staff
For anyone looking for the answer to this question, please refer to the new thread for it:

https://www.dropboxforum.com/t5/API-support/Is-there-anyway-to-revalidate-an-invalid-token-instead-o...
Need more support?