Skip to content

[tool_crash] error parsing (valid) IPv6 address for web run server host #178082

@kevmoo

Description

@kevmoo

Command

flutter run -d chrome

web_dev_config.yaml file contents

server:
  host: "::1" # Defines the binding address <string>
  port: 8080 # Specifies the port <int> for the development server
  https:
    cert-path: "local_certs/localhost.pem" # Path <string> to your TLS certificate
    cert-key-path: "local_certs/localhost-key.pem" # Path <string> to TLS certificate key

Logs

FormatException

#0      int._handleFormatError (dart:core-patch/integers_patch.dart:150:5)
#1      int._parseRadix (dart:core-patch/integers_patch.dart:179:14)
#2      int._parse (dart:core-patch/integers_patch.dart:121:12)
#3      int.parse (dart:core-patch/integers_patch.dart:81:12)
#4      _Uri._makeHttpUri (dart:core/uri.dart:2114:49)
#5      new _Uri.http (dart:core/uri.dart:1997:12)
#6      WebAssetServer.start (package:flutter_tools/src/isolated/web_asset_server.dart:265:27)
<asynchronous suspension>
#7      WebDevFS.create (package:flutter_tools/src/isolated/devfs_web.dart:201:22)
<asynchronous suspension>
#8      ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:318:19)
<asynchronous suspension>
#9      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:108:24)
<asynchronous suspension>
�[32m[✓]�[39m Flutter (Channel master, 3.38.0-1.0.pre-425, on macOS 15.7.2 24G325 darwin-arm64, locale en-US) [2.2s]
    �[32m•�[39m Flutter version 3.38.0-1.0.pre-425 on channel master at /Users/kevmoo/github/flutter
    �[32m•�[39m Upstream repository [email protected]:flutter/flutter.git
    �[32m•�[39m Framework revision c652b53819 (22 hours ago), 2025-11-04 20:20:33 -0400
    �[32m•�[39m Engine revision 87598a3574
    �[32m•�[39m Dart version 3.11.0 (build 3.11.0-93.0.dev)
    �[32m•�[39m DevTools version 2.52.0
    �[32m•�[39m Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

�[31m[✗]�[39m Android toolchain - develop for Android devices [48ms]
    �[31m✗�[39m Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


�[33m[!]�[39m Xcode - develop for iOS and macOS (Xcode 26.0.1) [1,122ms]
    �[32m•�[39m Xcode at /Applications/Xcode.app/Contents/Developer
    �[32m•�[39m Build 17A400
    �[31m✗�[39m Unable to get list of installed Simulator runtimes.
    �[31m✗�[39m CocoaPods not installed.
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation

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

�[32m[✓]�[39m Connected device (2 available) [5.6s]
    �[32m•�[39m macOS (desktop) • macos  • darwin-arm64   • macOS 15.7.2 24G325 darwin-arm64
    �[32m•�[39m Chrome (web)    • chrome • web-javascript • Google Chrome 142.0.7444.60

�[32m[✓]�[39m Network resources [650ms]
    �[32m•�[39m All expected network resources are available.

�[33m!�[39m Doctor found issues in 2 categories.

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: master
Creation framework version: c652b53

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consoleplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions