Page 1 of 1

[Resolved] Log warning about "failed to resolve local IP..."

PostPosted: Wed Sep 12, 2018 12:47 pm
by slycurgus

I've got Subsonic running on a DigitalOcean droplet (so not behind a router or anything). It seems to be running happily enough - I can access it fine, music plays - but at intervals of one minute my log file is filling up with "WARN Util Failed to resolve local IP address."

The host is running Debian 9.5, and I can see the machine's public IP listed if I issue an
Code: Select all
ip address show
in the console.

Any ideas how I can get Subsonic to see the local IP and stop filling the log unnecessarily?

Thanks in advance.

Re: Log warning about "failed to resolve local IP address"

PostPosted: Wed Oct 03, 2018 12:06 pm
by slycurgus
As an update I seem to have solved this by adding the domain name as an entry to /etc/hosts (e.g. where the site is "domain.tld", i added an entry for "domain" against the same line that already had "localhost").