- labels: --> documentation
if the host running knobot can not resolve its own hostname(s) i.e. because of local dns errors, knobot can not deliver web sites. you see traces like
Caused by: java.net.UnknownHostException: www.osar.ch
at java.net.InetAddress.getAllByName0(InetAddress.java:1133)
at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
at java.net.InetAddress.getAllByName(InetAddress.java:1061)
at org.waterken.url.dns.Locator.locate(Locator.java:69)
at org.waterken.url.http.Session$Connection.getOutputStream(Session.java:636)
at org.waterken.url.http.Session$Connection.connect(Session.java:285)
at org.wymiwyg.rwcf.tools.redirections.TransparentRedirectionHandler.doRedirect(TransparentRedirectionHandler.java:46)
... 29 more
a quick fix is to put all hosts knobot is serving as local hosts into the /etc/hosts file with ip 127.0.0.1
i think this should be recommended in the installation, if the exceptions can not be avoided.