Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <>
To: "Michael Ströder" <>
Subject: [Galene] Re: log message: failed to resolve stun host
Date: Fri, 08 Jan 2021 19:36:39 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

> failed to resolve stun host: address
> no suitable address found

Interesting.  Could you please recompile with

  CGO_ENABLED=1 go build -ldflags='-s -w'

and see if the issue goes away?

Explanation: the go stdlib has two DNS resolvers, one written in Go and
one that calls the one libc.  If you compile with CGO_ENABLED=0 (which is
the default when cross-compiling), you get a static binary, and the Go
resolver is used unconditionally.  If you compile with CGO_ENABLED=1, then
the binary is linked against libc, and the native resolver is called.

-- Juliusz

  reply	other threads:[~2021-01-08 18:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 18:22 [Galene] " Michael Ströder
2021-01-08 18:36 ` Juliusz Chroboczek [this message]
2021-01-08 21:05   ` [Galene] " Michael Ströder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='[Galene] Re: log message: failed to resolve stun host' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox