-
Notifications
You must be signed in to change notification settings - Fork 90
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
Dependency error during mobile local development #2113
Comments
@siepra any ideas? |
As the logs states: maven throws HTTP 403 when trying to download the dependency from |
@siepra Sure. |
Hey @siepra, I tried merging the latest Any ideas? |
@rajdip-b siepra will be back online on Monday CEST. Thanks for pushing on this! |
@rajdip-b You got "failed: connect timed out" when trying to fetch the dependency from Maven repo. Make sure your internet connection is solid and the Maven repo is not down. Maybe wait a while and then try again. When it comes to the android-specific log output, the very error message appears somewhere around the middle of the console window, just above the:
@holmesworcester I replaced the "bug" label with "support". I don't think there's a bug anywhere in our codebase nor README and it's rather a matter of providing help with setting up. |
Hmm.. Don't think that my internet caused an issue. Anyways I'll double check and also run with the stacktrace flag set. |
@rajdip-b I've just checked by cleaning my gradle cache and building the project and it worked fine with the dependencies from Running with If any of the above didn't work, the only thing to do I see is to reach to the guardianproject and ask for their support. |
@siepra our goal is that the instructions in the README always work deterministically and we should take full responsibility for that once we know some step in the process is flakey. What are our options here if this repo is flakey?
@rajdip-b please let us know when you have ruled out any problems on your end. Thanks for putting in the effort here, and if you get stuck perhaps you could stick with desktop tickets until we sort it out? |
I tried again, seems like the issue is with the dependency URL since my internet works fine. One more thing I would like to point out is, it takes nearly 15 minutes to get the environment up and running. |
Okay, so two things: First, see this issue about how India may have been blocking Someone in that issue recommends Proton VPN as a solution, which is free. It also looks like the block has been lifted and will roll out soon. This is truly unbelievable. In a past life I was actually a big part of the effort in the US in 2011/2012 to stop ISP-level censorship like this from going into effect in the US. Good thing we did! Second, I get a 404 when trying to access the URL in the error message: "https://raw.githubusercontent.com/guardianproject/gpmaven/master/org/webkit/android-jsc-intl/maven-metadata.xml" so maybe there's some other problem. @siepra does this URL work for you? Should I create an issue in the Guardian Project repo that this is 404'ing? |
My hypothesis is environment setup hasn't been done right and now gradle confuses maven sources while resolving dependencies. @rajdip-b It'd be wonderful if you listed the exact steps you take to run the project. |
Setting up the environment time depends on the person who performs it (installing SDKs, setting envs, etc.). Anyway, I'm glad it didn't discourage you! |
Yeah sorry, my bad. I meant the initial build. But the hardware might not ne the issue, since mostly it was downloading a lot of stuff. |
@rajdip-b does the problem still happen to you? |
The

REAMME.md
inpackages/mobile/
specifies a set of commands to run in order to be able to run the mobile app locally for development However, the process fails due to some dependency issue:Steps to reproduce:
The text was updated successfully, but these errors were encountered: