Comments
-
Ok. Other possible reason of my problem is that there was wrong User-Agent string n the request (second line from bottom)
-
I hve read the docs. https://www.dropbox.com/developers/documentation/http/documentation It ways the endpoint must be https://api.dropboxapi.com/oauth2/token So, now i am confused.
-
I seems found the reason . My endpoint to do the second step was https://api.dropboxapi.com/oauth2/token when i replaced it to https://www.dropboxapi.com/oauth2/token all wtarted to work fine. before it worked. maybe that endpoint support for oauth2 was canceled at some point and i didn't notice
-
I have found the workaround . The reason for this problem is some bug in my system libs or in perl modules. It is totally not related to dropbox . My Perl code was $socket = new IO::Socket::SSL(PeerAddr => $host,PeerPort => 443,Timeout=>5); But because some bug it hungs after 32 connects (each previous socket was closed)…