万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

Flutterの画像のダウンロード表示・http通信でエラー(Connection closed before full header was received)

こんな感じの実装をしている。

imageUrlは存在する画像。

      FadeInImage.assetNetwork(
        image: imageUrl,
        placeholder: 'images/icon_loading.png',
      ),
======== Exception caught by image resource service ================================================
The following HttpException was thrown resolving an image codec:
Connection closed before full header was received, uri = https://何てらcon.png

When the exception was thrown, this was the stack: 
Image provider: NetworkImage("https://何てらcon.png", scale: 1.0)
Image key: NetworkImage("https://何てらcon.png", scale: 1.0)
====================================================================================================

qiita.com

おいおい・・・・・