On Thu, May 30, 2024 at 10:05 PM Willy Manga <wil...@manbene.net> wrote:

> Hi,
>
> I want to be sure I am not missing anything and it is a network issue on
> my side.
>
> I want to build guacamole-client . Here is my environment:
> - maven 3.6.3-5 (running on debian 11)
> - IPv6-only with a NAT64 gateway in the network.
>
> Question: do I need specific packages in addition to maven?
> Here is the error [1]
>
> The most obvious error I see is the transfer failed from
> repo.maven.apache.org but I don't understand why. I was able to retrieve
> manually build-helper-maven-plugin-3.2.0.pom using wget.
>
> Any help appreciated.
>
> 1. http://paste.debian.net/1318665/
>
>
Yeah, the root of the error is here:

Caused by: java.net.SocketException: Network is unreachable (connect failed)
    at java.net.PlainSocketImpl.socketConnect (Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect
(AbstractPlainSocketImpl.java:412)
    at java.net.AbstractPlainSocketImpl.connectToAddress
(AbstractPlainSocketImpl.java:255)
    at java.net.AbstractPlainSocketImpl.connect
(AbstractPlainSocketImpl.java:237)
    at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392)
    at java.net.Socket.connect (Socket.java:609)

So, the Maven utility is unable to connect to the host repo.maven.apache.org
via HTTPS to retrieve the artifacts. This is nothing specific to Guacamole,
this is some issue with Maven and your network setup. I suspect it has
something to do with the IPv6 + NAT64 configuration and perhaps some Java
incompatibility with that, but I don't know that or sure - you might want
to look around the Maven website and see if it has any information on this
particular error or on IPv6-only configurations.

-Nick

Reply via email to