You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Shawn Heisey (Jira)" <ji...@apache.org> on 2023/05/15 15:15:00 UTC

[jira] [Commented] (SOLR-16802) IO Exception with Solr Could during bulk update

    [ https://issues.apache.org/jira/browse/SOLR-16802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722819#comment-17722819 ] 

Shawn Heisey commented on SOLR-16802:
-------------------------------------

When creating a SOLR issue, there is bright red text right at the top:

*{color:#de350b}This project has a user mailing list and an IRC channel for support. Please ensure that you have discussed your problem using one of those [resources|http://lucene.apache.org/solr/community.html#mailing-lists-irc] BEFORE creating this ticket.{color}*

Does nobody read this?

This a support request, not a bug report.  But even for bug reports, we want to discuss it before an issue is created, to verify that it really is a bug.

When SolrJ returns that error message, it means that the URL endpoint that SolrJ is accessing is invalid.  It's almost always a 404 error when the response is text/html instead of the expected javabin.

The first place to look for support on this is Spring, because the class of the exception is {color:#0747a6}{{org.springframework.data.solr.UncategorizedSolrException}}{color}, not a Solr class.  You are using Spring's repackaging of SolrJ, which does many things differently than plain SolrJ.

Spring may refer you back to the Solr project, but even if they do, Jira is not the correct place for the discussion.

> IO Exception with Solr Could during bulk update
> -----------------------------------------------
>
>                 Key: SOLR-16802
>                 URL: https://issues.apache.org/jira/browse/SOLR-16802
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: clients - java
>    Affects Versions: 7.7.1
>            Reporter: Suvarna
>            Priority: Major
>
> We have a spring boot application which is integrated with Solr cloud 7.7.1. Both the applications deployed in Azure cloud. We are seeing "org.springframework.data.solr.UncategorizedSolrException: IOException occured when talking to server" during Solr repository bulk save operation from springboot application. In the Solr server logs "Expected mime type application/octet-stream but got text/html. <html>". Based on the documentation the above server exception comes when we miss the collection name in URL. But we are seeing this issue only for few records like out of 1800 records 600 records are saving without any issue. Rest of documents are giving this issue. 
> And also, not finding any difference with the succeeded and failed records in case if there is any data issue which is not as per the schema.
>  
> Any inputs will be greatly appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org