`HTTP error 403: Forbidden
package:pub/src/http.dart 218:5 _ThrowingClient.send
===== asynchronous gap ===========================
package:http_throttle/http_throttle.dart 33:31 ThrottleClient.send
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 301:37 BoundHostedSource._download
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 196:13 BoundHostedSource.downloadToSystemCache
===== asynchronous gap ===========================
package:pub/src/entrypoint.dart 371:48 Entrypoint._get.
===== asynchronous gap ===========================
dart:async runZoned
package:pub/src/http.dart 272:10 withDependencyType
package:pub/src/entrypoint.dart 367:12 Entrypoint._get
dart:async Future.wait
package:pub/src/entrypoint.dart 228:18 Entrypoint.acquireDependencies
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver.solve
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver._result
This is an unexpected error. Please run
pub --trace --verbosity=warning upgrade --no-precompile
and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
`
C:\srcflutter\binflutter.bat --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.14393], locale ar-SY)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[!] Android Studio (version 3.0)
X Unable to determine bundled Java version.
[√] Android Studio (version 3.2)
[√] Connected devices (1 available)
! Doctor found issues in 1 category.
what packages are you trying to get? Please share the dependencies and dev_dependency section..
Maybe make a minimal example of a pubspec.yaml that fails..
Are you behind a corporate proxy? Or the Chinese community mirror?
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
photo_view: ^0.2.4
dev_dependencies:
flutter_test:
sdk: flutter
Thanks, does this is also happen if you have fewer dependencies? Try to make the smallest you can? Then I can tell you HTTP requests are problematic and we can try to debug those... I can't reproduce this on Linux.
Maybe there is something wrong with the server, I'm certainly curious to find out how you're getting a 403 response :)
I don't see any 403s in response logs from appengine, but you might have been redirected to a file that didn't exist in GCS or something like that (which could return 403).
side note: use code fencing in markdown on github to make your code snippets readable. It also makes it possible for people to spot issues in your YAML.
Thank you for help me
When I remove the photo_view: ^0.2.4 from pubspec.yaml file
It Works immediately after pressing get Packges button
And I try to use other packges but it still the same error
So what is the minimal pubspec.yaml?
Can you limit the version ranges, too? So that it doesn't say ^0.2.4 but 0.2.4 or 0.2.3... or...
This might depend on the flutter version too..
hehe, so close... You need triple-` for code fencing :)
dependencies:
# photo_view:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
# photo_view: ^0.2.4
dev_dependencies:
flutter_test:
sdk: flutter
How about:
dependencies:
flutter:
sdk: flutter
cupertino_icons: 0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
And what happens if you try this in the terminal:
curl -v -L https://pub.dartlang.org/api/packages/cupertino_icons
Does it return some nice JSON?
And what about:
curl -v -L https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.2.tar.gz -o cupertino_icons-0.1.2.tar.gz
does it down the file? or do you get 403?
I can't seem to reproduce this, what flutter version are you on?
C:\Users\wael1\ApkProjectsflutter_app5>curl -v -L https://pub.dartlang.org/api/packages/cupertino_icons
'curl' is not recognized as an internal or external command,
operable program or batch file.
Version: 29.1.1
see: https://curl.haxx.se/download.html
curl is a good way to debug HTTP responses...
Maybe try the latest flutter..
I'm curious does this problem also happen with other packages, or is it only cupertino_icons?
the error occur when I add photo_view 0.2.4
But cupertino_icons is automatically added
and I dosent use it
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>curl -v -L https://pub.dartlang.org/api/packages/cupertino_icons
* Trying 172.217.17.147...
* TCP_NODELAY set
* Connected to pub.dartlang.org (172.217.17.147) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin\curl-ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.dartlang.org
* start date: May 23 07:33:22 2018 GMT
* expire date: May 22 07:33:22 2019 GMT
* subjectAltName: host "pub.dartlang.org" matched cert's "*.dartlang.org"
* issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x209479020a0)
> GET /api/packages/cupertino_icons HTTP/2
> Host: pub.dartlang.org
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< date: Mon, 15 Apr 2019 12:26:50 GMT
< content-type: application/json
< vary: Accept-Encoding
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< server: dart:io with Shelf
< via: 1.1 google
<
{"name":"cupertino_icons","latest":{"archive_url":"https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.2.tar.gz","pubspec":{"version":"0.1.2","name":"cupertino_icons","author":"Flutter Team <[email protected]>","flutter":{"fonts":[{"family":"CupertinoIcons","fonts":[{"asset":"assets/CupertinoIcons.ttf"}]}]},"description":"Default icons asset for Cupertino widgets","homepage":"https://github.com/flutter/cupertino_icons","environment":{"sdk":">=2.0.0-dev.28.0 <3.0.0"}},"version":"0.1.2"},"versions":[{"archive_url":"https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.0.tar.gz","pubspec":{"homepage":"https://github.com/flutter/cupertino_icons","version":"0.1.0","name":"cupertino_icons","author":"Flutter Team <[email protected]>","flutter":{"assets":["assets/CupertinoIcons.ttf"]},"description":"Default icons asset for Cupertino widgets"},"version":"0.1.0"},{"archive_url":"https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.1.tar.gz","pubspec":{"homepage":"https://github.com/flutter/cupertino_icons","version":"0.1.1","name":"cupertino_icons","author":"Flutter Team <[email protected]>","flutter":{"fonts":[{"family":"CupertinoIcons","fonts":[{"asset":"assets/CupertinoIcons.ttf"}]}]},"description":"Default icons asset for Cupertino widgets"},"version":"0.1.1"},{"archive_url":"https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.2.tar.gz","pubspec":{"version":"0.1.2","name":"cupertino_icons","author":"Flutter Team <[email protected]>","flutter":{"fonts":[{"family":"CupertinoIcons","fonts":[{"asset":"assets/CupertinoIcons.ttf"}]}]},"description":"Default icons asset for Cupertino widgets","homepage":"https://github.com/flutter/cupertino_icons","environment":{"sdk":">=2.0.0-dev.28.0 <3.0.0"}},"version":"0.1.2"}]}* Connection #0 to host pub.dartlang.org left intact
* Closing connection 0
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>curl -v -L https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.2.tar.gz -o cupertino_icons-0.1.2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 172.217.17.147...
* TCP_NODELAY set
* Connected to pub.dartlang.org (172.217.17.147) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin\curl-ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2537 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.dartlang.org
* start date: May 23 07:33:22 2018 GMT
* expire date: May 22 07:33:22 2019 GMT
* subjectAltName: host "pub.dartlang.org" matched cert's "*.dartlang.org"
* issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x24a940120a0)
} [5 bytes data]
> GET /packages/cupertino_icons/versions/0.1.2.tar.gz HTTP/2
> Host: pub.dartlang.org
> User-Agent: curl/7.64.1
> Accept: */*
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/2 303
< date: Mon, 15 Apr 2019 12:27:01 GMT
< content-type: text/plain; charset=utf-8
< content-length: 0
< location: https://storage.googleapis.com/pub-packages/packages/cupertino_icons-0.1.2.tar.gz
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< server: dart:io with Shelf
< via: 1.1 google
<
{ [0 bytes data]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host pub.dartlang.org left intact
* Issue another request to this URL: 'https://storage.googleapis.com/pub-packages/packages/cupertino_icons-0.1.2.tar.gz'
* Trying 172.217.168.208...
* TCP_NODELAY set
* Connected to storage.googleapis.com (172.217.168.208) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin\curl-ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2792 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.storage.googleapis.com
* start date: Mar 1 09:36:45 2019 GMT
* expire date: May 24 09:25:00 2019 GMT
* subjectAltName: host "storage.googleapis.com" matched cert's "*.googleapis.com"
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x24a940120a0)
} [5 bytes data]
> GET /pub-packages/packages/cupertino_icons-0.1.2.tar.gz HTTP/2
> Host: storage.googleapis.com
> User-Agent: curl/7.64.1
> Accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [256 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [256 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 403
< x-guploader-uploadid: AEnB2UrW5bP7halzvm7bm6ipJQ9gfZ7p1k_zmrLXcShivrqYwRIOqwi5BYV2c75hxC2AbDhaPwUJYQTr25enqGeZ4DnjAHUv09IoHxNnLEXHv-3SveKQiQg
< content-type: application/xml; charset=UTF-8
< content-length: 193
< date: Mon, 15 Apr 2019 12:27:02 GMT
< expires: Mon, 15 Apr 2019 12:27:02 GMT
< cache-control: private, max-age=0
< server: UploadServer
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
<
{ [5 bytes data]
100 193 100 193 0 0 129 0 0:00:01 0:00:01 --:--:-- 129
* Connection #1 to host storage.googleapis.com left intact
* Closing connection 0
* Closing connection 1
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>curl -v -L https://pub.dartlang.org/api/packages/photo_view
* Trying 172.217.17.147...
* TCP_NODELAY set
* Connected to pub.dartlang.org (172.217.17.147) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin\curl-ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.dartlang.org
* start date: May 23 07:33:22 2018 GMT
* expire date: May 22 07:33:22 2019 GMT
* subjectAltName: host "pub.dartlang.org" matched cert's "*.dartlang.org"
* issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x219947e20a0)
> GET /api/packages/photo_view HTTP/2
> Host: pub.dartlang.org
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< date: Mon, 15 Apr 2019 12:31:38 GMT
< content-type: application/json
< vary: Accept-Encoding
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< server: dart:io with Shelf
< via: 1.1 google
<
{"name":"photo_view","latest":{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.4.tar.gz","pubspec":{"version":"0.2.4","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.4"},"versions":[{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.1.tar.gz","pubspec":{"version":"0.0.1","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"}},"flutter":{"assets":["assets/peanut.gif"]},"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":"<2.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.1"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.2.tar.gz","pubspec":{"version":"0.0.2","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"}},"flutter":{"assets":["assets/peanut.gif"]},"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":"<2.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.2"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.3.tar.gz","pubspec":{"version":"0.0.3","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"}},"flutter":{"assets":["assets/peanut.gif"]},"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.3"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.4.tar.gz","pubspec":{"version":"0.0.4","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"}},"flutter":{"assets":["assets/peanut.gif"]},"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.4"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.5.tar.gz","pubspec":{"version":"0.0.5","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <2.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.5"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.6.tar.gz","pubspec":{"version":"0.0.6","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.6"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.7.tar.gz","pubspec":{"version":"0.0.7","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.7"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.8.tar.gz","pubspec":{"version":"0.0.8","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=1.19.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.8"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.9.tar.gz","pubspec":{"version":"0.0.9","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.9"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.10.tar.gz","pubspec":{"version":"0.0.10","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.10"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.0.11.tar.gz","pubspec":{"version":"0.0.11","name":"photo_view","dependencies":{"test":"^1.5.1","flutter":{"sdk":"flutter"},"after_layout":"^1.0.4"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.0.11"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.1.0.tar.gz","pubspec":{"version":"0.1.0","name":"photo_view","dependencies":{"test":"^1.5.1","flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"A simple zoomable image widget for Flutter.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"flutter_test":{"sdk":"flutter"}}},"version":"0.1.0"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.1.1.tar.gz","pubspec":{"version":"0.1.1","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.1.1"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.1.2.tar.gz","pubspec":{"version":"0.1.2","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.1.2"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.1.3.tar.gz","pubspec":{"version":"0.1.3","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0-dev.68.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.1.3"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.0.tar.gz","pubspec":{"version":"0.2.0","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.1.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.0"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.1.tar.gz","pubspec":{"version":"0.2.1","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.1"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.2.tar.gz","pubspec":{"version":"0.2.2","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.2"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.3.tar.gz","pubspec":{"version":"0.2.3","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.3"},{"archive_url":"https://pub.dartlang.org/packages/photo_view/versions/0.2.4.tar.gz","pubspec":{"version":"0.2.4","name":"photo_view","dependencies":{"flutter":{"sdk":"flutter"},"after_layout":"^1.0.7"},"flutter":null,"author":"Renan C. Araújo <[email protected]>","description":"Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.","environment":{"sdk":">=2.0.0 <3.0.0"},"homepage":"https://github.com/renancaraujo/photo_view","dev_dependencies":{"test":"^1.5.1","flutter_test":{"sdk":"flutter"}}},"version":"0.2.4"}]}* Connection #0 to host pub.dartlang.org left intact
* Closing connection 0
C:\Users\wael1\Desktop\curl-7.64.1-win64-mingw\bin>
@wael120120, this is very very interesting. Are you behind any kind of proxy or anti virus thing that intercepts or modifies your HTTP requests?
Please try this again:
curl -v -L 'https://pub.dartlang.org/packages/cupertino_icons/versions/0.1.2.tar.gz'
And post the log from just that command... It looks as if you're getting a 403, with some XML attached, I would be curious to see what that is...
Also, if I may ask, where are you located in the world, who are you getting internet through? Just curious.. I doubt it has anything to do with this.
Most helpful comment