Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14 - strange "unknown host" error #14

Open
joshsh opened this issue Apr 8, 2011 · 0 comments
Open

14 - strange "unknown host" error #14

joshsh opened this issue Apr 8, 2011 · 0 comments

Comments

@joshsh
Copy link
Owner

joshsh commented Apr 8, 2011

Occasionally, an attempt to dereference an HTTP URI will fail for what
appears to be the wrong reason.  For example, the
<http://www.sw-app.org/foaf/mic.rdf#mic> points to an RDF/XML document
which is served as text/xml (which is not accepted by LinkedDataSail), but
in at least one instance, the dereferencer failed not with a BadMediaType
error, but with an UnknownHostException at the HTTP client level.  That's
strange because the host in question definitely does exist.  I noticed this
 error repeatedly with different hosts which do in fact exist.

2008-04-24 11:57:08,210 [Thread-10] INFO WebClosure - Dereferencing URI
<http://www.sw-app.org/foaf/mic.rdf#mic>
2008-04-24 11:57:54,885 [Thread-10] ERROR RippleException -
java.net.UnknownHostException: www.sw-app.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:430)
        at java.net.Socket.connect(Socket.java:520)
        at java.net.Socket.connect(Socket.java:470)
        at java.net.Socket.<init>(Socket.java:367)
        at java.net.Socket.<init>(Socket.java:240)
        at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
        at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
        at
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
        at java.lang.Thread.run(Thread.java:613)


Original link: http://code.google.com/p/ripple/issues/detail?id=14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant