jonataslaw / jonataslaw/get_server

Flutter: webview_flutter_plus error: Server Error: Unsupported operation: ServerSocket.bind

Open
#89 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
484
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Server Error: Unsupported operation: ServerSocket.bind C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 470:5 _bind
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/io/socket.dart 307:27 bind
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_http/http_impl.dart 3161:10 bind
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_http/http.dart 186:19 bind
packages/webview_flutter_plus/src/webview_flutter_plus.dart 882:61
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1391:13 _rootRun
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1293:19 run
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1828:67 _runZoned
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1817:12 runZonedGuarded
packages/webview_flutter_plus/src/webview_flutter_plus.dart 881:5 start
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5 _async
packages/webview_flutter_plus/src/webview_flutter_plus.dart 878:27 start
packages/webview_flutter_plus/src/webview_flutter_plus.dart 290:23 build
packages/flutter/src/widgets/framework.dart 4992:27 build
packages/flutter/src/widgets/framework.dart 4878:15 performRebuild
packages/flutter/src/widgets/framework.dart 5050:11 performRebuild
packages/flutter/src/widgets/framework.dart 4604:5 rebuild
packages/flutter/src/widgets/framework.dart 4859:5 [_firstBuild]
packages/flutter/src/widgets/framework.dart 5041:11 [_firstBuild]
packages/flutter/src/widgets/framework.dart 4853:5 mount
packages/flutter/src/widgets/framework.dart 3863:15 inflateWidget
packages/flutter/src/widgets/framework.dart 3592:18 updateChild
packages/flutter/src/widgets/framework.dart 6300:14 mount
packages/flutter/src/widgets/framework.dart 3863:15 inflateWidget
packages/flutter/src/widgets/framework.dart 3592:18 updateChild
packages/flutter/src/widgets/framework.dart 6300:14 mount
packages/flutter/src/widgets/framework.dart 3863:15 inflateWidget
packages/flutter/src/widgets/framework.dart 3592:18 updateChild
packages/flutter/src/widgets/framework.dart 6300:14 mount
packages/flutter/src/widgets/framework.dart 3863:15 inflateWidget
packages/flutter/src/widgets/framework.dart 3592:18 updateChild
packages/flutter/src/widgets/framework.dart 6300:14 mount
packages/flutter/src/widgets/framework.dart 3863:15 inflateWidget
packages/flutter/src/widgets/framework.dart 3592:18 updateChild
packages/flutter/src/widgets/framework.dart 6300:14 mount
packages/flutter/src/widgets/framework.dart 3863:15

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect packages/webview_flutter_plus/src/webview_flutter_plus.dart around start and build, especially lines 878-882, and reproduce the failure in a Flutter web build. Done means the web target no longer reaches the unsupported ServerSocket.bind operation while the webview still starts correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.