November Happy Hour will be moved to Thursday December 5th.

WebException: Unable to connect to the remote server

Vote:
 

After adding EpiServer Find - We are getting below error. Please help

WebException: Unable to connect to the remote server

at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at EPiServer.Find.Connection.JsonRequest.WriteBody(String body)
at EPiServer.Find.Api.SearchCommand`1.Execute()
at EPiServer.Find.Client.Search[TResult](SearchRequestBody requestBody, Action`1 commandAction)
at EPiServer.Find.Framework.UI.Controllers.IndexOverviewController.Index()
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.b__10()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

#123179
Jun 26, 2015 7:08
Vote:
 

Please make sure that your web server is allowed to access: http://es-api01.episerver.com, http://es-eu-api01.episerver.net or http://es-us-api01.episerver.com depending on your Find region (you can see this in your Find serviceUrl that you have added to your web.config)

/Henrik

#123184
Jun 26, 2015 8:27
Vote:
 

Under your account http://find.episerver.com/MyServices/

Open your Index and double check you are using private URL

Index Name: yourindex

Public URL: http://es-eu-dev-api01.episerver.net/key
Private URL: http://es-eu-dev-api01.episerver.net/key
Regards
/K
#123188
Jun 26, 2015 9:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.