You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/02/05 16:35:35 UTC
[jira] [Commented] (LENS-276) Not able to login to Lens UI
[ https://issues.apache.org/jira/browse/LENS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307419#comment-14307419 ]
Raju Bairishetti commented on LENS-276:
---------------------------------------
POST request is successfully returned.
{noformat}
Request URL:http://localhost:19999/uisession/
Request Method:POST
Status Code:200 OK
{noformat}
Server gave the response in the form of xml.
{noformat}
HTTP/1.1 200 OK
Content-Type: application/xml
Date: Thu, 05 Feb 2015 15:18:15 GMT
Content-Length: 208
{noformat}
Session.js
{code}
$.ajax({
url: util.SESSION_URL,
type: 'POST',
dataType: 'json',
...
success: function(data) {
// update cookie info
}, error : ...
{code}
dataType is mentioned as json.
Not able to login because it is throwing *parse error* as it tries to parse the *xml* response into *json format(i.e. jquery.ParseJSON).
Right now, user can able to login only if the response from server is in *json*.
> Not able to login to Lens UI
> ----------------------------
>
> Key: LENS-276
> URL: https://issues.apache.org/jira/browse/LENS-276
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Arshad Matin
> Attachments: Screen Shot 2015-02-04 at 8.50.51 pm.png
>
>
> Login to lens UI failed even when the authentication is set to 'NONE'. Lens should not even try to authenticate the login credentials.
> Issue seems to be on the UI side only as i am able to access lens-cli and lens REST API services with some credentials and server is not authenticating it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)