Hello TeamViewer Community,
I am experiencing a reproducible problem with Two-Factor Authentication for Connections using the TeamViewer Remote Control app on my Xiaomi Android phone.
Environment
- Remote computer (connection target): Windows 11, TeamViewer Classic 15.83.5
- Connecting computers: Two different Windows PCs, TeamViewer Classic 15.83.5
- Approval device: Xiaomi 11T Pro
- Android app: TeamViewer Remote Control 15.83.297 CL
- Connection method: Unattended access using a fixed personal password, with Two-Factor Authentication for Connections enabled
Problem
When I connect from a Windows PC to the remote Windows PC, the password is accepted and a two-factor authentication approval request arrives on my Xiaomi phone.
I tap "Allow" on the phone, but the connecting Windows PC remains stuck at "Authenticating..." and eventually times out.
The Android app occasionally displays an error indicating that an internet connection is unavailable.
However, if I open the TeamViewer Remote Control app on the Xiaomi phone in the foreground before approving the request, authentication succeeds and the remote connection is established normally.
This behavior is reproducible from two different Windows computers, so it does not appear to be specific to the connecting PC.
Troubleshooting already performed
- Updated the Windows TeamViewer clients to version 15.83.5
- Reinstalled the Android TeamViewer Remote Control app
- Removed and re-registered the Android approval device
- Restarted the TeamViewer services on both Windows computers
- Disabled battery restrictions for the Android app
- Enabled background autostart on Xiaomi
- Locked the TeamViewer app in the Android recent-apps screen
- Tested both Wi-Fi and mobile data connections
None of these actions resolved the problem.
Direct remote connections from the Xiaomi phone to the Windows PC work normally.
Android log observation
At approximately the time of an unsuccessful approval, the Android TeamViewer log included:
TeamViewer-Onlinestate changed to offline
TeamViewer Account::UpdateState: lost connection during authentication. Retry is pending.
I cannot determine whether this disconnection is the cause of the failure or a consequence of it.
Questions
- Is this a known issue with Two-Factor Authentication for Connections on Android, particularly when the app is running in the background?
- Is there a recommended workaround other than keeping the Android app open in the foreground?
- Is there any additional diagnostic information I can provide to help identify the cause?
Thank you for your assistance.