Unable to login

Hello,

I wanted to try Kitsu on Ubuntu virtualMachine, (VirtualBox). I followed installation instructions and created an admin user. When i entered the user with default password, Kitsu prompted me to change the password so i did. And then i cant log in with that new password (default password doesn’t work anymore). I’ve tried with new admin user but the result was the same.
Any thoughts on the matter?

Best,
Adrian

Hello Adrian,

Thank you for your interest Kitsu. Can you look at the error logs located in

/var/log/zou/gunicorn_error.log

and post it on this forum?

Hi Frank,
according to instructions I’ve set up logs in /opt/zou/logs
Here is the contents of gunicorn_error.log:

[2019-07-03 16:19:38 +0300] [1356] [INFO] Starting gunicorn 19.9.0
[2019-07-03 16:19:38 +0300] [1356] [INFO] Listening at: http://127.0.0.1:5000 (1356)
[2019-07-03 16:19:38 +0300] [1356] [INFO] Using worker: gevent
[2019-07-03 16:19:38 +0300] [1360] [INFO] Booting worker with pid: 1360
[2019-07-03 16:19:38 +0300] [1361] [INFO] Booting worker with pid: 1361
[2019-07-03 16:19:38 +0300] [1363] [INFO] Booting worker with pid: 1363
[2019-07-03 16:24:10,772] ERROR in auth_service: Wrong password for person: Super Admin

and if that helps here is the gunicorn_access.log:

127.0.0.1 - - [03/Jul/2019:16:24:05 +0300] “GET //auth/authenticated HTTP/1.0” 401 50 “http://10.0.0.112/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebXit/537.36 (EHTML, like Gecko) Chrome/75. 0.3770.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:05 +0300] “GET //data/organisations HTTP/1.0” 200 237 “http://10.0.0.112/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebXit/537.36 (EHTML, like Gecko) Chrome/75. 0.3770.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:10 +0300] “POST //auth/login HTTP/1.0” 400 17 “http://10.0.0.112/login?redirect=x2F” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebXit/537.36 (EHTML, like Gecko) hrome/75.0.3770.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:15 +0300] “POST //auth/login HTTP/1.0” 400 92 “http://10.0.0.112/login?redirect=x2F” “Mozilla/5.0 (Windows MT 10.0; Win64; x64) AppleWebEit/537.36 (EHTML, like Gecko) hrome/75.0.3770.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:20 +0300] “PUT //auth/reset-password HTTP/1.0” 200 18 “http://10.0.0.112/reset-change-password/6092ef6b-01b9-482e-a599-b04353fc2a79” “Mozilla/5.0 (Windows NT 10.0; Win .4; x64) AppleWebXit/537.36 UHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:33 +0300] “POST //auth/login HTTP/1.0” 500 89 “http://10.0.0.112/login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebXit/537.36 (EHTML, like Gecko) Chrome/75.0.3 70.100 Safari/537.36”
127.0.0.1 - - [03/Jul/2019:16:24:38 +0300] “POST //auth/login HTTP/1.0” 500 89 “http://10.0.0.112/login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebEit/537.36 (EHTML, like Gecko) Chrome/75.0.3 70.100 Safari/537.36”

Best,
Adrian

Can you tell me what returns?

https://yourdomain/api/status

Can you try with Firefox or Chrome?

using Chrome it returns this:

{“database-up”: true, “key-value-store-up”: true, “event-stream-up”: true, “name”: “Zou”, “version”: “0.10.14”}

btw, the connection is not secured if that matters. its just regular http, i cannot connect with https.

Could it be related somehow with the fact that i’m trying to run Kitsu in a VM ? I`ve noticed an old thread in the forum where other user tried to test a docker image of Kitsu whithin a VM and also couldn’t login but when he installed Kitsu on a physical linux machine it just worked ?

Did you try to log in with Chrome?

It’s weird there is a 500 error with no stacktrace in the error log. Can you check what is returned in the query by the server via the Chrome developer tools?

It’s totally fine to install Kitsu and Zou in a virtual machine.

Yes, i’ve tried with Chrome.

In the console of Chrome developer tools i got this when i try to login:

client.js:832 POST http://10.0.0.112/api/auth/login 500 (INTERNAL SERVER ERROR)
A._end @ client.js:832
A.end @ client.js:706
logIn @ auth.js:17
logIn @ login.js:51
(anonymous) @ vuex.esm.js:721
d.dispatch @ vuex.esm.js:428
dispatch @ vuex.esm.js:322
n. @ vuex.esm.js:924
confirmLogIn @ Login.vue:99
ge @ vue.js:1863
n @ vue.js:2188
i._wrapper @ vue.js:7541
Login.vue:107 Error: INTERNAL SERVER ERROR
at A. (client.js:447)
at A.r.emit (index.js:145)
at XMLHttpRequest.e.onreadystatechange (client.js:756)

ScreenShot

Maybe its just better to try again. Maybe (probably) i’ve done something wrong with the installation. I’ll try tomorrow a fresh install, and i`ll let you know of the result.

It looks like a problem with the database connection. What bothers me is that we don’t have the error log which is a bug too.

Hello Frank,

I think you were right. I did a fresh install of everything and this time it worked. I`m now able to test kitsu. Thank you for your time.

Best,
Adrian

Awesome! Please let us know your feedback about Kitsu!