HsnMustafa / gdocbackup

Automatically exported from code.google.com/p/gdocbackup
0 stars 0 forks source link

Support for two-steps authentication #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using GDocBackupCMD 0.7.6.187 on Debian Wheezy amd64.

Would be nice if the application can support the two-steps authentication. 
After I enabled it for an account already under backup I started receiving 
following errors:

LOG> 000 : ************************************************************
LOG> 000 : ****** START BACKUP PROCESS ******
LOG> 000 : GDocBackupLib - ver. 0.7.6.187
LOG> 000 : BypassHttpsCertCheck ACTIVE
LOG> 100 : GLOBAL-ERROR:  Error retrieving users list
LOG> 100 : GLOBAL-ERROR (exception details): System.ApplicationException: Error 
retrieving users list ---> Google.GData.Client.InvalidCredentialsException: 
Invalid credentials
  at Google.GData.Client.Utilities.QueryClientLoginToken (Google.GData.Client.GDataCredentials gc, System.String serviceName, System.String applicationName, Boolean fUseKeepAlive, IWebProxy proxyServer, System.Uri clientLoginHandler) [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataGAuthRequest.QueryAuthToken (Google.GData.Client.GDataCredentials gc) [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataGAuthRequest.EnsureCredentials () [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataRequest.EnsureWebRequest () [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataGAuthRequest.EnsureWebRequest () [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataRequest.Execute () [0x00000] in <filename unknown>:0
  at Google.GData.Client.GDataGAuthRequest.Execute (Int32 retryCounter) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at GDocBackupLib.Backup.ExecInternalApps () [0x00000] in <filename unknown>:0
  at GDocBackupLib.Backup.ExecInternal () [0x00000] in <filename unknown>:0
  at GDocBackupLib.Backup.Exec () [0x00000] in <filename unknown>:0

****** WARNING: there are errrors! ******

Thank you for your great application.
Alessandro

Original issue reported on code.google.com by alessand...@farmol.com on 6 Nov 2013 at 11:10

GoogleCodeExporter commented 9 years ago
The issue can be bypassed by generating an application-specific password, as 
described here: https://support.google.com/accounts/answer/185833?hl=en

For me this is a win, so the issue can be closed.

Thank you.
Alessandro

Original comment by alessand...@farmol.com on 29 Nov 2013 at 9:06