Lately I have experienced lot of issues while crawling of SSL enabled web application and wasted almost 2-3 days fixing it. So thought to share the troubleshooting steps on my blog.
Issue 1 : Ignore SSL Warnings
.\SecureFASTSearchConnector.ps1 –certPath FASTSearchCert.pfx –ssaName “FAST Connector” –username "domain/username"
Note : The FASTSearchCert.pfx is created when you install the FAST on the server. You can locate it under <FASTSEARCH>\Data\Data_Security\cert folder. Also on the execution of the command it will ask for the certificate password, It is the password that you entered while configuring the FAST on the server.
Issue 3 : Collection not created
Issue 4 : Access Denied to the Default Content Access Account
If its not present follow the below steps :
Issue 1 : Ignore SSL Warnings
Error message: An unrecognized HTTP status was received. Check that the address can be accessed using Internet Explorer. (WebExceptionStatus TrustFailure The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
This happens mostly when we implement self signed certs or certs from untrusted authorities in the web servers. In order to avoid the error message and to successfully crawl contents, make the following changes in farm level search settings in Central Administration.
- Go to Application Management > Search Service Application Settings > Farm Search Administration
- Change the setting “Ignore SSL warnings” from No to Yes
Install the certificate using the following command on the Sharepoint Admin ServerThe 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.
.\SecureFASTSearchConnector.ps1 –certPath FASTSearchCert.pfx –ssaName “FAST Connector” –username "domain/username"
Note : The FASTSearchCert.pfx is created when you install the FAST on the server. You can locate it under <FASTSEARCH>\Data\Data_Security\cert folder. Also on the execution of the command it will ask for the certificate password, It is the password that you entered while configuring the FAST on the server.
Issue 3 : Collection not created
This happens when collection specified the SSA is not present in the FAST database. To check if your collection exist you can execute the following command on the FAST server.Failed to connect to ame.fantasia.qa:13391,ame.fantasia.qa:13391 Failed to create session with content distributor. Unknown collection 'MyCollectionTest'
Get-FASTSearchContentCollection -Name MyCollectionTest
or else you can create a new collection with the following command
New-FASTSearchContentCollection -Name MyCollectionTest
For me it was not present hence gave me an error. For quick fix, i changed the collection name back to sp. Its the default collection and was already present.or else you can create a new collection with the following command
New-FASTSearchContentCollection -Name MyCollectionTest
Issue 4 : Access Denied to the Default Content Access Account
This happens when the content access account does not have "Full Read" permissions on the Sharepoint web application being crawled. You can add a crawl rule to access the repository with specific account.Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.
- Go to New Crawl Rule -> add the Url
- Check the radio button for
- Click Ok and start the crawl.
If its not present follow the below steps :
- Go to command window and type regedit.exe
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right click on LSA and create a new 32bit DWORD value
- Name it as "DisableLoopBackCheck" and modify its value to 1
- Close the registry and crawl the content.
This happens when crawler is not able to connect to the server. Make sure server name is correct. Couple of steps to troubleshoot itThe crawler could not communicated with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error.
- You should be able to ping the server from the server having crawl component. Make sure there is an entry for the server in the host file under c:\Windows\System32\drivers\etc folder.
Ping <servername> - You should be able to connect to the server using telnet command
Telnet <servername> <port number>
I was stuck around this issue since long time.your article was very helpful to get deal with this issue.Great job!!
ReplyDeleteAlso regarding #3, remember that the name of the content collection is case sensitive and must match the default lower case on the FAST server.
ReplyDeleteThank you for this post - it was exactly what I needed to get search working for my customer!
ReplyDeleteIssue 6: failed to initialize component.( FS:13391) unresolved contentdustributor.
ReplyDeleteHi Dhaval, I thank you very much for your great help concerning the Isssue nr. 4. This saved a huge time for me !! Thank you I really appreceate your affort. Have a nice evening. Good bye from Italy :-)
ReplyDeleteHi Dhaval,
ReplyDeleteI am having Issue 5 but i am getting this error only for few site collection sunder the web application remaining site collections search is working fine do you have any clue on this
Thanks in Advance
The SSL Enabled Web Application is the very good stuff for sharepoint Application Development.
ReplyDeleteProfessional and Custom Sharepoint Development Services In India
Great post! I was struggling with Issue 5 for several weeks and couldnt find a resolution. Thanks again!
ReplyDelete