And one more hint: See https://bugs.openjdk.org/browse/JDK-8311547 and read about java.net.preferIPv6Addresses Java system property...
Also, try to invoke Maven as: MAVEN_OPTS="-Djava.net.preferIPv6Addresses=true" mvn package -X (to pass to JVM to prefer IPv6 addresses) Thanks T On Fri, May 31, 2024 at 3:02 PM Tamás Cservenák <ta...@cservenak.net> wrote: > Howdy, > > Unsure why, but: > - you use Maven 3.6.3 while the latest (bugfix) release is 3.9.7. A LOT > (especially transfer) related bugs were fixed down the road since 3.6.3. > - due 3.6.3 you use (probably old) Wagon transfer, that on the other hand > relies on (probably old) Apache HttpClient > - still, it seems Java TCP stack have issues to use your network as stated > in cause "java.net.SocketException: Network is unreachable (connect failed)" > - you should verify is Java capable at all to use your network, as if it > cannot, Maven hardly can help here. > > Google for Java and IPv6 as there are a lot of SO and other hits that > showcases how to figure out (using Java simple code snippets) what may be > the problem. > > Thanks > T > > On Fri, May 31, 2024 at 2:37 PM Willy Manga <wil...@manbene.net> wrote: > >> Hi, >> >> >> I want to build guacamole-client as explained in the mainstream >> repository[0] but the transfer failed as you can see here[1]. >> >> My environment: >> - maven 3.6.3-5 (running on debian 11) >> - IPv6-only with a NAT64 gateway in the network. >> >> >> Someone in the guacamole user mailing-list suggested it might be an >> issue with how either my network is setup or "some java incompatibilty" >> [2] . >> >> I don't see on my side what can be wrong with the network. I was able to >> retrieve manually build-helper-maven-plugin-3.2.0.pom using wget. But I >> don't know if during the execution of 'mvn package' something is pulling >> resource from a hard-coded address. If that's the case it can explained >> the failure. >> >> Any guidance appreciated. >> >> Thanks. >> >> >> 0. https://github.com/apache/guacamole-client >> >> 1. http://paste.debian.net/1318665/ >> >> 2. https://lists.apache.org/thread/xh31qjn3fwv7llz3dtc31n0d5pks5jms >> >> >> -- >> Willy Manga >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >>