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

When downloading a package, it cannot download a file from my ip address #515

Open
DiFo89 opened this issue Apr 1, 2024 · 2 comments
Open

Comments

@DiFo89
Copy link

DiFo89 commented Apr 1, 2024

I live in Russia and have the appropriate IP address. I've been puzzling over the error for a long time during the project build:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.github.MKergall:osmbonuspack:6.9.0.
     Required by:
         project :app > project :flutter_osm_plugin
      > Could not resolve com.github.MKergall:osmbonuspack:6.9.0.
         > Could not get resource 'https://jitpack.io/com/github/MKergall/osmbonuspack/6.9.0/osmbonuspack-6.9.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/MKergall/osmbonuspack/6.9.0/osmbonuspack-6.9.0.pom'.
               > Connect to jitpack.io:443 [jitpack.io/188.114.98.234, jitpack.io/188.114.99.234] failed: Read timed out

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 10s

I disabled the Firewall on Windows, but eventually the transition to the Amsterdam IP address helped.

I started testing, and realized that the file is at "https://jitpack.io/com/github/MKergall/osmbonuspack/6.9.0/osmbonuspack-6.9.0.pom " it is not visible from my native IP.

Flutter doctor shows no errors

@liodali
Copy link
Owner

liodali commented Apr 2, 2024

Hi
In general i dont own that part its part of osmbonus package in android and we used for drawing roads but in the near future i will replace it with dart API since we already create package that purpose
so we will not need it and thnx for your report

@DiFo89
Copy link
Author

DiFo89 commented Apr 11, 2024

Hi In general i dont own that part its part of osmbonus package in android and we used for drawing roads but in the near future i will replace it with dart API since we already create package that purpose so we will not need it and thnx for your report

Thank you for your reply, I look forward to your improvements.

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

No branches or pull requests

2 participants