CRITICAL:root:Exception (Unauthorized - Server responded with: 401, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</internalReason>
</error>
</errors>
) while syncing profile heatherkjenkins2mrmattwilkins
[12:30:05.625 CRITICAL] Exception (Unauthorized - Server responded with: 401, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</internalReason>
</error>
</errors>
) while syncing profile heatherkjenkins2mrmattwilkins
CRITICAL:root:Traceback (most recent call last):
File "/usr/local/ASynK/asynk/asynk_core.py", line 396, in op_sync
result = sync.sync(self.get_sync_dir())
File "/usr/local/ASynK/asynk/sync.py", line 295, in sync
sl1, sl2 = self.prep_lists(dirn)
File "/usr/local/ASynK/asynk/sync.py", line 283, in prep_lists
return self._prep_lists_2_way(self.get_f1(), self.get_f2())
File "/usr/local/ASynK/asynk/sync.py", line 179, in _prep_lists_2_way
f2.prep_sync_lists(f1.get_dbid(), f2sl)
File "/usr/local/ASynK/asynk/folder_gc.py", line 118, in prep_sync_lists
newi = self.get_itemids(pname, destid)
File "/usr/local/ASynK/asynk/folder_gc.py", line 219, in get_itemids
self._refresh_contacts()
File "/usr/local/ASynK/asynk/folder_gc.py", line 550, in _refresh_contacts
feed = self._get_group_feed()
File "/usr/local/ASynK/asynk/folder_gc.py", line 629, in _get_group_feed
feed = self.get_gdc().GetContacts(q=query)
File "/usr/local/ASynK/lib/gdata/contacts/client.py", line 201, in get_contacts
desired_class=desired_class, **kwargs)
File "/usr/local/ASynK/lib/gdata/client.py", line 640, in get_feed
**kwargs)
File "/usr/local/ASynK/lib/gdata/client.py", line 307, in request
response, Unauthorized)
Unauthorized: Unauthorized - Server responded with: 401, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</internalReason>
</error>
</errors>
[12:30:05.627 CRITICAL] Traceback (most recent call last):
File "/usr/local/ASynK/asynk/asynk_core.py", line 396, in op_sync
result = sync.sync(self.get_sync_dir())
File "/usr/local/ASynK/asynk/sync.py", line 295, in sync
sl1, sl2 = self.prep_lists(dirn)
File "/usr/local/ASynK/asynk/sync.py", line 283, in prep_lists
return self._prep_lists_2_way(self.get_f1(), self.get_f2())
File "/usr/local/ASynK/asynk/sync.py", line 179, in _prep_lists_2_way
f2.prep_sync_lists(f1.get_dbid(), f2sl)
File "/usr/local/ASynK/asynk/folder_gc.py", line 118, in prep_sync_lists
newi = self.get_itemids(pname, destid)
File "/usr/local/ASynK/asynk/folder_gc.py", line 219, in get_itemids
self._refresh_contacts()
File "/usr/local/ASynK/asynk/folder_gc.py", line 550, in _refresh_contacts
feed = self._get_group_feed()
File "/usr/local/ASynK/asynk/folder_gc.py", line 629, in _get_group_feed
feed = self.get_gdc().GetContacts(q=query)
File "/usr/local/ASynK/lib/gdata/contacts/client.py", line 201, in get_contacts
desired_class=desired_class, **kwargs)
File "/usr/local/ASynK/lib/gdata/client.py", line 640, in get_feed
**kwargs)
File "/usr/local/ASynK/lib/gdata/client.py", line 307, in request
response, Unauthorized)
Unauthorized: Unauthorized - Server responded with: 401, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</internalReason>
</error>
</errors>
How long does each of your runs take? Asynk is not designed to be "thread safe". One wild possibility could be the cron runs are getting into each other. Sounds very unlikely, but that is the best guess I can come up with.
--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send an email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/d943a4c0-5347-459a-a14a-95bb3be765b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
When I run my google to google sync on the command line it always works. But I run it every 15mins via cron, and probably once an hour or two the sync fails with an "Invalid Credentials" error.
--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send an email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CADH-zAchB20L1YtyqizFWA4ZQv6JK%2BtdKJ8t8dQqussdKEt-Dw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CADH-zAemNcTMfvk%3DNperF3DrLc7Se1vC8ioPjA%3DhjLud5mSyzg%40mail.gmail.com.