Jump to content

"Could not resolve host" error in web interface


Recommended Posts

Running version 3.0.5518.3 and whenever I go into the web interface I get the following error in the middle of the screen: "Could not resolve host 'MacPro'."  It goes away after a couple seconds until I go to another screen.  Aside from being an irritant that appears every time I click to a new screen in the web interface, it doesn't seem to affect actual function.  'MacPro' is my local hostname and I can access the web interface just fine using whatever address I like -- MacPro.local,, localhost, the IP address, etc.  If I use 'scutil' at the CLI to check the various flavors of the computer/host name, they all return MacPro:

XXXXXX$ sudo scutil --get ComputerName
XXXXXX$ sudo scutil --get LocalHostName
XXXXXX$ sudo scutil --get HostName

A sample entry from the log is below.  Any thoughts?

2015-02-18 16:36:28.6268 Error - Connect: Error registering with Connect
	*** Error Report ***
	Version: 3.0.5518.3
	Command line: /Applications/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix
	Processor count: 12
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/XXXXXXX/.config/mediabrowser-server
	Mono: 3.10.0 ((detached/d1a1ea3)
	Application Path: /Applications/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
	Could not resolve host 'MacPro'
	  at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in <filename unknown>:0 
	  at System.Net.Dns.hostent_to_IPHostEntry (System.String originalHostName, System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <filename unknown>:0 
	  at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <filename unknown>:0 
	  at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.Networking.BaseNetworkManager.GetLocalIpAddressesFallback () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.Networking.BaseNetworkManager.GetLocalIpAddressesInternal () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.Networking.BaseNetworkManager.GetLocalIpAddresses () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Mac.NetworkManager.MediaBrowser.Common.Net.INetworkManager.GetLocalIpAddresses () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost.get_HttpServerIpAddresses () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost.get_LocalIpAddress () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost.get_LocalApiUrl () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Connect.ConnectManager+<UpdateConnectInfoInternal>c__async1.MoveNext () [0x00000] in <filename unknown>:0 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...