Caught exception: Login unsuccessful.
Opened this issue · 16 comments
I am getting a very weird problem. The code works from my laptop, but it does not work on my server.
the certificate is the same. The DropBoxUploader is the same.
Any ideas?
I am starting to think that my server is being blocked by DropBox. I copy the script to another server with a different IP, and it works
Hi @stccorp
I have the same problem on my server, the script used to work for weeks but since a few days I have the same error. Did you find any fix?
maybe it is related to #52?
Please check the error/exception message carefully. If it is about a CSRF token, then the issue you're experiencing might be due to recent changes Dropbox did (ca. since three days ago). Those are addressed in issue #52 and were just fixed in Dropbox Uploader v1.1.22.
@stccorp, @thomashastir: Please double-check the exact error message. Also please try the latest version.
@stccorp: You reported in January this year that it then worked for you again. Is it not the case any longer? Was it depending on server as well?
@hakre I replaced the script with the new one and everything is working now. Thanks.
@thomashastir: Thanks for the prompt feedback. Let's keep this issue open and let's hope it works equally well for @stccorp as well,
Hi,
I am coming across the Login unsuccessful error as well on a couple of servers. Apparently, this started today. Since there was a chance of it being caused by myself and possible modifications to the DropboxUploader.php file, I have already replaced it with the original, to no avail.
I then tried installing the example.php locally with the entire package, and got the same error.
Is there something I am missing, or could Dropbox have changed something 'suddenly'?
Also having the same issues since this morning all of a sudden.
Password didn't change but get following response:
err:{"recaptcha_response": {"message_text": "Please enter a CAPTCHA response."}}
Read about something in a request from 2014, but could not find that anymore
I too am getting this error again...
Can confirm this login problem as well. On first try I get "ERROR: Login unsuccessful." and on the following ones "ERROR: Cannot extract login CSRF token." (I do three in a row). Have it since ca. a day now, the time can vary for others as Dropbox rollouts need some time to propagate (AFAIK, I'm normally relatively late).
Yes captcha was reported earlier. There was not much to do about it. Perhaps there should be a check for it.
I could take a look, it's now the case that Dropbox spies on the login computer and tries to fingerprint it by injecting data into the form via javascript:
<input type="hidden" name="login_sd" id="login_sd" value="cfv,0.79:dlm:d,Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36,uaend,3955,20030107,en-US,Gecko,4,0,0,0,1920,1172,1920,1200,1920,472,1920,cpen:0,i1:0,dm:0,cwen:1,non:1,opc:0,fc:0,sc:0,wrc:1,isc:0,vib:1,bat:1,x11:0,x12:1,loc::dlm:e,do_en,dm_en,t_en:dlm:if,2,-1,1,0,-1,436;2,-1,0,0,-1,1294;2,-1,0,0,847,847;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,-1,0,0,1477,1152;1,-1,0,0,1444,1515;2,-1,1,0,1471,1152;2,-1,1,0,-1,436;2,-1,0,0,-1,1294;2,-1,0,0,-1,1152;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,0,0,0,1424,411;2,-1,1,0,1447,779;2,-1,0,0,-1,436;2,-1,0,0,972,972;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,-1,0,0,1467,519;0,-1,0,0,1454,525;0,-1,0,0,1452,520;1,0,0,0,1428,883;2,-1,1,0,1457,953;:dlm:f,2,-1,1,0,-1,436;2,-1,0,0,-1,1294;2,-1,0,0,847,847;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,-1,1,0,1477,1152;1,-1,1,0,1444,1515;2,-1,1,0,1471,1152;2,-1,1,0,-1,436;2,-1,0,0,-1,1294;2,-1,0,0,-1,1152;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,0,0,0,1424,411;2,-1,1,0,1447,779;2,-1,0,0,-1,436;2,-1,0,0,972,972;2,-1,0,0,-1,1167;2,-1,0,0,-1,1073;0,-1,0,0,1467,519;0,-1,0,0,1454,525;0,-1,0,0,1452,520;1,0,0,0,1428,883;2,-1,1,0,1457,953;:dlm:l,0,1,6819,18,0,1,1152;1,1,10127,18,0,1,1152;2,2,10127,18,0,0,1152;3,2,10158,9,0,0,1152;4,1,10899,17,0,4,1515;5,1,10947,86,0,4,1515;6,2,10995,86,0,4,1515;7,2,11020,17,0,0,1515;:dlm:n,0,1,177,1280,298;1,1,195,1278,298;2,1,204,1273,298;3,1,204,1269,298;4,1,282,1263,298;5,1,322,1176,296;6,1,327,1173,296;7,1,390,1173,295;8,1,398,1172,295;9,1,422,1171,294;10,1,429,1171,293;11,1,448,1170,292;12,1,456,1169,291;13,1,461,1169,290;14,1,481,1167,288;15,1,490,1165,286;16,1,493,1165,284;17,1,538,1162,281;18,1,589,1158,277;19,1,590,1155,274;20,1,650,1155,273;21,1,906,1154,273;22,1,912,1149,264;23,1,936,1148,263;24,1,949,1148,262;25,1,997,1147,262;26,1,1718,1147,261;27,1,1730,1147,260;28,1,1752,1147,259;29,1,1781,1147,258;30,1,1829,1147,257;31,1,1896,1147,256;32,1,1962,1146,256;33,3,2028,1146,256;34,4,2161,1146,256;35,2,2163,1146,256;36,1,2163,1146,256;37,3,2560,1146,256;38,4,2561,1146,256;39,2,2561,1146,256;40,1,2562,1146,256;41,1,2570,1146,256;42,1,3215,1146,257;43,1,3221,1145,257;44,1,3246,1144,258;45,1,3253,1144,259;46,1,3261,1143,259;47,1,3278,1142,260;48,1,3317,1142,261;49,1,3341,1142,262;50,1,3360,1141,262;51,1,3381,1141,263;52,1,3398,1141,264;53,1,3413,1140,266;54,1,3428,1139,267;55,1,3429,1138,269;56,1,3438,1138,271;57,1,3445,1136,275;58,1,5433,1109,341;59,1,5460,1109,341;60,1,5781,1108,341;61,1,5789,1108,342;62,1,5797,1107,342;63,1,5805,1105,343;64,1,5815,1102,344;65,1,5821,1097,346;66,1,5829,1090,348;67,1,5837,1081,351;68,1,5846,1070,356;69,1,5853,1054,361;70,1,5863,1024,369;71,1,5878,995,376;72,1,5880,963,381;73,1,5886,932,385;74,1,5893,898,391;75,1,5902,875,393;76,1,5909,858,393;77,1,5917,846,393;78,1,5925,836,393;79,1,6157,834,393;80,1,6165,828,396;81,1,6173,820,400;82,1,6181,809,406;83,1,6190,796,413;84,1,6197,782,423;85,1,6205,763,436;86,1,6213,745,452;87,1,6221,725,468;88,1,6230,698,486;89,1,6237,671,503;90,1,6246,639,519;91,1,6253,603,537;92,1,6261,569,553;93,1,6269,533,568;94,1,6277,507,577;95,1,6285,479,589;96,1,10124,868,447;97,1,10177,888,442;98,1,10182,903,439;99,1,10190,917,436;100,1,10197,926,433;101,1,10205,936,429;102,1,10213,942,425;103,1,10221,948,421;104,1,10230,953,417;105,1,10237,958,414;106,3,10726,1023,314;107,4,10838,1023,314;108,2,10838,1023,314;109,3,15023,1142,335;110,4,15102,1141,332;111,3,16023,1564,307;112,4,16134,1562,308;113,2,16134,1562,308;114,3,16653,1297,376;115,4,16733,1297,376;116,3,22822,1189,315;117,4,22918,1189,315;118,3,40295,1297,386;119,4,40414,1297,386;120,2,40415,1297,386;:dlm:u,:dlm:doe,0,3021,-1.00,-1.00,-1.00;:dlm:dme,0,3021,-1.00,-1.00,-1.00,-1.00,-1.00,-1.00,-1.00,-1.00,-1.00;:dlm:page_url,:dlm:misc,92083,918574,0,3021,3021,1016699,40417,1432102681401,1432102682149:dlm:aj,-1,0:dlm:df,{\"cfp\":\"-585761488\",\"fonts\":[\"Arial\",\"Calibri\",\"Cambria\",\"Comic Sans MS\",\"Courier\",\"Courier New\",\"Helvetica\",\"Microsoft Sans Serif\",\"Open Sans\",\"Roboto\",\"Roboto Condensed\",\"Times\",\"Times New Roman\"],\"browser\":{\"cookies\":true,\"java\":true,\"dnt\":\"1\"},\"plugins\":[\"Chrome Remote Desktop Viewer\",\"Chrome PDF Viewer\",\"Native Client\"],\"screen\":{\"colorDepth\":24,\"pixelDepth\":24},\"ss\":true,\"ls\":true,\"idb\":true,\"tzo\":-120,\"rtc\":true}:dlm:xx:dlm:yy:dlm:zz">
The data is clearly a try to fingerprint the user-agent. As the Dropbox Uploader does not provide such a fingerprint, I assume that there is a fallback on recaptcha.
I could be wrong but this might have fixed itself. Though I have been troubleshooting and might have fixed it without knowing. Can someone please confirm that it's working again?
yep, looks like it is working again
Yes it`s also working from my side!
Can confirm it working, too.
Just a note in case someone is not aware of it: If you want to prevent captchas in the long run, switch to the new API. This DropboxUploader here is mainly a maintenance operation. If you depend on the functionality, you should highly consider to switch at times where it's working :) Just saying. You can find more information in the first two paragraphs of the readme: https://github.com/jakajancar/DropboxUploader
I'am getting this error after I moved my application to another server in early August. Source code or password have not been changed. Just like @hakre wrote:
On first try I get "ERROR: Login unsuccessful." and on the following ones "ERROR: Cannot extract login CSRF token."