Failed to Update Scene Mappings:: Error: NameResolutionFailure

Not sure if I accidentally did something, but I’ve been seeing this in the logs for the past few days. Any ideas?

System.Net.WebException: Error: NameResolutionFailure
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in :0

More details around whats logged before and after would be helpful. Debug logging would be even more helpful: https://github.com/NzbDrone/NzbDrone/wiki/Log-Files

Running mono with the --debug switch is also important as it give us more details to troubleshoot (mainly line numbers).

In all likeliness the dns was or isn’t working on your machine. it’s also possible you’re starting drone while the computer is still initializing the network.

Hey guys, sorry for the late reply. Today has definitely been a “Monday”! I’m just glad it’s finally over!

I think you’re right Taloth. Thanks for the lead. I had a simple init script set up to start Drone on bootup, and didn’t have any Required-Start options set, and it looks like the issue was that Drone was starting before SABnzbd (or too early anyway).

I have since removed the simple init script and wrote up a more complete upstart script that looks to make sure all the dependencies are running BEFORE starting Drone and that seems to have solved the issue.

Thanks again guys! Only 4 days til the weekend! Lol