org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /solr/select. Reason: <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via XWiki.org JIRA by Alain Najjar, 1 year ago
Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /solr/select. Reason: <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>
via nutch-dev by Furkan KAMACI (JIRA), 6 months ago
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://10.192.1.100:8080/solr/myEnterpriseCollection_shard2_replica2, http://10.192.1.101:8080/solr/myEnterpriseCollection_shard1_replica2, http://10.192.1.103:8080/solr/myEnterpriseCollection_shard2_replica1]
via Stack Overflow by Nandan Priyadarshi
, 1 year ago
Expected mime type application/octet-stream but got text/html. <html><head><title>Apache Tomcat/6.0.45 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font
via Stack Overflow by Bradley Hardy
, 2 years ago
Plugin Initializing failure for [schema.xml] fieldType. Schema file is solr/conf/schema.xml
via Sakai JIRA by Carlos Alonso, 1 year ago
org.apache.solr.search.SyntaxError: Cannot parse ' AND NOT(ip : 198.3.103) NOT(ip: 199.172.148.105) NOT(ip: 204.62.245) NOT(ip: 199.172.157.28)': Encountered " <AND> "AND "" at line 1, column 1. Was expecting one of: <NOT
via Sakai JIRA by Carlos Alonso, 1 year ago
org.apache.solr.search.SyntaxError: Cannot parse ' AND NOT(ip : 198.3.103) NOT(ip: 199.172.148.105) NOT(ip: 204.62.245) NOT(ip: 199.172.157.28)': Encountered " <AND> "AND "" at line 1, column 1. Was expecting one of: <NOT
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /solr/select. Reason: <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.xwiki.search.solr.internal.AbstractSolrInstance.query(AbstractSolrInstance.java:117)
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.getResults(SolrDocumentIterator.java:128)
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.hasNext(SolrDocumentIterator.java:91)
at org.xwiki.search.solr.internal.job.DiffDocumentIterator.hasNext(DiffDocumentIterator.java:107)
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:110)
at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:94)
at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.