Baseflow / flutter_cached_network_image

Download, cache and show images in a flutter app
https://baseflow.com
2.45k stars 656 forks source link

[macOS] OS Error: Operation not permitted #945

Open 12people opened 6 months ago

12people commented 6 months ago

🐛 Bug Report

I' m trying to use this package on macOS, but am running into this error:

_ClientSocketException (ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = via.placeholder.com, port = 80, uri=http://via.placeholder.com/350x150)

Expected behavior

The placeholder should load.

Reproduction steps

  1. Create a new Flutter project.
  2. On the main screen, replace the "Hello World" Text widget with:
    CachedNetworkImage(
            imageUrl: "http://via.placeholder.com/350x150",
            placeholder: (context, url) => CircularProgressIndicator(),
            errorWidget: (context, url, error) => Icon(Icons.error),
          )
  3. Run the app on macOS.

Configuration

Version: 3.3.1

Platform: