Flutter web is not connecting to browser instance due to fire wall

2,747 views
Skip to first unread message

Honson Luma

unread,
Feb 10, 2020, 4:58:43 AM2/10/20
to flutt...@googlegroups.com
Greetings Flutter Gang! 

I am having trouble connecting to chrome. I had this issue in the past, but I read some article on the internet that help me to solve the problem. I been searching for 3 days for this and I been unsuccessful. I upgrade to latest android studio and updated windows 10. I ran flutter clean and cache. I even ran flutter repair. I currently working in beta channel. I switched from the master 4 months ago. I had this problem when I switched form the master to beta. But I believe flutter clean might of did the trick. but now I am having this same problem in beta. 

Please help.
----------------------------------------------------------------------------------------------------------
Downloading Web SDK...                                             13.6s
Running "flutter pub get" in hdt...                                 7.1s
Launching lib\main.dart on Chrome in debug mode...
Building application for the web...
Throwing away cached asset graph due to Dart SDK update.
Attempting to connect to browser instance..
Finished with error: Failed to establish connection with the application instance in Chrome.
This can happen if the websocket connection used by the web tooling is unabled to correctly establish a connection, for example due to a firewall.


Microsoft Windows [Version 10.0.18363.592]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\hl\AndroidStudioProjects\hdt>flutter upgrade
Upgrading Flutter from C:\src\flutter\flutter...
Already up to date.
Flutter is already up to date on channel beta
Flutter 1.14.6 • channel beta • https://github.com/flutter/flutter.git
Framework • revision fabeb2a16f (13 days ago) • 2020-01-28 07:56:51 -0800
Engine • revision c4229bfbba
Tools • Dart 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

C:\Users\hl\AndroidStudioProjects\hdt>

C:\Users\hl\AndroidStudioProjects\hdt>flutter doctor
Downloading android-arm-profile/windows-x64 tools...                6.6s
Downloading android-arm-release/windows-x64 tools...                5.0s
Downloading android-arm64-profile/windows-x64 tools...              5.6s
Downloading android-arm64-release/windows-x64 tools...              5.4s
Downloading android-x64-profile/windows-x64 tools...                5.5s
Downloading android-x64-release/windows-x64 tools...                4.8s
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v1.14.6, on Microsoft Windows [Version 10.0.18363.592], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.40.2)
[√] Connected device (2 available)

• No issues found!





Reply all
Reply to author
Forward
0 new messages