I think I’m 90% of the way there but I’m getting 403 errors when trying to log in and the troubleshooting tips online haven’t helped.
So I am utilizing databricks apps to deploy label-studio, here is the script that runs on the server this is the “entire” setup
import os
if __name__ == "__main__":
os.system("pip install -e label-studio-ml-backend")
# run command in the background
# os.system("label-studio-ml start label-studio-ml-backend/my_spacy_backend &")
os.system(f"label-studio start --username default_user@localhost --password password --data-dir ./label-studio/data --debug")
# also tried simple os.system(f"label-studio start")
version is label-studio 1.15
Here is the actual error when I log in:
[django.security.csrf::log_response::241] [WARNING] Forbidden (Origin checking failed - https://xx-xxxx.aws.databricksapps.com does not match any trusted origins.): /user/login/
I ran it once under a different name, it worked great. I ran it again under a new name, it deployed to a different app url, and now I’m getting a 403 error when I try to log in. I assume this is an issue where it is finding an old data dir but I tried changing that and nothing happened. I have no idea how to clear any old install and I can’t see where those files might be from the logs
Any advice appreciated