Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OS Error: Connection reset by peer, errno = 104, address = storage.googleapis.com, prort = 37890

Tags:

flutter

dart

When I get Flutter Dependency Packages form pub.dev site then it not to install show below this this error...

enter image description here

And My Flutter Doctor is...

enter image description here

Details Description Issue here: flutter issue for dependencies installation

How can i solve this problem?

like image 267
Kazi Rahamatullah Avatar asked Dec 04 '25 11:12

Kazi Rahamatullah


2 Answers

You are trying to connect to https, while the server is http.

use http 'in the link' and add this line to AndroidManifest.xml to allow http package to connect to server that are not secure

<application

        android:usesCleartextTraffic="true"
like image 181
hassan Avatar answered Dec 07 '25 01:12

hassan


It may be your ISP blocking the connection. Can you access to https://pub.dartlang.org ?

Maybe a simple flutter clean might solve the issue. If not, you can also try flutter pub cache repair.

like image 43
MickaelHrndz Avatar answered Dec 07 '25 01:12

MickaelHrndz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!