Chrome Remote Debugging - "Pending Authentication"
Asked Answered
P

7

10

I connect my HTC10 to my Windows 7 PC and initially Chrome gives me this message. If I manually start the adb server with adb start-server it connects to the device, but as soon as I try to inspect a page on the device I get disconnected without any error and it returns to "Pending Authentication"

I have tried reinstalling everything involved, restarting devices, revoking USB authorizations, disabling and re-enabling USB debugging... I have no idea what else to try. There is no prompt to "Accept Debugging" on my device.

Has anyone solved this before? Thanks very much

enter image description here

Precaution answered 29/3, 2017 at 19:43 Comment(3)
When trying Chrome Remote Debugging, don't have adb-server running, and vice-versa: https://mcmap.net/q/1161361/-android-device-not-shown-with-adb/295004 (don't have Remote Debugging on when doing adb stuff)Rubyeruch
Like I mentioned, it gives me that message unless I turn adb-server on, and if I do turn it on, it goes away, but only for ~30 seconds.Precaution
You might want to list out versions for Chrome and Android SDK tools (especially adb). Other than checking if the tools are up to date, all I can think of is to check on a different PC to see if its something local to you current PC.Rubyeruch
F
8

I can't solve this for good, but I do work around it.

If I click the "USB Debugging Connected" notification to go to the developer settings, revoke previous authorizations, and turn off then on USB debugging, I can force the authorization popup again. Annoying, though.

Flush answered 2/3, 2018 at 20:17 Comment(0)
T
8

Try to change your USB Cable. I had the same problem and I did that now it works. Sometimes the bad quality of the cable can cause such errors.

Turbot answered 19/10, 2018 at 18:22 Comment(3)
It's incredible, but it was the cable... When they say you, "Try everything", you actually need to try it all.Strasbourg
It's incredible, but it was the cable... When they say you, "Try everything", you actually need to try it all.Strasbourg
The reason for this is that not all micro-USB cables have data transfer capability. Some are only good for charging.Precaution
D
6

After trying a different cable, and disabling and re-enabling USB debugging and Developer mode, I found that I had to switch the USB Preferences to File Transfer, and then I finally got the authentication dialog box.

Downwards answered 6/2, 2020 at 2:47 Comment(0)
U
2

For me, I went into Developer Options on the device, disabled "USB Debugging" and enabled it again.. Worked!

Udell answered 13/1, 2020 at 15:36 Comment(0)
R
2

Disabling everything in Debugging (except USB debugging) + setting background processes to 4 did work for me!

Ryurik answered 20/12, 2023 at 18:39 Comment(0)
P
1

Try enabling background processes.

That did the trick for me.

Pomfret answered 29/1, 2020 at 16:17 Comment(0)
A
0

In my case, rebooting the Android device worked.

Ataraxia answered 7/1 at 0:52 Comment(1)
Thanks for your reply, but I'd mentioned that rebooting didn't resolve it in this case.Precaution

© 2022 - 2024 — McMap. All rights reserved.