Bromite: Remote DevTools HTTP/1.1 404 Not Found

Created on 16 Apr 2020  ·  5Comments  ·  Source: bromite/bromite

Bromite version

Version: 81.0.4044.106
Arch: arm64
Android version: 9.0
Device model: ginkgo M1908C3JG

Is this bug about the SystemWebView?

No

Is the bug reproducible with latest version?

Yes, 81.0.4044.106

Can the bug be reproduced with corresponding Chromium version?

No, 81.0.4044.106

Is the bug a crash?

No

Describe the bug

Remote DevTools in Bromite gives HTTP/1.1 404 Not Found

Steps to reproduce the bug

open chrome in desktop

adb connect 192.168.1.100:5555
open desktop devtools > overflow button > more tools > remote device
wait some seconds and inspect open tabs on remote device

Expected behavior

Remote DevTools is available

Screenshots

Chromium:
chromium_arm64_81 0 4044 106_devtools404
Bromite:
bromite_arm64_81 0 4044 106_devtools404

bug

All 5 comments

Cannot reproduce, works fine here. Perhaps you have a proxy or similar interception mechanism?

Your guess is as good as mine. I have no idea why. Probably will try test against a freshly wiped Android sometime.

That URL is reachable and there is no 404. You might have some malicious certificate installed. Does it happen equally on 4G or wifi?

If I had to guess though, it'd be that the inspector resources were marked as "non-critical" in Android builds and are no longer being bundled into local builds by default.

@nikolowry Chromium moved the devtools resources into a third-party git submodule and indeed there is a DFM for it. Bromite disables it with the dfmify_dev_ui=false GN arg, which causes chrome/dev_ui_resources.pak to be included in the APK. Perhaps you could try building with that set to true (the default) to see if problem persists?

There are no other relevant changes as far as I can recollect, and both Bromite and the corresponding Chromium builds use this flag so they should both be affected (have you checked?)

As I wrote here the address devtools://devtools/remote/serve_rev/@4738de409d42eeb4071c354860aae28c8ab13ce6/inspector.html?remoteVersion=81.0.4044.106 is accessible.

Fixed in 83.0.4103.46.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

projectextremum picture projectextremum  ·  6Comments

i-rme picture i-rme  ·  3Comments

csagan5 picture csagan5  ·  3Comments

Sangeppato picture Sangeppato  ·  5Comments

gene-scape picture gene-scape  ·  5Comments