iwonbigbro/gsync

HTTP 503 error - backend error

Opened this issue · 0 comments

Hi there,

I am getting the following error reported when I am trying to do my Gsync'ing.
It occurs overnight after having been uploading files all day (first time upload)
So I then re-run the command.

The command I am using is:

gsync -c -r -t -p -o -g -v --progress --delete -l -s /data/source/ drive://destination

The error I get (after many hours) is:

DEBUG: 'Exception': File "/usr/local/lib/python2.7/site-packages/libgsync/drive/init.py", line 704, in update
return req.execute()
File "/usr/local/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/googleapiclient/http.py", line 723, in execute
raise HttpError(resp, content, uri=self.uri)

DEBUG: <HttpError 503 when requesting https://www.googleapis.com/drive/v2/files/?alt=json&setModifiedDate=true&newRevision=true returned "Backend Error">: File "/usr/local/lib/python2.7/site-packages/libgsync/crawler.py", line 150, in run
self._walk(srcpath, self._walkCallback, self._dev)
File "/usr/local/lib/python2.7/site-packages/libgsync/crawler.py", line 124, in _walk
self._sync(f)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/init.py", line 31, in call
self._sync(path)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/init.py", line 188, in _sync
self.dst.create(dstPath, srcFile)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/file/init.py", line 316, in create
self.createFile(path, srcObj)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/file/__init
.py", line 220, in createFile
self.__updateStats(path, src)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/file/__init
.py", line 273, in updateStats
self._updateStats(path, src, mode, uid, gid, mtime, atime)
File "/usr/local/lib/python2.7/site-packages/libgsync/sync/file/remote/__init
.py", line 148, in _updateStats
'setModifiedDate': GsyncOptions.times
File "/usr/local/lib/python2.7/site-packages/libgsync/drive/init.py", line 704, in update
return req.execute()
File "/usr/local/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(_args, *_kwargs)
File "/usr/local/lib/python2.7/site-packages/googleapiclient/http.py", line 723, in execute
raise HttpError(resp, content, uri=self.uri)

Error: <HttpError 503 when requesting https://www.googleapis.com/drive/v2/files/?alt=json&setModifiedDate=true&newRevision=true returned "Backend Error">
sent 247102411996 bytes received 0 bytes 7295155.52 bytes/sec

I am unsure of how to debug this. Our limit is the 1TB limit and we have not hit this.