nisrulz / nisrulz/flutter-examples

sample 'Image from Network' is not success, operation timeout

Open
#41 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Hacktoberfest
Dominant language
Dart
Stars
7.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Launching lib/main.dart on iPhone Xʀ in debug mode...
Running Xcode build...
Xcode build done. 9.2s
Syncing files to device iPhone Xʀ...

════════ Exception caught by image resource service ════════════════════════════════════════════════
The following SocketException was thrown resolving an image codec:
OS Error: Operation timed out, errno = 60, address = raw.githubusercontent.com, port = 54151

When the exception was thrown, this was the stack:
#0 NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:88:43)

#1 NetworkImage.load (package:flutter/src/painting/_network_image_io.dart:48:14)
#2 ImageProvider.resolve... (package:flutter/src/painting/image_provider.dart:316:48)
#3 ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:160:22)
...
Image provider: NetworkImage("https://github.com/nisrulz/flutter-examples/raw/develop/image_from_network/img/flutter_logo.png", scale: 1.0)
Image key: NetworkImage("https://github.com/nisrulz/flutter-examples/raw/develop/image_from_network/img/flutter_logo.png", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (2) Exception caught by image resource service ════════════════════════════════════════════
OS Error: Operation timed out, errno = 60, address = raw.githubusercontent.com, port = 54152
════════════════════════════════════════════════════════════════════════════════════════════════════

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at lib/main.dart and reproduce the Image from Network sample with the reported GitHub image URL. Read the Flutter NetworkImage failure locations in _network_image_io.dart and determine whether the timeout is reproducible; the issue does not define a code change or clear completion condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile, networking
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.