On Mon, Oct 09, 2017 at 03:37:00PM +0200, Neels Hofmeyr wrote:
> > >> <0021> socket.c:258 unable to connect socket: (null):2905: Connection
> > >> refused
>
> > and (null):2905 indicates that no host has been configured. ;)
>
> Which is a bit weird, because 127.0.0.1 should be the default...
About that (null), it comes up due to interna of osmo_sock_init2(). The
remote_host == NULL is passed to getaddrinfo(node) to yield the loopback
interface, and error reporting does not bother to replace that NULL.
~N