Kylo UI login problem

845 views
Skip to first unread message

Prasanna R

unread,
Jun 12, 2017, 12:01:40 PM6/12/17
to Kylo Community
Hi,
   I had Kylo setup and working fine for the past 2 weeks and was able to develop feeds and load data successfully.
  
   Suddenly today, I am unable to login to Kylo - I get redirected to the login form again even after entering the credentials (I am using only auth-simple login with the default credentials dladmin/thinkbig). I am sure that this is not a password issue as if I enter a wrong password I get an error message that username/password is wrong. But when I provide the right credentials, I get the same login form again.
  
   I have not made any configuration changes - the only thing I did new today was testing/using the REST web services URL to see how they work. 
  
   I have tried restarting the services and also restarting the host in which Kylo is installed - but the issue persists.
  
   FYI, the security.jwt.key value is same in both kylo-services and kylo-ui application.properties file and all other settings are also same when it was working fine.

   I have attached the Kylo services and UI log with DEBUG mode enabled for your reference - and I see the below line in it.

2017-06-12 08:53:53 WARN  main:ConfigServicePropertySourceLocator:108 - Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/bootstrap/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)

   Is the above the problem? If so, why it has suddenly popped up? and how to resolve it? Or can anyone suggest what else could be the problem? 

   Your inputs are highly appreciated.
  
Regards,
Prasanna R
kylo-services.log
kylo-ui.log

Prasanna R

unread,
Jun 12, 2017, 1:47:24 PM6/12/17
to Kylo Community
I tried restarting the services after having them down for a couple of hours. And I see some java exceptions as in the attached  Kylo-ui log. Can someone point me to the problem?
kylo-ui.log
kylo-services.log

Greg Hart

unread,
Jun 12, 2017, 2:37:22 PM6/12/17
to Kylo Community
Hi Prasanna,

According to the logs your login was successful. You can try clearing your browser cache or logging in through curl to verify that everything is working correctly:
# curl -d 'username=dladmin&password=thinkbig' -D - http://localhost:8400/login

The response will include 'Location: http://localhost:8400/login.html' if the login failed or 'Location: http://localhost:8400/' if the login was successful.

Prasanna R

unread,
Jun 12, 2017, 2:59:53 PM6/12/17
to Kylo Community
Hi Greg,
   I tried the curl command and below is the response I got:

HTTP/1.1 302 Found
Server: Apache-Coyote/1.1
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 0
Date: Mon, 12 Jun 2017 18:57:42 GMT

   Based on your message, I assume that the login was successful. However, I could not login using the browser - I being redirected to login.html page again; I have tried clearing the history and also tried with multiple browsers as well but the issue persists. 

   Any other suggestions? Thanks for your time in helping me out.


Greg Hart

unread,
Jun 12, 2017, 3:47:03 PM6/12/17
to Kylo Community
Hi Prasanna,

Could you try setting the below property in /opt/kylo/kylo-ui/conf/application.properties?
security.rememberme.alwaysRemember=true

Prasanna R

unread,
Jun 13, 2017, 12:14:51 AM6/13/17
to Kylo Community
Hi Greg,
   Thanks for the suggestion - I set the alwaysRemember property to true and it worked. Hope that it stays that way till I demo the product to my management. 

   Thanks again.

Regards,
Prasanna R
Message has been deleted

Matt Hutton

unread,
Nov 20, 2017, 2:42:20 AM11/20/17
to Kylo Community
See docs under https://kylo.io
Message has been deleted

Ruslans Uralovs

unread,
Nov 22, 2017, 7:59:34 AM11/22/17
to Kylo Community
Hey Shyam

Can you start a new thread and describe your problem there please, because your problem is not related to issues discussed here.
To help us troubleshoot, mention which Kylo version you have installed and attach corresponding kylo-services and nifi-app logs

Thanks

tanvi12...@gmail.com

unread,
Aug 18, 2018, 7:49:35 AM8/18/18
to Kylo Community
hi , i had a similar problem. tried all of the above.
changes in kylo-ui property file as well as curl command.
using curl the login was successful but the login is shown as unsuccessful in browser.

using kylo cloudera sandbox on a linux machine

Gregory Hart

unread,
Aug 21, 2018, 12:48:22 PM8/21/18
to Kylo Community
Hi Tanvi,

It sounds like the issue may be slightly different then Prasanna's issue. Could you open a new topic and attach your /var/log/kylo-ui/kylo-ui.log and /var/log/kylo-services/kylo-services.log files?
Reply all
Reply to author
Forward
0 new messages