fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

unable to add location - The remote name could not be resolved: 'query.yahooapis.com' #143

Open CanuckChuck opened 4 years ago

CanuckChuck commented 4 years ago

I am attempting to test this product for use in our company and I cannot get past adding a location. I am getting the following error:

Source Location/Create
Message The remote name could not be resolved: 'query.yahooapis.com'
Stack trace at DisplayMonkey.Controllers.LocationController.GetDefaultWoeid(Nullable1 latitude, Nullable1 longitude) at DisplayMonkey.Controllers.LocationController.Create(Location location) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass11_0.b0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass11_2.b2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.b4() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass3_1.<BeginInvok
tellzey1 commented 4 years ago

It looks like you get this error when then query.yahooapis.com service is down or unreachable. I found as a workaround, you can leave the latitude and longitude blank in creating a new location. Next, go back and edit the location and you can add Lat and Long, but you also need to add an Woeid number.

I found Woeid's for most major cities here: https://gist.github.com/lukemelia/353493 Hope this helps.