Closed stuart12 closed 2 years ago
It means the token is invalid, you'd need to re-add the user.
I only have one user (me). Other new events are making their way from etesync on Android into Thunderbird (and etesync-web). There are just some events that never get into thunderbird. Some events that I create in thunderbird appear to vanish.
Reading contacts mostly works but not all the time. I have a script that with the -n
flag downloads all my contacts and does a grep
. I ran it twice in a row:
:; ring -n curo CRITICAL:root:download from http://localhost:37358/stuart/UJTtsaCwtea0Z4HxvDdf0e6fQ/ failed with 500 :; ring -n curo Vanny Curo, m 0450940956
I get the same error in the TbSync account manager: HTTP Error 500 but sometimes the sync works and I get the status OK. etesync-dav's log shows the same thing. Sometimes the sync works and sometimes it fails:
Jan 21 16:41:15 kooka python3[142981]: [2022-01-21 16:41:15 +0100] [142981/Thread-80] [INFO] PROPFIND request for '/stuart/OvKup7OiE7Dn4Fn7t31rog8u/' with depth '0' received from 127.0.0.1 using 'Mozilla/5.0 (X11; >
Jan 21 16:41:15 kooka python3[142981]: [2022-01-21 16:41:15 +0100] [142981/Thread-80] [INFO] Successful login: 'stuart'
Jan 21 16:41:16 kooka python3[142981]: [2022-01-21 16:41:16 +0100] [142981/Thread-2] [ERROR] Invalid token.
Jan 21 16:41:16 kooka python3[142981]: Traceback (most recent call last):
Jan 21 16:41:16 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/radicale/storage.py", line 84, in run
Jan 21 16:41:16 kooka python3[142981]: etesync.sync()
Jan 21 16:41:16 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/local_cache/__init__.py", line 90, in sync
Jan 21 16:41:16 kooka python3[142981]: self.sync_collection_list()
Jan 21 16:41:16 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/local_cache/__init__.py", line 104, in sync_collection_list
Jan 21 16:41:16 kooka python3[142981]: col_list = col_mgr.list(COL_TYPES, fetch_options)
Jan 21 16:41:16 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etebase/__init__.py", line 247, in list
Jan 21 16:41:16 kooka python3[142981]: return CollectionListResponse(self._inner.list_multi(list(col_type), _inner(fetch_options)))
Jan 21 16:41:16 kooka python3[142981]: etebase_python.Error: Invalid token.
Jan 21 16:41:16 kooka python3[142981]: [2022-01-21 16:41:16 +0100] [142981/Thread-80] [ERROR] An exception occurred during PROPFIND request on '/stuart/OvKup7OiE7Dn4Fn7t31rog8u/': Invalid token.
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-81] [INFO] PROPFIND request for '/stuart/' with depth '0' received from 127.0.0.1 using 'Thunderbird CalDAV/CardDAV'
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-81] [INFO] Access to '/stuart/' denied for anonymous user
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-81] [INFO] PROPFIND response status for '/stuart/' with depth '0' in 0.001 seconds: 401 Unauthorized
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-82] [INFO] PROPFIND request for '/stuart/' with depth '0' received from 127.0.0.1 using 'Thunderbird CalDAV/CardDAV'
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-82] [INFO] Successful login: 'stuart'
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-2] [ERROR] Invalid token.
Jan 21 16:50:06 kooka python3[142981]: Traceback (most recent call last):
Jan 21 16:50:06 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/radicale/storage.py", line 84, in run
Jan 21 16:50:06 kooka python3[142981]: etesync.sync()
Jan 21 16:50:06 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/local_cache/__init__.py", line 90, in sync
Jan 21 16:50:06 kooka python3[142981]: self.sync_collection_list()
Jan 21 16:50:06 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etesync_dav/local_cache/__init__.py", line 104, in sync_collection_list
Jan 21 16:50:06 kooka python3[142981]: col_list = col_mgr.list(COL_TYPES, fetch_options)
Jan 21 16:50:06 kooka python3[142981]: File "/tmp/etesync-dav@stuart/.local/lib/python3.9/site-packages/etebase/__init__.py", line 247, in list
Jan 21 16:50:06 kooka python3[142981]: return CollectionListResponse(self._inner.list_multi(list(col_type), _inner(fetch_options)))
Jan 21 16:50:06 kooka python3[142981]: etebase_python.Error: Invalid token.
Jan 21 16:50:06 kooka python3[142981]: [2022-01-21 16:50:06 +0100] [142981/Thread-82] [ERROR] An exception occurred during PROPFIND request on '/stuart/': Invalid token.
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-83] [INFO] PROPFIND request for '/stuart/' with depth '0' received from 127.0.0.1 using 'Thunderbird CalDAV/CardDAV'
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-83] [INFO] Access to '/stuart/' denied for anonymous user
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-83] [INFO] PROPFIND response status for '/stuart/' with depth '0' in 0.001 seconds: 401 Unauthorized
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-84] [INFO] PROPFIND request for '/stuart/' with depth '0' received from 127.0.0.1 using 'Thunderbird CalDAV/CardDAV'
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-84] [INFO] Successful login: 'stuart'
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-84] [INFO] PROPFIND response status for '/stuart/' with depth '0' in 0.002 seconds: 207 Multi-Status
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-85] [INFO] PROPFIND request for '/stuart/' with depth '1' received from 127.0.0.1 using 'Thunderbird CalDAV/CardDAV'
Jan 21 16:50:07 kooka python3[142981]: [2022-01-21 16:50:07 +0100] [142981/Thread-85] [INFO] Successful login: 'stuart'
I was getting synchronisation problems and strange errors:
Feb 17 16:44:31 kooka python3[442535]: /usr/lib/python3/dist-packages/vobject/base.py:736: DeprecationWarning: invalid escape sequence \-
Feb 17 16:44:31 kooka python3[442535]: patterns['name'] = '[a-zA-Z0-9\-_]+'
Feb 17 16:44:31 kooka python3[442535]: /usr/lib/python3/dist-packages/vobject/base.py:1219: DeprecationWarning: invalid escape sequence \;
Feb 17 16:44:31 kooka python3[442535]: s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")
Feb 17 16:44:31 kooka python3[442535]: /usr/lib/python3/dist-packages/vobject/base.py:1219: DeprecationWarning: invalid escape sequence \,
Feb 17 16:44:31 kooka python3[442535]: s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")
Feb 17 16:46:16 kooka python3[442847]: [2022-02-17 16:46:16 +0100] [442847/Thread-3] [ERROR] An exception occurred during GET request on '/.web': cannot import name 'URLField' from 'wtforms' (/usr/lib/python3/dist-packages/wtforms/__init__.py)
They appear to have gone away now that I have added --ignore-installed
to the pip3 install
command. I did not have to re-add the user (myself). It appears that in Debian sid, some packaged python3.9 packages are not compatible with etesync-dav-0.32.1.
hello, some calendar events are not being synchronised (from Android) into thunderbird (tbsync). A restart of etesync-dav and thunderbird does not make the exception/error go away or the missing calendar entries arrive. etesync-web shows that the calendar entry has been sent from Android to my etesync server. It is just etesync-dav that seems unable to send it to Thunderbird 91.4.0 with tbsync 3.0.1. I do not have problems with contacts. Should I delete the cache and restart?
The start messages are (just to confirm the version numbers):