London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Have you tried changing serviceUrl to use https in your episerver.find configuration section?
I would try configuring Fiddler on webserver and checking requests that Find sends to the cluster.
The problem was the connection string whish had been set to lowercase when I copied it. After that was fixed everything worked just fine.
After we switched our EPiServer Commerce 10.x site to use SSL, Find have stopped working. From the log:
2017-04-03 16:37:45,291 [1] ERROR EPiServer.Find.Commerce.FindCommerceInitializationModule: Could not apply catalog content conventions.
EPiServer.Find.ServiceException: The remote server returned an error: (401) Unauthorized.
Unauthorized ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Find.Connection.JsonRequest.GetResponseStream()
at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
--- End of inner exception stack trace ---
at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyNestedConventions(NestedConventions nestedConventions)
at EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyConventions(IClientConventions clientConventions)
at EPiServer.Find.Commerce.FindCommerceInitializationModule.Initialize(InitializationEngine context)
EPiServer.Find.ServiceException: The remote server returned an error: (401) Unauthorized.
Unauthorized ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Find.Connection.JsonRequest.GetResponseStream()
at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
--- End of inner exception stack trace ---
at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyNestedConventions(NestedConventions nestedConventions)
at EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyConventions(IClientConventions clientConventions)
at EPiServer.Find.Commerce.FindCommerceInitializationModule.Initialize(InitializationEngine context)
Tested on my local machine (without https) to our test index without problem. Identical code on server.
On the server, when calling https://es-eu-api01.episerver.net/ I get the response:
{"status":200,"message":"Welcome to the EPiServer Find Proxy!"}
So I suppose Find is reachable from the server. Searched the forum and Googled it but could not find a solution.