Mar 20 2017 06:09 AM
We have configured a new cloud ssa in our SharePoint 2013 farm and have successfully crawled on-prem content. We are able to search for on-prem content in SPO but haven't been able to search in this site from on-prem. We have configured a remote result source pointing to our SPO tenant and set this as default but get errors when we search from on-prem.
We had to configure the mssearch (crawl component) to use a proxy server to send the crawled content to Azure, and we assume we need to configure a proxy setting for the query component as well. Currently we get errors when searching the remote result source (in SPO). We can see in the ULS that this is caused by connectivity issues when trying to connect to a Microsoft owned IP-address.
I can't find any documentation or blogs on using proxy servers with the query componentand are really looking for any guidence.
Mar 20 2017 06:16 AM
Here is a tool to help you troubleshoot https://gallery.technet.microsoft.com/SRx-Core-SharePoint-Search-d60113e9
Mar 20 2017 06:36 AM
How did you configure the proxy server for the crawl process?
Can you specify the exact errors you are getting during the crawl?
I've had some success changing the machine.config file so all .NET related processes are using the same proxy server. A good example can be found at:
http://www.sharepointrelated.com/2015/12/11/cloud-hybrid-search-proxy-settings/
Mar 20 2017 06:46 AM
Hi Thomas, we don't have any issues with the crawling. But to answer your question, we added our proxy settings to the mssearch.exe.config. We didn't change system proxy in any way, just the config of the process where we needed this. But crawling with proxies, we have resolved :)
Now, our query components run on other servers than the crawl component, and we have tried setting system proxy with "netsh winhttp set proxy" and by modifying the "NodeRunner.exe.config" with no success.
We have opened a premier ticket with microsoft as well, but trying here as well to improve our odds :)
Mar 20 2017 07:00 AM
SolutionSo did you try changing the proxy in the machine.config file on the query server(s) as in my referenced article? You need a reboot of the query server(s) after you change it btw.
Mar 20 2017 07:06 AM
I'm not sure if we have tried that. We'll try it out, and I'll report back.
Mar 21 2017 12:24 AM
Hi Thomas,
we have confirmed that putting our proxy settings in the machine.config, changing the registry followed by a restart, solved our problem. I don't have the details about the registry changes, that was suggested by Microsoft Premier Support.
Mar 20 2017 07:00 AM
SolutionSo did you try changing the proxy in the machine.config file on the query server(s) as in my referenced article? You need a reboot of the query server(s) after you change it btw.