Hi Ahyoung,

Thanks for this guidance, that’s interesting regarding the browser cache.

I was able to fix this using the idea in this HCC 
post<https://community.hortonworks.com/questions/47007/zeppelin-06-chrome-not-displaying-login-element-wi.html#comment-47104>.
 Once I changed the zeppelin.server.addr value to the hostname to which the 
loopback address points in /etc/hosts, the behavior in Chrome is as expected 
when rendering the page.

I have a tangential question regarding 
https://zeppelin.apache.org/docs/0.6.0/security/shiroauthentication.html (which 
appears very similar to the content in the SECURITY-README.md I cited), it 
doesn’t specify whether the following line should be commented or not with 
authentication enabled:

/api/version = anon

I think it would be clearer for the documentation to specify that one way or 
the other.

Best regards,

Sam Lachterman
Solutions Engineer
slachter...@hortonworks.com
(608) 520-3428
[cid:F318C1FF-02CC-478E-BDCB-7A6EA6FB9833]


From: Ahyoung Ryu <ahyoungry...@gmail.com<mailto:ahyoungry...@gmail.com>>
Reply-To: "users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>" 
<users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>>
Date: Monday, July 25, 2016 at 4:48 PM
To: "users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>" 
<users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>>
Subject: Re: Chrome not displaying Login element with authentication enabled

Hi Sam,

I tried as you said in my local, but can start Zeppelin server with Shiro 
authentication. The Chrome browser screenshot image that you provided seems 
outdated version of Zeppelin UI. Have you run former version of Zeppelin in 
your Chrome browser(i.e. Zeppelin-0.5.6)? It seems like Chrome browser cache or 
something. Zeppelin UI changed in 0.6.0 ver since this 
PR<https://github.com/apache/zeppelin/pull/1013>. Please clean your browser 
cache first. Your Firefox browser shows Zeppelin-0.6.0 UI properly.

Regarding Shiro authentication, could you check whether Zeppelin server started 
well or not with Zeppelin log file under ZEPPELIN_HOME/logs/ dir? And I would 
recommend you to refer this guide 
docs<https://zeppelin.apache.org/docs/0.6.0/security/shiroauthentication.html> 
:)

Thanks,
Ahyoung

2016년 7월 26일 (화) 오전 12:28, Samuel Lachterman 
<slachter...@hortonworks.com<mailto:slachter...@hortonworks.com>>님이 작성:
Hello,

I am using the 0.60 Zeppelin binaries and I have enabled authentication using 
the directions 
here<https://github.com/apache/zeppelin/blob/master/SECURITY-README.md>. In 
Firefox 41.0.1 (on OS X 10.11.5), I am seeing the expected behavior where users 
are required to login (the Login UI element renders in the upper right corner).

However, in Chrome 51.0.2704, this Login button does not render and I see no 
way to log in. I also see the following message in the Developer Console: 
http://127.0.0.1:9995/api/login Failed to load resource: the server responded 
with a status of 500 (Server Error)

Should this be logged as an issue?

Chrome:
[cid:E337FADE-FB78-41C7-BD71-D0A86BB24392]


Firefox:
[cid:D2237D9D-4952-424F-9DBF-561168C5FFCA]

Thanks,

Sam Lachterman
Solutions Engineer
slachter...@hortonworks.com<mailto:slachter...@hortonworks.com>
(608) 520-3428
[cid:17596D7D-57D5-4D8A-97C7-63628B587B93]

Reply via email to