{"id":997,"date":"2015-12-16T15:31:06","date_gmt":"2015-12-16T15:31:06","guid":{"rendered":"http:\/\/www.myfatblog.co.uk\/?p=997"},"modified":"2015-12-16T15:38:48","modified_gmt":"2015-12-16T15:38:48","slug":"sharepointoutbound-hybrid-search-and-web-proxies","status":"publish","type":"post","link":"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/","title":{"rendered":"SharePoint&ndash;Outbound Hybrid Search and web proxies"},"content":{"rendered":"<p>I\u2019m currently working with a client to implement hybrid search between their on-premises environment and Office 365. This is generally done in two stages, with the outbound (usually the simplest) being done first by following this technet article (<a href=\"https:\/\/technet.microsoft.com\/en-gb\/library\/dn607305.aspx\">https:\/\/technet.microsoft.com\/en-gb\/library\/dn607305.aspx<\/a>)<\/p>\n<p>Unfortunately simple was not the case in this instance and when we went to create the Result Source and test it, we would receive a single Succeeded message (<em>Read the footnote below on this!<\/em>), followed by each successive test failing with the message \u201cNo connection could be made because the target machine actively refused it 104.146.162.51:443\u201d<\/p>\n<p>A quick dns info lookup revealed the IP address to be one of the Office 365 endpoints, so it looked like we were getting to Office 365 ok. As a result I spent a lot of time chasing my tail recreating the certificate exchange between Office 365 and the on-premises environment.<\/p>\n<p>It turns out that this error message was a red herring and the IP was included as a result of a DNS lookup, we weren\u2019t in fact leaving the client environment at all due to the perimeter firewall blocking our requests as it wasn&#8217;t made via the outbound proxies. (I owe a big thank you to Neil Hodgkinson of MS for putting up with my e-mails and helping me get to the bottom of this!)<\/p>\n<p>At this point, we had two choices, either a firewall change to permit direct access out from the SharePoint server hosting the Query role, or configuring the proxy server for the Search service to use.<\/p>\n<p>It should be noted that the Farm Search configuration page includes a proxy configuration option for Crawling and Federated searches, this option has NO EFFECT on federated searches and is there for backwards compatibility only with the old federated search web parts.<br \/>\nInstead, you must set the proxy in a windows command prompt using NETSH.<\/p>\n<pre>NETSH \r\n WINHTTP \r\n SET PROXY \"PROXYSERVER:PORT\"<\/pre>\n<p>This should be done on all servers that host the query role.<\/p>\n<p>Once this was done, we were able to test the result source and receive &#8220;Suceeded&#8221; 3 times in a row..<\/p>\n<blockquote><p><em><strong>Every time you add a result source and then click Test Result Source, you ALWAYS get a success for the first test.. So, make sure you do at least 3 tests with a short space of time between each!<\/strong><\/em><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m currently working with a client to implement hybrid search between their on-premises environment and Office 365. This is generally done in two stages, with the outbound (usually the simplest) being done first by following this technet article (https:\/\/technet.microsoft.com\/en-gb\/library\/dn607305.aspx) Unfortunately simple was not the case in this instance and when we went to create the &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[206,51,23,16,70,139],"tags":[207,178,198,208],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict\" \/>\n<meta property=\"og:description\" content=\"I\u2019m currently working with a client to implement hybrid search between their on-premises environment and Office 365. This is generally done in two stages, with the outbound (usually the simplest) being done first by following this technet article (https:\/\/technet.microsoft.com\/en-gb\/library\/dn607305.aspx) Unfortunately simple was not the case in this instance and when we went to create the &hellip; Continue reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of an overweight SharePoint addict\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-16T15:31:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-12-16T15:38:48+00:00\" \/>\n<meta name=\"author\" content=\"Cimares\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cimares\" \/>\n<meta name=\"twitter:site\" content=\"@cimares\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cimares\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\",\"name\":\"SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict\",\"isPartOf\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\"},\"datePublished\":\"2015-12-16T15:31:06+00:00\",\"dateModified\":\"2015-12-16T15:38:48+00:00\",\"author\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\",\"url\":\"http:\/\/www.myfatblog.co.uk\/\",\"name\":\"Blog of an overweight SharePoint addict\",\"description\":\"The rantings of a (not so) food obsessed IT consultant!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\",\"name\":\"Cimares\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"caption\":\"Cimares\"},\"sameAs\":[\"http:\/\/www.myfatblog.co.uk\"],\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict","og_description":"I\u2019m currently working with a client to implement hybrid search between their on-premises environment and Office 365. This is generally done in two stages, with the outbound (usually the simplest) being done first by following this technet article (https:\/\/technet.microsoft.com\/en-gb\/library\/dn607305.aspx) Unfortunately simple was not the case in this instance and when we went to create the &hellip; Continue reading","og_url":"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/","og_site_name":"Blog of an overweight SharePoint addict","article_published_time":"2015-12-16T15:31:06+00:00","article_modified_time":"2015-12-16T15:38:48+00:00","author":"Cimares","twitter_card":"summary_large_image","twitter_creator":"@cimares","twitter_site":"@cimares","twitter_misc":{"Written by":"Cimares","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/","url":"http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/","name":"SharePoint&ndash;Outbound Hybrid Search and web proxies - Blog of an overweight SharePoint addict","isPartOf":{"@id":"http:\/\/www.myfatblog.co.uk\/#website"},"datePublished":"2015-12-16T15:31:06+00:00","dateModified":"2015-12-16T15:38:48+00:00","author":{"@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.myfatblog.co.uk\/index.php\/2015\/12\/sharepointoutbound-hybrid-search-and-web-proxies\/"]}]},{"@type":"WebSite","@id":"http:\/\/www.myfatblog.co.uk\/#website","url":"http:\/\/www.myfatblog.co.uk\/","name":"Blog of an overweight SharePoint addict","description":"The rantings of a (not so) food obsessed IT consultant!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6","name":"Cimares","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","caption":"Cimares"},"sameAs":["http:\/\/www.myfatblog.co.uk"],"url":"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/"}]}},"_links":{"self":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/997"}],"collection":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=997"}],"version-history":[{"count":5,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"predecessor-version":[{"id":1002,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/997\/revisions\/1002"}],"wp:attachment":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}