Invalid argument(s): No host specified in URI. Error thrown .
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the stack-trace locations in io_client.dart:88, file_service.dart:37, and web_helper.dart:65, 97, and 115 to follow how the URI reaches the HTTP request. Check how invalid URLs are handled, then verify that an invalid URL is detected without producing the reported no-host exception.
Written by the indexing model from the issue text.
Description
🐛 Bug Report
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
Invalid argument(s): No host specified in URI. Error thrown .
_HttpClient.openUrl (dart:_http)
IOClient.send (io_client.dart:88)
HttpFileService.get (file_service.dart:37)
WebHelper._download (web_helper.dart:115)
WebHelper._updateFile (web_helper.dart:97)
WebHelper._downloadOrAddToQueue (web_helper.dart:65)
Expected behavior
You can check whether url is valid
Reproduction steps
Configuration
Version: 3.3.1
Platform:
- 📱 iOS
- 🤖 Android
- Dominant language
- Dart
- Stars
- 810
- Forks
- 510
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Baseflow/flutter_cache_manager
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Baseflow/flutter_cache_manager#450 · 9 comments · 8 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
Baseflow/flutter_cache_manager#507 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
Baseflow/flutter_cache_manager#501 · 1 comment · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Baseflow/flutter_cache_manager#500 · 1 comment · 3 reactions ·
All issues in Baseflow/flutter_cache_manager
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AOSSIE-Org/Ell-ena#332 ·
-
ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
HemantKArya/BloomeeTunes#489 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AppFlowy-IO/appflowy-editor#1241 ·
-
error Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100