Typical Epi site on the DXP. Have not been able to reproduce locally.
There is a scheduled job that pulls data from an external API using HttpClient and then indexes through Find-client.
Sometimes the job logs this sort of merged into the Execute result string:
The remote server returned an error: (502) Bad Gateway.
I see the Application Insights key from the script in the "embedded" error page and it comes from the application that holds the job.
Anyone been digging around similar thing and found something?
In my case we were indexing through our own job so we could add logging to see which object was failing. We had a really large set of items in a List<x>-property on that one.
We couldn't change it easily so one solution was to only have one language configured on the Find service side.
When this site had been setup someone had ordered many languages (never going to be used) and each language extends the time it takes to index.
Thanks for your suggestion Johan. I think we are facing to the large object in the document item as well. Your idea is so worth with me. Thanks again.