[
https://issues.apache.org/jira/browse/SOLR-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated SOLR-400:
---------------------------------
Description:
The SolrExceptionTest fails on Mac OS X (10.4 and 10.5) due to the line:
assertTrue(UnknownHostException.class == sse.getRootCause().getClass());
The issue is the root cause is:
java.lang.Exception: really needs to be a response or result. not:html
The exception being thrown is from XMLResponseParser line107.
The problem is due to the fact that I am using OpenDNS (http://opendns.com/) as
my DNS server. It returns an HTML error page on malformed URL requests, thus,
even though http://333.333.333.333:8080 is not a valid address, OpenDNS
forwards the request to a help screen that gives alternate information
Not really sure there is a fix for this, except to make it localhost with some
port that is more than likely not going to be used to server anything, but I am
noting it here in case anyone else runs across this issue. If changing to
localhost, then the type of exception needs to be different, since the error is
not an UnknownHostException
was:
The SolrExceptionTest fails on Mac OS X (10.4 and 10.5) due to the line:
assertTrue(UnknownHostException.class == sse.getRootCause().getClass());
The issue is the root cause is:
java.lang.Exception: really needs to be a response or result. not:html
The exception being thrown is from XMLResponseParser line107.
The problem is due to the fact that I am using OpenDNS (http://opendns.com/) as
my DNS server. It returns an HTML error page on malformed URL requests, thus,
even though http://333.333.333.333:8080 is not a valid address, their DNS
causes problems.
Not really sure there is a fix for this, except to make it localhost with some
port that is more than likely not going to be used to server anything, but I am
noting it here in case anyone else runs across this issue.
> SolrExceptionTest fails when using OpenDNS
> ------------------------------------------
>
> Key: SOLR-400
> URL: https://issues.apache.org/jira/browse/SOLR-400
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Environment: OS X 10.5, JDK 1.5.x, opendns.com as DNS server
> Reporter: Grant Ingersoll
> Priority: Minor
>
> The SolrExceptionTest fails on Mac OS X (10.4 and 10.5) due to the line:
> assertTrue(UnknownHostException.class == sse.getRootCause().getClass());
> The issue is the root cause is:
> java.lang.Exception: really needs to be a response or result. not:html
> The exception being thrown is from XMLResponseParser line107.
> The problem is due to the fact that I am using OpenDNS (http://opendns.com/)
> as my DNS server. It returns an HTML error page on malformed URL requests,
> thus, even though http://333.333.333.333:8080 is not a valid address, OpenDNS
> forwards the request to a help screen that gives alternate information
> Not really sure there is a fix for this, except to make it localhost with
> some port that is more than likely not going to be used to server anything,
> but I am noting it here in case anyone else runs across this issue. If
> changing to localhost, then the type of exception needs to be different,
> since the error is not an UnknownHostException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.