sabibo

sabibo

gradle cannot download from a machine using IPv6

We recently switched some machines to a network that uses ipV6. Those machines are now unable to package our Unreal game for Android, due to gradle not being able to download as part of its build process. I’ve found a few references to this problem online. The most promising was the workaround described here:
https://github.com/gradle/gradle/issues/28642#issuecomment-2284849067

Namely, “Replace distributionUrl in wrapper/gradle-wrapper.properties.”

I tried https://gh-v6.com/gradle/gradle-distributions/releases/download/v6.1.1/gradle-6.1.1-all.zip
This file will download directly from a browser on the machine, but it fails when gradle tries to download it:
Has anyone run into this and solved it? I don’t know much about ipV6 or how to go about fixing this issue.

Thanks!

ubt> Exception in thread "main" java.net.SocketException: Network is unreachable: connect
ubt> 	at java.base/java.net.PlainSocketImpl.connect0(Native Method)
ubt> 	at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
ubt> 	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
ubt> 	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
ubt> 	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
ubt> 	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
ubt> 	at java.base/java.net.Socket.connect(Socket.java:609)

Where Next?

Popular Android topics Top

Exadra37
I am in the process of research for my next technical blog about bypassing certificate pinning with Frida, thus I need to find some open ...
New
big_f
I am making an app with Nativescript-vue and I would like to have an event where I click on an icon and then a new box appears. For the i...
New
Joakins
Android studio displayed access is denied during gradle build C:\Program Files\Java\jdk1.8.0_251\native\68d5fa5c4cc2d200863cafc0d521ce42...
New
Apoorv
I have made my version of browser on android platform.I have used chromium as base. I have build it successfully & but the logo or i...
New
DAZ
Is it possible to develop an application that will generate NFC pulses even when the screen is off?
New
JesperBlom
Hi Hope it is a simple question :slight_smile: I am planning to use a new PC for making my enterprise app. Everything works perfect, b...
New
sabibo
We recently switched some machines to a network that uses ipV6. Those machines are now unable to package our Unreal game for Android, du...
New
Creator
Could you please help me to find the problem why startScan function is not executed. By debugging after @RequiresBluetoothLocationPermiss...
New
hasan10242048
There is an Android app. I just want to create two GRAPHS with CPU Runtime and Battery Consumption. It is as simple as this. I tried w...
New
Sadik
I’ve been hearing a lot about AI in mobile phones lately, and I’m kind of confused about how it’s different from the usual smart features...
New

Other popular topics Top

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
axelson
I’ve been really enjoying obsidian.md: It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
New
New