osm_flutter icon indicating copy to clipboard operation
osm_flutter copied to clipboard

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

Open DiFo89 opened this issue 10 months ago • 2 comments

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

DiFo89 avatar Apr 01 '24 13:04 DiFo89