Julien Eid created ZEPPELIN-1813:
------------------------------------
Summary: If FQDN Hostnames are broken, Zeppelin Websockets show
disconnected.
Key: ZEPPELIN-1813
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1813
Project: Zeppelin
Issue Type: Bug
Reporter: Julien Eid
Hey everyone, I've seen this issue come up a few times now. If the hostname is
not resolvable of the box hosting Zeppelin, the /ws endpoint 500 errors, so
Zeppelin shows as disconnected in the top right.
https://github.com/apache/zeppelin/pull/235/files#diff-0d6ccf388c8aa67062870388536ed274R36
The code on that line throws an UnknownHostException (
http://stackoverflow.com/a/1881967) as the hostname isn't in /etc/hosts on nor
is the hostname resolvable by DNS. The fastest way to repro this is to pretty
much clear /etc/hosts and only have localhost 127.0.0.1 in there, from what
I've seen.
Is it possible to change this section to catch the exception, and if the
hostname isn't resolvable still attempt the connection?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)