Skip to content

[tool_crash] SocketException: Send failed, OS Error: Address family not supported by protocol family, errno = 47 #171842

@sslyfbb

Description

@sslyfbb

Command

flutter --no-color attach --machine --device-id=5C3D7F9D-A805-4814-8774-0116BC3DA185 lib/main.dart

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

SocketException: Send failed, OS Error: Address family not supported by protocol family, errno = 47

#0      _NativeSocket.send (dart:io-patch/socket_patch.dart:1275:34)
#1      _RawDatagramSocket.send (dart:io-patch/socket_patch.dart:2590:15)
#2      MDnsClient.lookup (package:multicast_dns/multicast_dns.dart:219:22)
#3      MDnsVmServiceDiscovery._pollingVmService (package:flutter_tools/src/mdns_discovery.dart:236:36)
<asynchronous suspension>
#4      MDnsVmServiceDiscovery.queryForAttach (package:flutter_tools/src/mdns_discovery.dart:96:56)
<asynchronous suspension>
#5      MDnsVmServiceDiscovery.getVMServiceUriForAttach (package:flutter_tools/src/mdns_discovery.dart:416:50)
<asynchronous suspension>
#6      new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:248:17)
<asynchronous suspension>
[!] Flutter (Channel stable, 3.27.4, on macOS 15.2 24C101 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.27.4 on channel stable at /Users/sunshu/fvm/versions/3.27.4
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/3.3.4/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/sunshu/fvm/versions/3.27.4. Consider adding /Users/sunshu/fvm/versions/3.27.4/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d8a9f9a52e (5 个月前), 2025-01-31 16:07:18 -0500
    • Engine revision 82bd5b7209
    • Dart version 3.6.2
    • DevTools version 2.40.3
    • Pub download mirror https://mirrors.tencent.com/dart-pub/
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3)
    • Android SDK at /Users/sunshu/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0-rc3
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.101.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.112.0

[✓] Connected device (4 available)
    • iPhone 15 Pro Max (mobile) • 45756F6D-7C34-4475-B808-59FE61D17C9C • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • iPhone Xs (mobile)         • 5C3D7F9D-A805-4814-8774-0116BC3DA185 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 15.2 24C101 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 138.0.7204.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata

Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.tencent.smoba.gamehelper.flutter_module
iOS bundle identifier: com.tencent.smoba.gamehelper.flutterModule
Creation channel: stable
Creation framework version: 9b2d32b

Plugins

bugly_flutter-0.3.9
connectivity_plus
connectivity_plus_linux-1.3.1
connectivity_plus_macos-1.2.6
connectivity_plus_web-1.2.5
connectivity_plus_windows-1.2.2
device_info-2.0.3
flutter_keyboard_visibility
flutter_plugin_android_lifecycle-2.0.7
flutter_thumbplayer-b21edcab694a280090c29d66f14cec7a20e6ce33
hk_screenshot-914a0b4b27d098ad38bba9ede3ce004ffb99e937
image_picker-0.8.5+3
image_picker_android-0.8.5+5
image_picker_for_web-2.2.0
image_picker_ios-0.8.8+2
motion_sensors-0.1.0
one_data-eeae077cd0718f3107482827eaee16146f3b519e
package_info-2.0.2
package_info_plus-8.2.1
pag
page_embed-754b2c22ce4011558b6c7fc0a5cf1af46ac0439a
path_provider-2.0.12
path_provider_android-2.0.22
path_provider_foundation-2.3.1
path_provider_linux-2.2.1
path_provider_windows-2.3.0
qr_code_scanner-266b41b694f76c20ca3be54b2a6e00dd813f54a8
rmonitor_base-65c4231a27f841b31782522b8f0cd1899730b0f2
rmonitor_flutter-0.3.9
shared_preferences-2.2.3
shared_preferences_android-2.2.1
shared_preferences_foundation-2.4.0
shared_preferences_linux-2.3.2
shared_preferences_web-2.2.1
shared_preferences_windows-2.3.2
sqflite
t_platform_view-f0a54d8f469a6efce5d4e3e1ec5abed938b0efac
DTReportFlutter-ad32234e14fa2ca1c3f57bdf541002c03347671d
tencent_super_channel-3.2.2
tevent-2.0.4-nullable
trouter
trouter_android
trouter_ios
trouter_web-3.0.8
url_launcher-6.3.0
url_launcher_android-6.0.22
url_launcher_ios-6.3.1
url_launcher_linux-3.1.1
url_launcher_macos-3.1.0
url_launcher_web-2.3.3
url_launcher_windows-3.1.1
video_player-2.1.1
video_player_web-2.0.15
wakelock_plus-1.2.10
webview_flutter
webview_flutter_android
webview_flutter_wkwebview
webview_flutter_x5

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy