You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2007/10/29 17:59:50 UTC
[jira] Created: (SOLR-400) SolrExceptionTest fails when using
OpenDNS
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, 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SOLR-400) SolrExceptionTest fails when using
OpenDNS
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll reassigned SOLR-400:
------------------------------------
Assignee: Grant Ingersoll
> 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
> Assignee: 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.
[jira] Updated: (SOLR-400) SolrExceptionTest fails when using
OpenDNS
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated SOLR-400:
---------------------------------
Attachment: SOLR-400.patch
I think this patch should take care of the OpenDNS case, which has finally annoyed me enough that I wanted it fixed.
Will commit shortly.
> 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
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: SOLR-400.patch
>
>
> 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.
[jira] Resolved: (SOLR-400) SolrExceptionTest fails when using
OpenDNS
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll resolved SOLR-400.
----------------------------------
Resolution: Fixed
Committed revision 648683.
> 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
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: SOLR-400.patch
>
>
> 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.
[jira] Updated: (SOLR-400) SolrExceptionTest fails when using
OpenDNS
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ 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.