Skip to content
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

Flutter update fails when using the repository proxy #5

Open
ghost opened this issue Dec 17, 2021 · 2 comments
Open

Flutter update fails when using the repository proxy #5

ghost opened this issue Dec 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Dec 17, 2021

Hi,

First of all : thanks for this plugin that saves us lots of downloading time. :)

I just run into an issue trying to upgrade flutter flutter upgrade thru the proxy.

My analysis of the issue:
flutter fails accessing following resource : {nexus-server-url}/repository/dart-proxy//flutter_infra_release/flutter/d3ea636dc5d16b56819f3266241e1f708979c233/flutter-web-sdk-linux-x64.zip
because nexus proxy seems to serve packages only under the following path: {nexus-server-url}/repository/dart-proxy/packages/

The workaround is to disable the proxy usage while upgrading.

Kind regards,
Renaud

@mat1e mat1e added the enhancement New feature or request label Dec 17, 2021
@mat1e
Copy link
Member

mat1e commented Dec 17, 2021

Hello,

I already got this issue. I tried to fix it but it seems that "flutter update" doesn't only call "/flutter_infra_release"...
In my case it broke my flutter installation and i need to reinstall it.

For now the fix is to add in the readme to disable proxy usage while upgrading like you suggest.

Will see in next development if it is possible to update with Nexus proxy urls without saving packages binaries in the cache.

@ghost
Copy link
Author

ghost commented Dec 17, 2021

Hello,

I already got this issue. I tried to fix it but it seems that "flutter update" doesn't only call "/flutter_infra_release"... In my case it broke my flutter installation and i need to reinstall it.

For now the fix is to add in the readme to disable proxy usage while upgrading like you suggest.

Will see in next development if it is possible to update with Nexus proxy urls without saving packages binaries in the cache.

Thanks for your feedback !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant