Why would I be getting a socket hang up when trying to create Sharepoint Indexer?

Jamie Owen 25 Reputation points
2023-11-02T15:52:26.29+00:00

I am following this tutorial to create a Sharepoint Indexer: https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online

I am using Postman to send the http requests. The first two requests worked fine, and I managed to create the data source, as well as the Index. However, when I run the final two requests (POST request to create the indexer, followed by the GET request to allow me to login to the application), after I complete the login step the POST requests spins for a while before I get an error saying it could not get a response, and the socket hung up. See image.

Does anyone have any idea why this would happen?

User's image

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
951 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,576 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 25,786 Reputation points Microsoft Employee
    2023-11-03T10:04:15.2466667+00:00

    Thanks for posting this question.

    Edit:
    Updating the comment by Jamie Owen : *" I found that the error was coming from the fact that I was trying to index Sharepoint .aspx site content, which is not supported."

    Ref:* Index data from SharePoint document libraries

    Indexing SharePoint .ASPX site content isn't supported.

    To better assist you on this, just to clarify, is the machine behind a proxy? What Search tier are you leveraging?

     

    Just to highlight, Indexing isn't a background process. A search service will balance indexing and query workloads, but if query latency is too high, you can either add capacity or identify periods of low query activity for loading an index.

    As mentioned the doc,  if you don’t run the Get Indexer Status within 10 minutes the code will expire and you’ll need to recreate the data source.

    As an example (for Azure SQL) pointer, the default value of queryTimeout indexer configuration setting is 5-minute.

    Ref:

    --search-indexer-troubleshooting : This article covers problems and potential resolutions when indexer results are unexpected and there is limited information to go on.
    --To fetch more insights, review :#enable-resource-logging

    Kindly let us know, I'll follow-up with you further.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.