Smart search index Error 429

Gleb Itenberg asked on December 10, 2018 09:41

I'm using partly customized search index. I'v created a handler for event GetContent_Execute and there I call my method that adds custom fields to Index. For getting content I'm using SearchCrawler().DownloadHtmlContent() method. Now, after calling this method I get exception from IIS "The remote server returned an error: (429) Too Many Requests." What could I do to avoid this error?

Recent Answers

David te Kloese answered on December 10, 2018 10:29

This is probably because you're doing an actual web request and it's some kind of ddos protection. It is response from the web server. Not sure you can add a pause between requests using something like System.Threading.Thread.Sleep(5000);.

Not sure it conflicts with you calls, but can you check your settings for Flood protection?

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.