Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yuzhidi opened this issue Sep 23, 2019 · 1 comment
Open

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

yuzhidi opened this issue Sep 23, 2019 · 1 comment

Comments

@yuzhidi
Copy link

yuzhidi commented Sep 23, 2019

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
════════════════════════════════════════════════════════════════════════════════════════════════════

@nisrulz nisrulz added the bug label Sep 23, 2019
@nisrulz nisrulz self-assigned this Sep 23, 2019
@nisrulz
Copy link
Owner

nisrulz commented Nov 14, 2019

Is this happening only on iOS?

I just tested on Android and everything was working as expected.

@nisrulz nisrulz removed their assignment Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants