no IPv6 for golang proxy ?

497 views
Skip to first unread message

Sebastien Binet

unread,
Feb 12, 2023, 4:12:26 AM2/12/23
to golang-nuts
hi there,

since a couple of weeks now, it seems I can't go-get update my
dependencies through the $GOPROXY:

$> go get -u -v
go: giou...@v0.0.0-20230118222818-e0cf570339bd: Get "https://proxy.golang.org/gioui.org/@v/v0.0.0-20230118222818-e0cf570339bd.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [my-ipv6]:40026->[::1]:53: i/o timeout

is it just me ?

(I am on "go1.21-261fe25c83" with ArchLinux)

-s

Björn Graf

unread,
Feb 12, 2023, 4:39:13 AM2/12/23
to Sebastien Binet, golang-nuts
Hej,

Seems to be fine here:

$ host proxy.golang.org
proxy.golang.org has address 142.251.209.145
proxy.golang.org has IPv6 address 2a00:1450:4005:802::2011

And that pretty much sums up all my knowledge of DNS :)

Cheers
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CQGGVA7CFPA2.2J0TVW4281OX9%40zoidberg.

Sebastien Binet

unread,
Feb 19, 2023, 2:47:54 PM2/19/23
to Björn Graf, golang-nuts
Hi Björn,

On Sun Feb 12, 2023 at 10:38 CET, Björn Graf wrote:
> Hej,
>
> Seems to be fine here:
>
> $ host proxy.golang.org
> proxy.golang.org has address 142.251.209.145
> proxy.golang.org has IPv6 address 2a00:1450:4005:802::2011
>
> And that pretty much sums up all my knowledge of DNS :)

it was sufficient to point me to the correct direction.
ping and traceroute did work.
host didn't.

that sent me to some funny business with systemd-resolved.
I had to:
$> ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
$> systemctl restart systemd-resolved.service

now "go get -u -v xyz@latest" does work.

thanks a lot!
-s
Reply all
Reply to author
Forward
0 new messages