HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.43k stars 2.32k forks source link

Cannot login after some time of the server working. #4537

Open alexeytochin opened 1 year ago

alexeytochin commented 1 year ago

It is not possible to login after some time of working. The combination of username and password is accepted but nothing happened on the logging in webpage.

New user singing up gives the same result. Restarting server with the same label_studio.sqlite3 file does not help. Tried Chrome and Safari.

Log: [2023-07-19 13:03:50,124] [django.server::log_message::161] [INFO] "POST /user/login/?next=/projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:50,124] [django.server::log_message::161] [INFO] "POST /user/login/?next=/projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:50,519] [django.server::log_message::161] [INFO] "GET /projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:50,519] [django.server::log_message::161] [INFO] "GET /projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:50,911] [django.server::log_message::161] [INFO] "GET /?next=/projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:50,911] [django.server::log_message::161] [INFO] "GET /?next=/projects/ HTTP/1.1" 302 0 [2023-07-19 13:03:51,306] [root::_readpy::61] [WARNING] Can't read version file: ls-version.py. Fall back to: version_.py [2023-07-19 13:03:51,311] [django.server::log_message::161] [INFO] "GET /user/login/ HTTP/1.1" 200 2232 [2023-07-19 13:03:51,311] [django.server::log_message::161] [INFO] "GET /user/login/ HTTP/1.1" 200 2232

The user can be observed with label-studio user --username ...

Label Studio version 1.7.3 Docker image heartexlabs/label-studio:hf-1.7.3

Steps to reproduce: Run the server, create user, wait for a couple of days.

I observed that same behaviour for 1.8.0 and without docker.

hogepodge commented 1 year ago

Hi Alex, I've noticed the same issue. I'm going to file a bug internally so the team can investigate.

beauchbum commented 6 months ago

Hi @alexeytochin - I'm experiencing a similar issue. Did you end up finding a fix? Thanks!

olivierpilotte commented 3 weeks ago

Experiencing this issue on a fresh install (kubernetes). A series of 302 (Redirect), back to the login page. Nothing significant in the logs.

Can we get an update on this issue?