Error

When you debugging your SharePoint Search you might have come across that there is an error in the crawl log in a SharePoint farm.

image

Error message

The URL of the item could not be resolved. The repository might be unavailable, or the crawler proxy settings are not configured. To configure the crawler proxy settings, use Search Administration page

Troubleshooting

This is because your search cannot be resolved to a particular address:

  • most probably your corporate proxy is blocking it
  • domain name resolution is not happening inside the SharePoint crawl

Resolution

The easiest way to resolve the error is:

Clear proxy

First clear any proxy settings you have specified in the search settings.

image

Content Crawling

You can go to the Crawling Proxy settings and make sure you didn't specify the proxy for content crawling.

image

Then go to each server in your farm and add the domain name entry resolution in the HOST file.

C:\Windows\System32\drivers\etc\hosts

image

Now you can run the crawler again and you will see there are no top level errors in your crawl log.