-
Notifications
You must be signed in to change notification settings - Fork 232
Running "flutter pub get" in User app... 403 #3415
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
Are you using a mirror for PUB_HOSTED_URL? |
I have no idea. I have solved the issue by running flutter clean and flutter pub get. Could be something to do with my VPN since I am in China. |
Yes, that could easily be it. When we fix #3325 we will not give a crash stack trace on 403 (though not sure we can give much more info). |
Use The VPN |
I'm Using US-VPN, and it's work on native android projects, but I got this issue here.
Flutter doctor:
|
Did you find a solution to eat it, I also suffer from it |
Restart my wifi router or switch to other provider networks, which works for me. |
`Authentication error (403)
package:pub/src/authentication/client.dart 95:5 _AuthenticatedClient._throwAuthException
package:pub/src/authentication/client.dart 60:9 _AuthenticatedClient.send
===== asynchronous gap ===========================
package:pub/src/authentication/client.dart 133:12 withAuthenticatedClient
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 803:22 BoundHostedSource._download.
===== asynchronous gap ===========================
package:pub/src/io.dart 844:12 withTempDir
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 800:5 BoundHostedSource._download
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 639:7 BoundHostedSource.downloadToSystemCache
===== asynchronous gap ===========================
package:pub/src/entrypoint.dart 484:35 Entrypoint._get.
===== asynchronous gap ===========================
package:pub/src/entrypoint.dart 479:12 Entrypoint._get
===== asynchronous gap ===========================
package:pub/src/entrypoint.dart 297:7 Entrypoint.acquireDependencies
===== asynchronous gap ===========================
package:pub/src/command/get.dart 52:5 GetCommand.runProtected
This is an unexpected error. Please run
and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
pub get failed (1; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)
Process finished with exit code 1`
The text was updated successfully, but these errors were encountered: