Closed magikmw closed 4 years ago
Need proper error handling in
getRemoteVersion
to figure out why it's failing.
@magikmw could you try again with a release from https://mpcjanssen.nl/artifacts/10.5.1-4-8ad3733/nextcloud/ it has better logging for this error scenario.
Installed from release folder, started the app, clicked sync. BTW sorry for the long posts, I can't figure out how to collapse the logs for readability of the thread.
--------- beginning of main 03-29 16:14:07.580 3474 3474 E etask.nextclou: Not starting debugger since process cannot load the jdwp agent. 03-29 16:14:07.601 3474 3487 I etask.nextclou: The ClassLoaderContext is a special shared library. 03-29 16:14:07.687 3474 3474 D Embryo : preload nl.mpcjanssen.simpletask.nextcloud, 24ms, hwui=true, layout=true, decor=false 03-29 16:14:07.688 3474 3492 D OpenGLRenderer: Skia GL Pipeline 03-29 16:14:08.913 3586 3586 E etask.nextclou: Not starting debugger since process cannot load the jdwp agent. 03-29 16:14:09.023 3586 3614 I etask.nextclou: The ClassLoaderContext is a special shared library. 03-29 16:14:09.100 3586 3586 E Embryo : nl.mpcjanssen.simpletask.nextcloud preload layout failed. main 03-29 16:14:09.115 3586 3586 D Embryo : preload nl.mpcjanssen.simpletask.nextcloud, 68ms, hwui=true, layout=false, decor=false 03-29 16:14:12.322 3978 3978 E etask.nextclou: Not starting debugger since process cannot load the jdwp agent. 03-29 16:14:12.342 3978 4003 I etask.nextclou: The ClassLoaderContext is a special shared library. 03-29 16:14:12.396 3978 3978 I Perf : Connecting to perf service. 03-29 16:14:12.475 3978 3978 D QueryStore: Saved applyFilter ids: [] 03-29 16:14:12.507 3978 3978 I Config : Getting 15 items todoList from cache 03-29 16:14:12.554 3978 3978 I TodoApplication: onCreate() 03-29 16:14:12.554 3978 3978 I TodoApplication: Created todolist nl.mpcjanssen.simpletask.task.TodoList@6077219 03-29 16:14:12.560 3978 3978 I TodoApplication: Started Simpletask nextcloud v10.5.1-4-8ad3733 (10005001) 03-29 16:14:12.577 3978 3978 I TodoApplication: Scheduling daily UI updateCache alarm, first at Mon Mar 30 00:02:00 GMT+02:00 2020 03-29 16:14:12.581 3978 3978 I TodoApplication: Scheduling task list reload 03-29 16:14:12.757 3978 4000 I etask.nextclou: Background concurrent copying GC freed 6428(1109KB) AllocSpace objects, 2(40KB) LOS objects, 50% free, 2MB/4MB, paused 5.693ms total 126.298ms 03-29 16:14:12.768 3978 3978 I Simpletask: onCreate 03-29 16:14:13.003 3978 3978 D FileStore: FileStore is authenticated true 03-29 16:14:13.087 3978 3978 D OpenGLRenderer: Skia GL Pipeline 03-29 16:14:13.171 3978 3978 I Simpletask: onResume 03-29 16:14:13.172 3978 3978 I FSQ : -> Reload 03-29 16:14:13.195 3978 3978 I Simpletask: onResume -> handleIntent 03-29 16:14:13.196 3978 3978 D FileStore: FileStore is authenticated true 03-29 16:14:13.199 3978 4000 I etask.nextclou: Background concurrent copying GC freed 9337(1463KB) AllocSpace objects, 10(468KB) LOS objects, 49% free, 2MB/4MB, paused 51us total 110.509ms 03-29 16:14:13.199 3978 3978 I Simpletask: handleIntent: from m_prefs state 03-29 16:14:13.202 3978 4092 I FSQ : <- Reload 03-29 16:14:13.204 3978 3978 I TaskAdapter: Text size = 14.0 03-29 16:14:13.205 3978 3978 I TaskAdapter: setFilteredTasks called: nl.mpcjanssen.simpletask.task.TodoList@6077219 03-29 16:14:13.205 3978 3978 D TodoList: Getting sorted and filtered tasks 03-29 16:14:13.232 3978 3978 D TodoList: Sorting and filtering tasks took 26 ms 03-29 16:14:13.234 3978 3978 I TaskAdapter: Restoring scroll offset 0, 0 03-29 16:14:13.234 3978 3978 I Simpletask: onResume <- handleIntent 03-29 16:14:13.235 3978 3978 D Event : update UI for event RESUME 03-29 16:14:13.236 3978 3978 D Simpletask: Update applyFilter bar 03-29 16:14:13.238 3978 4092 D TodoList: Reload: Main activity resume 03-29 16:14:13.238 3978 4092 D FileStore: FileStore is authenticated true 03-29 16:14:13.239 3978 3978 D Simpletask: Update applyFilter bar 03-29 16:14:13.250 3978 4092 D TodoList: Executing reloadaction 03-29 16:14:13.250 3978 4092 I Util : Sending file sync start broadcast 03-29 16:14:13.251 3978 3978 D FileStore: Filestore online: true 03-29 16:14:13.257 3978 4092 D NetworkUtils: Searching known-servers store at /data/user/0/nl.mpcjanssen.simpletask.nextcloud/files/knownServers.bks 03-29 16:14:13.257 3978 4092 D NetworkSecurityConfig: No Network Security Config specified, using platform default 03-29 16:14:13.288 3978 4092 W System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 03-29 16:14:13.288 3978 4092 W System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation 03-29 16:14:13.288 3978 4092 W System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 03-29 16:14:13.308 3978 4092 D OwnCloudClient #0: Creating OwnCloudClient 03-29 16:14:13.485 3978 4092 D OwnCloudClient #0: REQUEST PROPFIND /remote.php/webdav/personal/todo.txt 03-29 16:14:13.491 3978 4092 D AdvancedSslSocketFactory: Creating SSL Socket with remote my.domain.com:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@e9e5060 03-29 16:14:13.491 3978 4092 D AdvancedSslSocketFactory: ... with connection timeout 5000 and socket timeout 40000 03-29 16:14:13.513 3978 4092 I ServerNameIndicator: SSLSocket implementation: com.android.org.conscrypt.Java8FileDescriptorSocket 03-29 16:14:13.514 3978 4092 I ServerNameIndicator: SNI done, hostname: my.domain.com 03-29 16:14:13.880 3978 4000 I etask.nextclou: Background concurrent copying GC freed 12639(882KB) AllocSpace objects, 4(144KB) LOS objects, 49% free, 5MB/10MB, paused 633us total 166.349ms 03-29 16:14:13.915 3978 4082 I Adreno : QUALCOMM build : 365e321, I294de8bafa 03-29 16:14:13.915 3978 4082 I Adreno : Build Date : 01/08/19 03-29 16:14:13.915 3978 4082 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02 03-29 16:14:13.915 3978 4082 I Adreno : Local Branch : 03-29 16:14:13.915 3978 4082 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040 03-29 16:14:13.915 3978 4082 I Adreno : Remote Branch : NONE 03-29 16:14:13.915 3978 4082 I Adreno : Reconstruct Branch : NOTHING 03-29 16:14:13.915 3978 4082 I Adreno : Build Config : S L 6.0.7 AArch64 03-29 16:14:13.916 3978 4082 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace. 03-29 16:14:13.926 3978 4082 I Adreno : PFP: 0x005ff110, ME: 0x005ff066 03-29 16:14:13.933 3978 4082 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 03-29 16:14:13.934 3978 4082 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 03-29 16:14:13.956 3978 4082 I OpenGLRenderer: Initialized EGL, version 1.4 03-29 16:14:13.956 3978 4082 D OpenGLRenderer: Swap behavior 2 03-29 16:14:14.185 3978 3978 I Choreographer: Skipped 53 frames! The application may be doing too much work on its main thread. 03-29 16:14:14.226 3978 4092 E TodoList: Can't determine remote file version 03-29 16:14:14.226 3978 4092 E TodoList: nl.mpcjanssen.simpletask.TodoException: UNAUTHORIZED: null 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.remote.FileStore.getRemoteVersion(FileStore.kt:8) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.reloadaction(TodoList.kt:3) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.access$reloadaction(TodoList.kt:1) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:9) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:1) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:3) 03-29 16:14:14.226 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:1) 03-29 16:14:14.226 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:1) 03-29 16:14:14.226 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0) 03-29 16:14:14.226 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$sam$java_util_concurrent_Callable$0.call(Unknown Source:2) 03-29 16:14:14.226 3978 4092 E TodoList: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-29 16:14:14.226 3978 4092 E TodoList: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 03-29 16:14:14.226 3978 4092 E TodoList: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-29 16:14:14.226 3978 4092 E TodoList: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-29 16:14:14.226 3978 4092 E TodoList: at java.lang.Thread.run(Thread.java:764) 03-29 16:14:14.226 3978 4092 I TodoList: Remote version is same, load from cache 03-29 16:14:14.226 3978 4092 I Util : Sending file sync done changed broadcast 03-29 16:14:14.262 3978 4082 D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 03-29 16:14:14.264 3978 4082 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace. 03-29 16:14:14.433 3978 4082 I OpenGLRenderer: Davey! duration=1141ms; Flags=0, IntendedVsync=285798967885610, Vsync=285799851218908, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=285799861260608, AnimationStart=285799861364358, PerformTraversalsStart=285799861527014, DrawStart=285799862123681, SyncQueued=285799933606702, SyncStart=285799933685452, IssueDrawCommandsStart=285799933819983, SwapBuffers=285800107561858, FrameCompleted=285800109121806, DequeueBufferDuration=1543000, QueueBufferDuration=381000, 03-29 16:14:14.573 3978 4082 I OpenGLRenderer: Davey! duration=1280ms; Flags=0, IntendedVsync=285798967885610, Vsync=285799851218908, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=285799861260608, AnimationStart=285799861364358, PerformTraversalsStart=285799861527014, DrawStart=285800120154723, SyncQueued=285800133359202, SyncStart=285800133742587, IssueDrawCommandsStart=285800134178421, SwapBuffers=285800247441025, FrameCompleted=285800248714358, DequeueBufferDuration=2106000, QueueBufferDuration=509000, 03-29 16:14:14.580 3978 3978 D MyAppWidgetProvider: onUpdate 65 03-29 16:14:14.610 3978 3978 I Simpletask: Recreating options menu 03-29 16:14:14.610 3978 3978 D Simpletask: Handle mode 03-29 16:14:14.694 3978 3978 I Choreographer: Skipped 30 frames! The application may be doing too much work on its main thread. 03-29 16:14:14.744 3978 3978 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_ONCE mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 3 03-29 16:14:14.758 3978 3978 D WidgetService: Creating view for widget: 65 03-29 16:14:14.758 3978 3978 D WidgetService: Widget: OnCreate called in ViewFactory 03-29 16:14:14.768 3978 4005 D WidgetService: Widget 65: setFilteredTasks called 03-29 16:14:14.768 3978 4005 D FileStore: FileStore is authenticated true 03-29 16:14:14.768 3978 4005 D WidgetService: Getting applyFilter from preferences for widget 65 03-29 16:14:14.770 3978 4005 D WidgetService: Retrieved widget 65 query 03-29 16:14:14.770 3978 4005 D TodoList: Getting sorted and filtered tasks 03-29 16:14:14.817 3978 4005 D TodoList: Sorting and filtering tasks took 47 ms 03-29 16:14:14.817 3978 4005 D WidgetService: Widget 65: setFilteredTasks returned 11 tasks 03-29 16:14:21.624 3978 4082 D OpenGLRenderer: endAllActiveAnimators on 0x740051d600 (RippleDrawable) with handle 0x7400052460 03-29 16:14:24.338 3978 3978 I Simpletask: onMenuItemSelected: 2131296623 03-29 16:14:24.338 3978 3978 I Util : Sending file changed broadcast 03-29 16:14:24.344 3978 3978 I TodoApplication: Received broadcast FILE_SYNC 03-29 16:14:24.344 3978 3978 I TodoApplication: Loading todolist 03-29 16:14:24.344 3978 3978 I FSQ : -> Reload 03-29 16:14:24.345 3978 4092 I FSQ : <- Reload 03-29 16:14:24.345 3978 4092 D TodoList: Reload: From BROADCAST_FILE_SYNC 03-29 16:14:24.345 3978 4092 D FileStore: FileStore is authenticated true 03-29 16:14:24.345 3978 4092 D TodoList: Executing reloadaction 03-29 16:14:24.345 3978 4092 I Util : Sending file sync start broadcast 03-29 16:14:24.346 3978 4092 D OwnCloudClient #1: Creating OwnCloudClient 03-29 16:14:24.355 3978 4092 D OwnCloudClient #1: REQUEST PROPFIND /remote.php/webdav/personal/todo.txt 03-29 16:14:24.358 3978 4092 D AdvancedSslSocketFactory: Creating SSL Socket with remote my.domain.com:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@e9e5060 03-29 16:14:24.359 3978 4092 D AdvancedSslSocketFactory: ... with connection timeout 5000 and socket timeout 40000 03-29 16:14:24.368 3978 4092 I ServerNameIndicator: SSLSocket implementation: com.android.org.conscrypt.Java8FileDescriptorSocket 03-29 16:14:24.368 3978 4092 I ServerNameIndicator: SNI done, hostname: my.domain.com 03-29 16:14:24.592 3978 4092 E TodoList: Can't determine remote file version 03-29 16:14:24.592 3978 4092 E TodoList: nl.mpcjanssen.simpletask.TodoException: UNAUTHORIZED: null 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.remote.FileStore.getRemoteVersion(FileStore.kt:8) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.reloadaction(TodoList.kt:3) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.access$reloadaction(TodoList.kt:1) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:9) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:1) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:3) 03-29 16:14:24.592 3978 4092 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:1) 03-29 16:14:24.592 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:1) 03-29 16:14:24.592 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0) 03-29 16:14:24.592 3978 4092 E TodoList: at org.jetbrains.anko.AsyncKt$sam$java_util_concurrent_Callable$0.call(Unknown Source:2) 03-29 16:14:24.592 3978 4092 E TodoList: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-29 16:14:24.592 3978 4092 E TodoList: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 03-29 16:14:24.592 3978 4092 E TodoList: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-29 16:14:24.592 3978 4092 E TodoList: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-29 16:14:24.592 3978 4092 E TodoList: at java.lang.Thread.run(Thread.java:764) 03-29 16:14:24.592 3978 4092 I TodoList: Remote version is same, load from cache 03-29 16:14:24.592 3978 4092 I Util : Sending file sync done changed broadcast 03-29 16:14:24.610 3978 3978 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 1 03-29 16:14:24.670 3978 4082 D OpenGLRenderer: endAllActiveAnimators on 0x740004de00 (MenuPopupWindow$MenuDropDownListView) with handle 0x73ffd96c80 03-29 16:14:26.203 3978 3978 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 1 03-29 16:14:26.659 3978 3978 I Simpletask: onMenuItemSelected: 2131296558 03-29 16:14:26.696 3978 3978 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@35cbfb9 03-29 16:14:26.732 3978 3978 I Preferences: Registering broadcast receiver 03-29 16:14:29.992 3978 3978 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@234e5ef 03-29 16:14:30.169 3978 3978 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_ONCE mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Preferences--- jank level = 1
For some reason it gives an unauthorized error. I will add some additional logging. I forgot to include the actual url that's used.
Please try again with https://mpcjanssen.nl/artifacts/10.5.1-5-e24150c/nextcloud/release/
Same as above
--------- beginning of main 03-29 16:53:47.965 10273 10273 E etask.nextclou: Not starting debugger since process cannot load the jdwp agent. 03-29 16:53:47.992 10273 10285 I etask.nextclou: The ClassLoaderContext is a special shared library. 03-29 16:53:48.013 10273 10273 I Perf : Connecting to perf service. 03-29 16:53:48.051 10273 10273 D QueryStore: Saved applyFilter ids: [] 03-29 16:53:48.061 10273 10273 I Config : Getting 15 items todoList from cache 03-29 16:53:48.082 10273 10273 I TodoApplication: onCreate() 03-29 16:53:48.082 10273 10273 I TodoApplication: Created todolist nl.mpcjanssen.simpletask.task.TodoList@6077219 03-29 16:53:48.083 10273 10273 I TodoApplication: Started Simpletask nextcloud v10.5.1-5-e24150c (10005001) 03-29 16:53:48.088 10273 10273 I TodoApplication: Scheduling daily UI updateCache alarm, first at Mon Mar 30 00:02:00 GMT+02:00 2020 03-29 16:53:48.094 10273 10273 I TodoApplication: Scheduling task list reload 03-29 16:53:48.108 10273 10273 D MyAppWidgetProvider: onUpdate 65 03-29 16:53:48.138 10273 10273 D WidgetService: Creating view for widget: 65 03-29 16:53:48.138 10273 10273 D WidgetService: Widget: OnCreate called in ViewFactory 03-29 16:53:48.140 10273 10285 D WidgetService: Widget 65: setFilteredTasks called 03-29 16:53:48.141 10273 10285 D FileStore: FileStore is authenticated true 03-29 16:53:48.141 10273 10285 D WidgetService: Getting applyFilter from preferences for widget 65 03-29 16:53:48.141 10273 10285 D WidgetService: Retrieved widget 65 query 03-29 16:53:48.141 10273 10285 D TodoList: Getting sorted and filtered tasks 03-29 16:53:48.225 10273 10285 D TodoList: Sorting and filtering tasks took 84 ms 03-29 16:53:48.226 10273 10285 D WidgetService: Widget 65: setFilteredTasks returned 11 tasks 03-29 16:53:52.344 10273 10273 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@70c4b51 03-29 16:53:52.374 10273 10273 I Simpletask: onCreate 03-29 16:53:52.463 10273 10273 D FileStore: FileStore is authenticated true 03-29 16:53:52.468 10273 10273 I Simpletask: onResume 03-29 16:53:52.468 10273 10273 I FSQ : -> Reload 03-29 16:53:52.470 10273 10273 I Simpletask: onResume -> handleIntent 03-29 16:53:52.470 10273 10273 D FileStore: FileStore is authenticated true 03-29 16:53:52.472 10273 10273 I Simpletask: handleIntent: from m_prefs state 03-29 16:53:52.473 10273 10332 I FSQ : <- Reload 03-29 16:53:52.473 10273 10332 D TodoList: Reload: Main activity resume 03-29 16:53:52.473 10273 10332 D FileStore: FileStore is authenticated true 03-29 16:53:52.473 10273 10332 D TodoList: Executing reloadaction 03-29 16:53:52.474 10273 10332 I Util : Sending file sync start broadcast 03-29 16:53:52.474 10273 10273 I TaskAdapter: Text size = 14.0 03-29 16:53:52.474 10273 10273 I TaskAdapter: setFilteredTasks called: nl.mpcjanssen.simpletask.task.TodoList@6077219 03-29 16:53:52.474 10273 10273 D TodoList: Getting sorted and filtered tasks 03-29 16:53:52.477 10273 10332 D NetworkUtils: Searching known-servers store at /data/user/0/nl.mpcjanssen.simpletask.nextcloud/files/knownServers.bks 03-29 16:53:52.478 10273 10332 D NetworkSecurityConfig: No Network Security Config specified, using platform default 03-29 16:53:52.484 10273 10332 W System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 03-29 16:53:52.485 10273 10332 W System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation 03-29 16:53:52.485 10273 10332 W System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 03-29 16:53:52.487 10273 10273 D TodoList: Sorting and filtering tasks took 13 ms 03-29 16:53:52.490 10273 10273 I TaskAdapter: Restoring scroll offset 0, 0 03-29 16:53:52.490 10273 10273 I Simpletask: onResume <- handleIntent 03-29 16:53:52.491 10273 10273 D Event : update UI for event RESUME 03-29 16:53:52.492 10273 10332 D OwnCloudClient #0: Creating OwnCloudClient 03-29 16:53:52.492 10273 10273 D Simpletask: Update applyFilter bar 03-29 16:53:52.495 10273 10273 D Simpletask: Update applyFilter bar 03-29 16:53:52.502 10273 10273 D FileStore: Filestore online: true 03-29 16:53:52.503 10273 10273 D OpenGLRenderer: Skia GL Pipeline 03-29 16:53:52.548 10273 10332 D OwnCloudClient #0: REQUEST PROPFIND /remote.php/webdav/personal/todo.txt 03-29 16:53:52.555 10273 10333 I Adreno : QUALCOMM build : 365e321, I294de8bafa 03-29 16:53:52.555 10273 10333 I Adreno : Build Date : 01/08/19 03-29 16:53:52.555 10273 10333 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02 03-29 16:53:52.555 10273 10333 I Adreno : Local Branch : 03-29 16:53:52.555 10273 10333 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040 03-29 16:53:52.555 10273 10333 I Adreno : Remote Branch : NONE 03-29 16:53:52.555 10273 10333 I Adreno : Reconstruct Branch : NOTHING 03-29 16:53:52.556 10273 10333 I Adreno : Build Config : S L 6.0.7 AArch64 03-29 16:53:52.556 10273 10333 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace. 03-29 16:53:52.560 10273 10332 D AdvancedSslSocketFactory: Creating SSL Socket with remote nc.mkwlab.eu:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@d24fee1 03-29 16:53:52.560 10273 10332 D AdvancedSslSocketFactory: ... with connection timeout 5000 and socket timeout 40000 03-29 16:53:52.566 10273 10333 I Adreno : PFP: 0x005ff110, ME: 0x005ff066 03-29 16:53:52.567 10273 10332 I ServerNameIndicator: SSLSocket implementation: com.android.org.conscrypt.Java8FileDescriptorSocket 03-29 16:53:52.567 10273 10332 I ServerNameIndicator: SNI done, hostname: nc.mkwlab.eu 03-29 16:53:52.578 10273 10333 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 03-29 16:53:52.578 10273 10333 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 03-29 16:53:52.580 10273 10333 I OpenGLRenderer: Initialized EGL, version 1.4 03-29 16:53:52.580 10273 10333 D OpenGLRenderer: Swap behavior 2 03-29 16:53:52.739 10273 10273 I Simpletask: Recreating options menu 03-29 16:53:52.740 10273 10273 D Simpletask: Handle mode 03-29 16:53:52.786 10273 10333 D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 03-29 16:53:52.787 10273 10333 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace. 03-29 16:53:52.867 10273 10332 W FileStore: Failed to get remote version of /personal/todo.txt: UNAUTHORIZED 03-29 16:53:52.867 10273 10332 E TodoList: Can't determine remote file version 03-29 16:53:52.867 10273 10332 E TodoList: nl.mpcjanssen.simpletask.TodoException: UNAUTHORIZED: null 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.remote.FileStore.getRemoteVersion(FileStore.kt:9) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.reloadaction(TodoList.kt:3) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.access$reloadaction(TodoList.kt:1) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:9) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:1) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:3) 03-29 16:53:52.867 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:1) 03-29 16:53:52.867 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:1) 03-29 16:53:52.867 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0) 03-29 16:53:52.867 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$sam$java_util_concurrent_Callable$0.call(Unknown Source:2) 03-29 16:53:52.867 10273 10332 E TodoList: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-29 16:53:52.867 10273 10332 E TodoList: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 03-29 16:53:52.867 10273 10332 E TodoList: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-29 16:53:52.867 10273 10332 E TodoList: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-29 16:53:52.867 10273 10332 E TodoList: at java.lang.Thread.run(Thread.java:764) 03-29 16:53:52.867 10273 10332 I TodoList: Remote version is same, load from cache 03-29 16:53:52.867 10273 10332 I Util : Sending file sync done changed broadcast 03-29 16:53:52.972 10273 10273 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_ONCE mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 1 03-29 16:53:54.592 10273 10273 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 2 03-29 16:53:56.084 10273 10273 I Simpletask: onMenuItemSelected: 2131296623 03-29 16:53:56.084 10273 10273 I Util : Sending file changed broadcast 03-29 16:53:56.086 10273 10273 I TodoApplication: Received broadcast FILE_SYNC 03-29 16:53:56.086 10273 10273 I TodoApplication: Loading todolist 03-29 16:53:56.087 10273 10273 I FSQ : -> Reload 03-29 16:53:56.088 10273 10332 I FSQ : <- Reload 03-29 16:53:56.088 10273 10332 D TodoList: Reload: From BROADCAST_FILE_SYNC 03-29 16:53:56.088 10273 10332 D FileStore: FileStore is authenticated true 03-29 16:53:56.088 10273 10332 D TodoList: Executing reloadaction 03-29 16:53:56.088 10273 10332 I Util : Sending file sync start broadcast 03-29 16:53:56.088 10273 10332 D OwnCloudClient #1: Creating OwnCloudClient 03-29 16:53:56.093 10273 10332 D OwnCloudClient #1: REQUEST PROPFIND /remote.php/webdav/personal/todo.txt 03-29 16:53:56.119 10273 10273 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 2 03-29 16:53:56.228 10273 10332 W FileStore: Failed to get remote version of /personal/todo.txt: UNAUTHORIZED 03-29 16:53:56.230 10273 10332 E TodoList: Can't determine remote file version 03-29 16:53:56.230 10273 10332 E TodoList: nl.mpcjanssen.simpletask.TodoException: UNAUTHORIZED: null 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.remote.FileStore.getRemoteVersion(FileStore.kt:9) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.reloadaction(TodoList.kt:3) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList.access$reloadaction(TodoList.kt:1) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:9) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.task.TodoList$reload$1.invoke(TodoList.kt:1) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:3) 03-29 16:53:56.230 10273 10332 E TodoList: at nl.mpcjanssen.simpletask.util.ActionQueue$add$1.invoke(ActionQueues.kt:1) 03-29 16:53:56.230 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:1) 03-29 16:53:56.230 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0) 03-29 16:53:56.230 10273 10332 E TodoList: at org.jetbrains.anko.AsyncKt$sam$java_util_concurrent_Callable$0.call(Unknown Source:2) 03-29 16:53:56.230 10273 10332 E TodoList: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 03-29 16:53:56.230 10273 10332 E TodoList: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) 03-29 16:53:56.230 10273 10332 E TodoList: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 03-29 16:53:56.230 10273 10332 E TodoList: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 03-29 16:53:56.230 10273 10332 E TodoList: at java.lang.Thread.run(Thread.java:764) 03-29 16:53:56.232 10273 10332 I TodoList: Remote version is same, load from cache 03-29 16:53:56.232 10273 10332 I Util : Sending file sync done changed broadcast 03-29 16:53:56.255 10273 10273 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Simpletask--- jank level = 1 03-29 16:53:56.426 10273 10333 D OpenGLRenderer: endAllActiveAnimators on 0x7400327000 (MenuPopupWindow$MenuDropDownListView) with handle 0x74014cdea0 03-29 16:54:01.148 10273 10273 I Simpletask: onMenuItemSelected: 2131296558 03-29 16:54:01.205 10273 10273 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@73ae708 03-29 16:54:01.235 10273 10273 I Preferences: Registering broadcast receiver 03-29 16:54:01.293 10273 10273 D OnePlusJankManager: Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = nl.mpcjanssen.simpletask.nextcloud/nl.mpcjanssen.simpletask.Preferences--- jank level = 1 03-29 16:54:01.503 10273 10333 D OpenGLRenderer: endAllActiveAnimators on 0x73ffe58200 (MenuPopupWindow$MenuDropDownListView) with handle 0x7400578da0 03-29 16:54:04.478 10273 10273 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@18a4996
Are you absolutely sure the server url and app specific password are correct? Does the nextcloud log show anything?
NC log is clear. Server url is correct (logs got anonimized). App specific password must have worked at first, but NC shows last connection from the app for 3 months ago. Either simpletask lost the password, Nextcloud decided it's invalid or something else is going on.
Could you try without app specific password for testing or is that not possible for your scenario?
I've disabled 2FA and logged in without problems, sync worked, but then again it always helped before as I mentoned (to log out, regenerate password and login).
Update: reenabled 2FA, regenerated app password, logged in, sync both ways works. Still, I'll keep an eye out for another occurence of the sync breaking. And thank you for great support, on sunday none the less.
I will close the issue. If it re-occurs feel free to re-open. Next release will include the improved logging.
I've been using simpletask with Nextcloud for a while now, and from time to time the sync just stops working without any visible errors. It may be connected to server or app updates, but I can't be entirely sure, since my todo.txt mostly covers hobby projects I touch on irregular basis.
Removing the NC connection and reconnecting helps, but it inevitably breaks again, and is a real bother with having to regenerate app passwords for simpletask. This may be related to #1023 , but I've decided to create a new issue based on differences in logs.
Setup: