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
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
tauseeqafzal
Question: Android Developer → is there any way to read the .trash directory? → we can copy or save the file before delete ? #android...
New
Shadow
Good afternoon. Brief story: My institution has several nfc tags in building which have to be scanned with specific app built and used in...
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
Briannamari
Old android photo name sequence Help decoding file names Example. I want to see if a file name aligns with a time / date in which the p...
New
Creator
Could you please help me to find the problem why startScan function is not executed. By debugging after @RequiresBluetoothLocationPermiss...
New
Dysentery
I am trying to implement the PIN entry page using device’s TEE. I have acquired the confidential OEM Documentation. It have some C++ code...
New
Devraj5032
I’m using TensorFlow Lite (TFLite) with React Native Expo. When I test the app using the Expo Go app, everything works fine. However, whe...
New

Other popular topics Top

Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
New
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
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
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
PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New