Skip to content

Error: Invalid login state! Currently: LoginState.REQUIRE_2FA but should be one of: (LoginState.LOGGED_IN,) #43

Description

@NightMean

I've exported the plist files on my MacOS 13 VM but when I try to import them after succesfully logging in, I get an error toast message and the logs say as if I'm not logged in. I have removed the data from the app, tried to log in again but I got the same issue. I did receive a 2FA prompt on my iPhone to confirm the login which proceeded without any issue.
I have not found anyone else mentioning this in the Issues before. Running Android 14 with latest version of OpenTagViewer v1.0.4
What might be the issue?

Error log with obfuscated file names from the zip files (7 files were from the log for easier "obfuscation")

--------- beginning of system
02-21 00:42:10.588  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:11.952  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:14.393  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:18.287  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:25.721  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:31.271  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:42:32.143  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:43:08.727  3402  3402 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:43:21.344  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:43:23.839  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:43:25.081  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:44:08.957  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:44:12.200  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:44:29.551  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
--------- beginning of main
02-21 00:56:22.725  6020  6020 D MapsActivity: Global more button was clicked
02-21 00:56:22.765  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:56:22.768  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:56:23.620  6020  6020 D MapsActivity: Menu option Settings was selected
02-21 00:56:23.620  6020  6020 D MapsActivity: Show settings page clicked
02-21 00:56:23.695  6020  9356 D UserDataRepository: Stored new LastCameraPosition for current user!
02-21 00:56:23.696  6020  9310 D MapsActivity: Success storing last camera position!
02-21 00:56:23.763  6020  9310 D GithubRawUtilityFilesService: Trying to parse cached servers
02-21 00:56:23.795  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:56:23.795  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:56:23.821  6020  6020 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@1a56f57
02-21 00:56:23.828  6020  6143 D OpenGLRenderer: endAllActiveAnimators on 0xb4000074a4747900 (MenuPopupWindow$MenuDropDownListView) with handle 0xb400007384a4f7a0
02-21 00:56:24.128  6020  6523 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
02-21 00:57:48.416  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:57:49.656  6020  9310 D SettingsActivity: Settings were updated
02-21 00:57:50.172  6020  6020 D MapsActivity: Performing automatic scheduled refresh of data for all tags...
02-21 00:57:50.173  6020  6020 D MapsActivity: Preparing to fetch location reports for the last 1 hours!
02-21 00:57:50.173  6020  6020 D MapsActivity: Automatic scheduled refresh complete! Next automatic refresh will be in 60000 ms
02-21 00:57:50.185  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:57:50.219  6020  9355 I python.stdout: num_items is 8
02-21 00:57:50.220  6020  9355 I python.stdout: Fetching report for 5391C6FC-7E85-4E30-BC0D-808F416FC8C4 for the last 1 hours...
02-21 00:57:50.227  6020  9355 I python.stdout: Failed to fetch all reports due to error: Traceback (most recent call last):
02-21 00:57:50.227  6020  9355 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/app/main.py", line 220, in getLastReports
02-21 00:57:50.227  6020  9355 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 1083, in fetch_last_reports
02-21 00:57:50.227  6020  9355 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 92, in wrapper
02-21 00:57:50.227  6020  9355 I python.stdout: findmy.errors.InvalidStateError: Invalid login state! Currently: LoginState.REQUIRE_2FA but should be one of: (LoginState.LOGGED_IN,)
02-21 00:57:50.227  6020  9355 I python.stdout: 
02-21 00:57:50.227  6020  9355 E PythonAppleService: python call to getLastReports resulted in error (check python logs for details)
02-21 00:57:50.231  6020  6020 E MapsActivity: Failed to refresh current locations!
02-21 00:57:50.231  6020  6020 E MapsActivity: dev.wander.android.opentagviewer.python.PythonAppleFindMyException: Error while retrieving last reports for account via python!
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService.lambda$getLastReports$1$dev-wander-android-opentagviewer-python-PythonAppleService(PythonAppleService.java:68)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:46)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Observable.subscribe(Observable.java:13262)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
02-21 00:57:50.231  6020  6020 E MapsActivity: 	at java.lang.Thread.run(Thread.java:1563)
02-21 00:57:50.560  6020  6020 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@22c7f87
02-21 00:57:51.163  6020  6020 D MapsActivity: Global more button was clicked
02-21 00:57:51.218  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:57:51.219  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:57:53.096  6020  6020 D MapsActivity: Menu option Import was selected
02-21 00:57:53.156  6020  8987 D UserDataRepository: Stored new LastCameraPosition for current user!
02-21 00:57:53.156  6020  9356 D MapsActivity: Success storing last camera position!
02-21 00:57:53.286  6020  6020 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@11e63bf
02-21 00:57:53.287  6020  6143 D OpenGLRenderer: endAllActiveAnimators on 0xb4000074a48a8040 (MenuPopupWindow$MenuDropDownListView) with handle 0xb400007384a56a30
02-21 00:57:54.037  6020  6523 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
02-21 00:57:56.172  6020  6020 D MapsActivity: File has been picked
02-21 00:57:56.176  6020  6020 D MapsActivity: Performing automatic scheduled refresh of data for all tags...
02-21 00:57:56.176  6020  6020 D MapsActivity: Preparing to fetch location reports for the last 1 hours!
02-21 00:57:56.176  6020  6020 D MapsActivity: Automatic scheduled refresh complete! Next automatic refresh will be in 60000 ms
02-21 00:57:56.179  6020  9310 I python.stdout: num_items is 8
02-21 00:57:56.179  6020  9310 I python.stdout: Fetching report for 5391C6FC-7E85-4E30-BC0D-808F416FC8C4 for the last 1 hours...
02-21 00:57:56.181  6020  9310 I python.stdout: Failed to fetch all reports due to error: Traceback (most recent call last):
02-21 00:57:56.181  6020  9310 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/app/main.py", line 220, in getLastReports
02-21 00:57:56.181  6020  9310 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 1083, in fetch_last_reports
02-21 00:57:56.181  6020  9310 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 92, in wrapper
02-21 00:57:56.181  6020  9310 I python.stdout: findmy.errors.InvalidStateError: Invalid login state! Currently: LoginState.REQUIRE_2FA but should be one of: (LoginState.LOGGED_IN,)
02-21 00:57:56.181  6020  9310 I python.stdout: 
02-21 00:57:56.181  6020  9310 E PythonAppleService: python call to getLastReports resulted in error (check python logs for details)
02-21 00:57:56.187  6020  6020 E MapsActivity: Failed to refresh current locations!
02-21 00:57:56.187  6020  6020 E MapsActivity: dev.wander.android.opentagviewer.python.PythonAppleFindMyException: Error while retrieving last reports for account via python!
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService.lambda$getLastReports$1$dev-wander-android-opentagviewer-python-PythonAppleService(PythonAppleService.java:68)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:46)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Observable.subscribe(Observable.java:13262)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
02-21 00:57:56.187  6020  6020 E MapsActivity: 	at java.lang.Thread.run(Thread.java:1563)
02-21 00:57:56.206  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:57:56.215  6020  9911 D AppleZipImporterUtil: Now reading file OPENTAGVIEWER.yml while unzipping...
02-21 00:57:56.215  6020  9911 D AppleZipImporterUtil: Now reading file OwnedBeacons/Obfuscated-ID-1.plist while unzipping...
02-21 00:57:56.217  6020  9911 D AppleZipImporterUtil: Now reading file BeaconNamingRecord/Obfuscated-ID-1/Obfuscated-Plist-1.plist while unzipping...
02-21 00:57:56.243  6020  9355 D MapsActivity: Preparing to fetch location reports for the last 24 hours!
02-21 00:57:56.244  6020  8987 I python.stdout: num_items is 8
02-21 00:57:56.245  6020  8987 I python.stdout: Fetching report for 5391C6FC-7E85-4E30-BC0D-808F416FC8C4 for the last 24 hours...
02-21 00:57:56.245  6020  8987 I python.stdout: Failed to fetch all reports due to error: Traceback (most recent call last):
02-21 00:57:56.245  6020  8987 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/app/main.py", line 220, in getLastReports
02-21 00:57:56.245  6020  8987 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 1083, in fetch_last_reports
02-21 00:57:56.245  6020  8987 I python.stdout:   File "/data/data/dev.wander.android.opentagviewer/files/chaquopy/AssetFinder/requirements/findmy/reports/account.py", line 92, in wrapper
02-21 00:57:56.246  6020  8987 I python.stdout: findmy.errors.InvalidStateError: Invalid login state! Currently: LoginState.REQUIRE_2FA but should be one of: (LoginState.LOGGED_IN,)
02-21 00:57:56.246  6020  8987 I python.stdout: 
02-21 00:57:56.246  6020  8987 E PythonAppleService: python call to getLastReports resulted in error (check python logs for details)
02-21 00:57:56.248  6020  6020 E MapsActivity: Error occurred while importing new devices!
02-21 00:57:56.248  6020  6020 E MapsActivity: dev.wander.android.opentagviewer.python.PythonAppleFindMyException: Error while retrieving last reports for account via python!
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService.lambda$getLastReports$1$dev-wander-android-opentagviewer-python-PythonAppleService(PythonAppleService.java:68)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at dev.wander.android.opentagviewer.python.PythonAppleService$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:46)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Observable.subscribe(Observable.java:13262)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
02-21 00:57:56.248  6020  6020 E MapsActivity: 	at java.lang.Thread.run(Thread.java:1563)
02-21 00:58:01.511  6020  6020 D MapsActivity: Global more button was clicked
02-21 00:58:01.570  6020  6020 D NtViewRootImpl: mPopUpViewOffsets: offset=(0.0, 0.0), scale=(1.0, 1.0)
02-21 00:58:01.571  6020  6143 E OpenGLRenderer: Unable to match the desired swap behavior.
02-21 00:58:02.353  6020  6020 D MapsActivity: Menu option Export Logs was selected
02-21 00:58:02.353  6020  6020 I MapsActivity: Requested to dump logs...
02-21 00:58:02.378  6020  9356 D UserDataRepository: Stored new LastCameraPosition for current user!
02-21 00:58:02.378  6020  8987 D MapsActivity: Success storing last camera position!
02-21 00:58:02.536  6020  6020 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@ff7043b
02-21 00:58:02.539  6020  6143 D OpenGLRenderer: endAllActiveAnimators on 0xb4000074a48cea40 (MenuPopupWindow$MenuDropDownListView) with handle 0xb400007384a5b080
02-21 00:58:02.846  6020  6523 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
02-21 00:58:04.104  6020  6020 D MapsActivity: Export target location picked
02-21 00:58:04.105  6020  6020 D LogCollectorUtil: Reading last 500 log lines from logcat...

Metadata

Metadata

Assignees

No one assigned

    Labels

    @appIssues regarding the OpenTagViewer Android appbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions