-
Notifications
You must be signed in to change notification settings - Fork 232
Pub crashes when fetching security advisories fails #4269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@szakarias we should probably not crash when security advisories fail to load. That makes mirroring a lot harder. |
To correctly mirror pub.dev you need to follow the protocol which requires any packages with a To resolve the problem when mirroring you should either mirror the Still pub should not crash here: I think we want:
|
Fixed in #4275 |
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: