Repository: flutter
Issue: [tool_crash] unhandled HttpException when connecting to devtools/page/ for Chrome device
Labels: tool,platform-web,P2,team-web,triaged-web

## Command
```
 flutter run -d chrome -v
[  +75 ms] executing: [/home/nieva/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +43 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8f89f6505b941329a864fef1527243a72800bf4d
[        ] executing: [/home/nieva/snap/flutter/common/flutter/] git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[  +15 ms] Exit code 0 from: git tag --points-at 8f89f6505b941329a864fef1527243a72800bf4d
[        ] 1.25.0-8.1.pre
[  +62 ms] executing: [/home/nieva/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/nieva/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +59 ms] executing: [/home/nieva/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +70 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +73 ms] executing: /home/nieva/Development/Android/Sdk/platform-tools/adb devices -l
[  +23 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +165 ms] executing: /home/nieva/Development/Android/Sdk/platform-tools/adb devices -l
[  +41 ms] Skipping pub get: version match.
[ +127 ms] Found plugin integration_test at /home/nieva/snap/flutter/common/flutter/packages/integration_test/
[ +136 ms] Found plugin integration_test at /home/nieva/snap/flutter/common/flutter/packages/integration_test/
[   +5 ms] Generating /home/nieva/Fitcontor/fitcontor/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +115 ms] List of devices attached
[   +2 ms] List of devices attached
[  +92 ms] Launching lib/main.dart on Chrome in debug mode...
[ +109 ms] Updating assets
[ +134 ms] Waiting for connection from debug service on Chrome...
[  +66 ms] Found plugin integration_test at /home/nieva/snap/flutter/common/flutter/packages/integration_test/
[  +53 ms] Found plugin integration_test at /home/nieva/snap/flutter/common/flutter/packages/integration_test/
[ +106 ms] <- reset
[  +12 ms] /home/nieva/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/nieva/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/nieva/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
--experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.RBKXER/flutter_tool.YNDYQX/app.dill --libraries-spec
file:///home/nieva/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
/home/nieva/Fitcontor/fitcontor/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-root /tmp/flutter_tools.RBKXER/flutter_tools.XBOGFR --filesystem-scheme org-dartlang-app
--initialize-from-dill build/fbbe6a61fb7a1de317d381f8df4814e5.cache.dill.track.dill --platform
file:///home/nieva/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --no-sound-null-safety
[  +34 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+22099 ms] Waiting for connection from debug service on Chrome... (completed in 22,4s)
[        ] Synced 28.7MB.
[        ] <- accept
[        ] Caching compiled dill
[ +148 ms] Using Google Chrome 87.0.4280.66 

[ +248 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://127.0.0.1:41739/devtools/browser/66d033ff-8f62-493f-be8b-1c6aa5c0e8ce
[+1254 ms] "flutter run" took 25.084ms.

[  +55 ms] Sending crash report to Google.
[ +856 ms] Crash report sent (report ID: 885033cf64ab30c2)
[        ] Oops; flutter has exited unexpectedly: "HttpException: , uri =
           http://localhost:41739/devtools/page/AC1FA0F6393FCC9250D69CE2D39EC280".
[  +14 ms] executing: /home/nieva/android-studio/jre/bin/java -version
[  +88 ms] Exit code 0 from: /home/nieva/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[  +16 ms] executing: /home/nieva/android-studio/jre/bin/java -version
[  +98 ms] Exit code 0 from: /home/nieva/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +4 ms] executing: [/home/nieva/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%ar
[  +10 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar
[        ] hace 4 semanas
[  +35 ms] java -version
⣽[  +26 ms] executing: /home/nieva/Development/Android/Sdk/platform-tools/adb devices -l
[  +51 ms] List of devices attached
[+1974 ms] A crash report has been written to /home/nieva/Fitcontor/fitcontor/flutter_05.log.
[        ] This crash may already be reported. Check GitHub for similar crashes.
[        ]
https://github.com/flutter/flutter/issues?q=is%3Aissue+HttpException%3A+%2C+uri+%3D+http%3A%2F%2Flocalhost%3A41739%2Fdevtools%2Fpage
%2FAC1FA0F6393FCC9250D69CE2D39EC280
           
[   +1 ms] To report your crash to the Flutter team, first read the guide to filing a bug.
[        ] https://flutter.dev/docs/resources/bug-reports
           
[        ] Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
[  +13 ms] Attempting git.io shortener:
https://github.com/flutter/flutter/issues/new?title=%5Btool_crash%5D+HttpException&body=%23%23+Command%0A%60%60%60%0Aflutter+run+-d+
chrome+-v%0A%60%60%60%0A%0A%23%23+Steps+to+Reproduce%0A1.+...%0A2.+...%0A3.+...%0A%0A%23%23+Logs%0AHttpException%0A%60%60%60%0A%0A%6
0%60%60%0A%60%60%60%0A%5B%E2%9C%93%5D+Flutter+%28Channel+beta%2C+1.25.0-8.1.pre%2C+on+Linux%2C+locale+es_ES.utf8%29%0A++++%E2%80%A2+
Flutter+version+1.25.0-8.1.pre+at+%2Fhome%2Fnieva%2Fsnap%2Fflutter%2Fcommon%2Fflutter%0A++++%E2%80%A2+Framework+revision+8f89f6505b+
%28hace+4+semanas%29%2C+2020-12-15+15%3A07%3A52+-0800%0A++++%E2%80%A2+Engine+revision+92ae191c17%0A++++%E2%80%A2+Dart+version+2.12.0
+%28build+2.12.0-133.2.beta%29%0A%0A%5B%E2%9C%93%5D+Android+toolchain+-+develop+for+Android+devices+%28Android+SDK+version+30.0.3%29
%0A++++%E2%80%A2+Android+SDK+at+%2Fhome%2Fnieva%2FDevelopment%2FAndroid%2FSdk%0A++++%E2%80%A2+Platform+android-30%2C+build-tools+30.
0.3%0A++++%E2%80%A2+ANDROID_SDK_ROOT+%3D+%2Fhome%2Fnieva%2FDevelopment%2FAndroid%2FSdk%0A++++%E2%80%A2+Java+binary+at%3A+%2Fhome%2Fn
ieva%2Fandroid-studio%2Fjre%2Fbin%2Fjava%0A++++%E2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+1.8.0_242-release-1644-b3
-6222593%29%0A++++%E2%80%A2+All+Android+licenses+accepted.%0A%0A%5B%E2%9C%93%5D+Chrome+-+develop+for+the+web%0A++++%E2%80%A2+Chrome+
at+google-chrome%0A%0A%5B%E2%9C%93%5D+Android+Studio%0A++++%E2%80%A2+Android+Studio+at+%2Fhome%2Fnieva%2Fandroid-studio%0A++++%E2%80
%A2+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%
E2%80%A2+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%E
2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+1.8.0_242-release-1644-b3-6222593%29%0A%0A%5B%E2%9C%93%5D+Connected+device
+%281+available%29%0A++++%E2%80%A2+Chrome+%28web%29+%E2%80%A2+chrome+%E2%80%A2+web-javascript+%E2%80%A2+Google+Chrome+87.0.4280.66%0
A%0A%E2%80%A2+No+issues+found%21%0A%0A%60%60%60%0A%0A%23%23+Flutter+Application+Metadata%0A%2A%2AType%2A%2A%3A+app%0A%2A%2AVersion%2
A%2A%3A+1.0.0%2B1%0A%2A%2AMaterial%2A%2A%3A+true%0A%2A%2AAndroid+X%2A%2A%3A+false%0A%2A%2AModule%2A%2A%3A+false%0A%2A%2APlugin%2A%2A
%3A+false%0A%2A%2AAndroid+package%2A%2A%3A+null%0A%2A%2AiOS+bundle+identifier%2A%2A%3A+null%0A%2A%2ACreation+channel%2A%2A%3A+beta%0
A%2A%2ACreation+framework+version%2A%2A%3A+8f89f6505b941329a864fef1527243a72800bf4d%0A%23%23%23+Plugins%0Aintegration_test%0A%0A&lab
els=tool%2Csevere%3A+crash
[ +538 ms] https://git.io/Jtve8
                    
[   +1 ms] ensureAnalyticsSent: 0ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[  +10 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1