You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS kind and version (e.g. "Windows 10, version 1809" or "macOS 12.4"): windows 10
Are you using the Chinese community mirror or a corporate firewall?
yes, i use "pub-web.flutter-io.cn" in my privacy package server. "pub.niimbot.info" is my privacy server which created by unpub
Problem
i upgrade my flutter to 3.22.0,
and run "flutter doctor -vv"failed.
To correctly mirror pub.dev you need to follow the protocol which requires any packages with a advisoriesUpdated field in the package listing to also respond to <hosted-url>/api/packages/<package>/advisories.
To resolve the problem when mirroring you should either mirror the <hosted-url>/api/packages/<package>/advisories response or strip the advisoriesUpdated field from the package listing.
Still pub should not crash here:
I think we want:
the pub client should
error gracefully if the server is pub.dev
warn gracefully otherwise and still give a working resolution.
Environment
dart --version
): 2.4.0yes, i use "pub-web.flutter-io.cn" in my privacy package server. "pub.niimbot.info" is my privacy server which created by unpub
Problem
i upgrade my flutter to 3.22.0,
and run "flutter doctor -vv"failed.
<copy/paste pubspec.yaml>
Expected behavior
Actual behavior
HTTP response 404 Not Found for GET https://pub.niimbot.info/api/packages/archive/advisories
--trace output
The text was updated successfully, but these errors were encountered: