Skip to content

On macOS Sequoia - [tool_crash] SocketException: Send failed, OS Error: No route to host, errno = 65 #150131

@RafaelZasas

Description

@RafaelZasas

Workaround

Important

On macOS, open System Settings > Privacy & Security > Local Network. Toggle on the permission for all the code editors and terminals you use to launch Flutter apps. You might need to restart your code editor, terminal, and physical device.

Command

flutter run

Steps to Reproduce

Run flutter app on IOS 18 Beta

Logs

SocketException: Send failed, OS Error: No route to host, errno = 65

#0      _NativeSocket.send (dart:io-patch/socket_patch.dart:1269:34)
#1      _RawDatagramSocket.send (dart:io-patch/socket_patch.dart:2584:15)
#2      MDnsClient.lookup (package:multicast_dns/multicast_dns.dart:225:14)
#3      MDnsVmServiceDiscovery._pollingVmService (package:flutter_tools/src/mdns_discovery.dart:232:66)
<asynchronous suspension>
#4      MDnsVmServiceDiscovery.firstMatchingVmService (package:flutter_tools/src/mdns_discovery.dart:188:56)
<asynchronous suspension>
#5      MDnsVmServiceDiscovery.getVMServiceUriForLaunch (package:flutter_tools/src/mdns_discovery.dart:433:50)
<asynchronous suspension>
#6      Future.any.onValue (dart:async/future.dart:628:5)
<asynchronous suspension>
�[32m[✓]�[39m Flutter (Channel beta, 3.23.0-0.1.pre, on macOS 15.0 24A5264n darwin-arm64, locale en-US)
    �[32m•�[39m Flutter version 3.23.0-0.1.pre on channel beta at /Users/rafaelzasas/dev/flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 2feea7a407 (7 days ago), 2024-06-06 10:19:10 +0700
    �[32m•�[39m Engine revision bb10c54666
    �[32m•�[39m Dart version 3.5.0 (build 3.5.0-180.3.beta)
    �[32m•�[39m DevTools version 2.36.0

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    �[32m•�[39m Android SDK at /Users/rafaelzasas/Library/Android/sdk
    �[32m•�[39m Platform android-34, build-tools 34.0.0
    �[32m•�[39m Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    �[32m•�[39m All Android licenses accepted.

�[32m[✓]�[39m Xcode - develop for iOS and macOS (Xcode 15.4)
    �[32m•�[39m Xcode at /Applications/Xcode.app/Contents/Developer
    �[32m•�[39m Build 15F31d
    �[32m•�[39m CocoaPods version 1.15.2

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

�[32m[✓]�[39m Android Studio (version 2022.2)
    �[32m•�[39m Android Studio at /Applications/Android Studio.app/Contents
    �[32m•�[39m Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    �[32m•�[39m Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

�[32m[✓]�[39m VS Code (version 1.87.2)
    �[32m•�[39m VS Code at /Applications/Visual Studio Code.app/Contents
    �[32m•�[39m Flutter extension version 3.84.0

�[32m[✓]�[39m Connected device (5 available)
    �[32m•�[39m Rafs Iphone 15 (mobile)         • 00008130-001640DA0891401C • ios            • iOS 18.0 22A5282m
   

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issueP1High-priority issues at the top of the work listc: crashStack traces logged to the consolecustomer: crowdAffects or could affect many people, though not necessarily a specific customer.e: OS-version specificAffects only some versions of the relevant operating systemplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-macosOwned by the macOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-macosTriaged by the macOS platform team

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions