org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/xml but got text/html

Stack Overflow | Woooooooo | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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
  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 | 1 year 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 | 11 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

    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 | 2 years 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>
  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/xml but got text/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)
      2. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
      3. org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
      4. org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
      5. org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
      5 frames
    3. pack
      SearchServlet.service
      1. pack.SearchServlet.service(SearchServlet.java:55)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    6. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
      10 frames
    8. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
      5 frames
    9. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    10. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame