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

CristianM92
Hi, I’m working on an app who make the conversion between decimal degrees and degrees minutes seconds. I have to make an “Export” button ...
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
mfaamir
Dear Sir, I am a beginner in Android App development and I am currently trying to establish a connection between my Android Studio Java ...
New
tunelabguy
I have an expensive app ($160) in the Play Store that I would like to update. I would like to do a beta test of the update with potentia...
New
freerefills
I have an android app whereby notifications will fire and immediately leave the tray. This doesn’t always happen, it’s unpredictable they...
New
faust
Honest question, do companies still use Java for their new android apps? I thought everybody was using Kotlin these days.
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
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
skysnap
Helo, I’m using doubleviewpager in my project: Is there something similar that works with android x?
New

Other popular topics Top

AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New