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>

XWiki.org JIRA | Alain Najjar | 1 year ago
  1. 0

    When loading xwiki with a remote solr instance, the server is full of errors below: 2015-06-26 14:53:01,730 [XWiki Solr index job thread] ERROR x.s.s.i.j.SolrDocumentIterator - Failed to query the Solr index. 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) ~[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46] at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210) ~[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46] at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206) ~[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91) ~[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) ~[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46] at org.xwiki.search.solr.internal.AbstractSolrInstance.query(AbstractSolrInstance.java:117) ~[xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.search.solr.internal.job.SolrDocumentIterator.getResults(SolrDocumentIterator.java:128) [xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.search.solr.internal.job.SolrDocumentIterator.hasNext(SolrDocumentIterator.java:91) [xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.search.solr.internal.job.DiffDocumentIterator.hasNext(DiffDocumentIterator.java:107) [xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:110) [xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:94) [xwiki-platform-search-solr-api-6.4.4.jar:na] at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) [xwiki-commons-job-6.4.4.jar:na] at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) [xwiki-commons-job-6.4.4.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]

    XWiki.org JIRA | 1 year ago | Alain Najjar
    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>
  2. 0

    DSpace Tech Support - Expected mime type application/octet-stream but got text/html error on By Issue Date, Authors, Titles, Subjects,

    nabble.com | 11 months ago
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. <!DOCTYPE html><html><head><title>Apache Tomcat/8.0.22 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 404 - /solr/search/select</h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u>/solr/search/select</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><hr class="line"><h3>Apache Tomcat/8.0.22</h3></body></html>
  3. 0

    dspace-cris solr error org.apache.solr.common.SolrException: undefined field id

    Google Groups | 6 months ago | Unknown author
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html. <!DOCTYPE html><html><head><title>Apache Tomcat/8.0.32 (Ubuntu) - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 403 - </h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource has been forbidden.</u></p><hr class="line"><h3>Apache Tomcat/8.0.32 (Ubuntu)</h3></body></html>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Expected mime type application/xml but got text/html

    Stack Overflow | 2 years ago | Woooooooo
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/xml but got text/html
  6. 0

    Getting exception in Solrj when it unmarshals the javabin response

    Stack Overflow | 3 years ago | Prathik Puthran
    org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Apache Solr Solrj
      SolrServer.query
      1. org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46]
      2. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46]
      3. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46]
      4. org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46]
      5. org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)[solr-solrj-4.10.3.jar:4.10.3 1644336 - mark - 2014-12-10 00:35:46]
      5 frames
    3. org.xwiki.search
      IndexerJob.runInternal
      1. org.xwiki.search.solr.internal.AbstractSolrInstance.query(AbstractSolrInstance.java:117)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      2. org.xwiki.search.solr.internal.job.SolrDocumentIterator.getResults(SolrDocumentIterator.java:128)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      3. org.xwiki.search.solr.internal.job.SolrDocumentIterator.hasNext(SolrDocumentIterator.java:91)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      4. org.xwiki.search.solr.internal.job.DiffDocumentIterator.hasNext(DiffDocumentIterator.java:107)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      5. org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:110)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      6. org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:94)[xwiki-platform-search-solr-api-6.4.4.jar:na]
      6 frames
    4. org.xwiki.job
      AbstractJob.run
      1. org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)[xwiki-commons-job-6.4.4.jar:na]
      2. org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)[xwiki-commons-job-6.4.4.jar:na]
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_75]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_75]
      3. java.lang.Thread.run(Thread.java:745)[na:1.7.0_75]
      3 frames