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

Need help? Post your questions here.

Moderator: moderators

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

Postby slycurgus » Wed Sep 12, 2018 12:47 pm

Hi,

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.
Last edited by slycurgus on Wed Oct 03, 2018 12:07 pm, edited 1 time in total.
slycurgus
 
Posts: 6
Joined: Thu Nov 01, 2012 6:11 am

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

Postby slycurgus » Wed Oct 03, 2018 12:06 pm

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").
slycurgus
 
Posts: 6
Joined: Thu Nov 01, 2012 6:11 am


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests