Skip to content

dart analytics hangs when there's no internet in wsl2 #45235

Closed
@jeiea

Description

@jeiea

What I did

  • Install archwsl (did not test other distro).
  • Install flutter 2.0.1 by asdf-vm.
  • Disconnect host internet by ipconfig /release.
  • Execute any of dart, dart pub outdated, dart pub upgrade.

Expected behavior

Normal behavior (help output) or at least error message.

Actual behavior

No output, command does not finish.

Additional context

✗ dart --version
Dart SDK version: 2.12.0 (stable) (Thu Feb 25 19:50:53 2021 +0100) on "linux_x64"
✗ uname -a
Linux DESKTOP-10AAD8A 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 GNU/Linux

After I executed dart --disable-analytics, dart command exited normally.

Metadata

Metadata

Assignees

Labels

area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions