Hi friends,
I faced such type issue,
While I start the server with tutor local run command the signup and sign-in works properly I can sign in,
But when I am running up the server with tutor dev run the user can not sign in it redirects the user to the login page again,
I see a call of API with 401 status in network tap
http://local.overhang.io:8000/enterprise/api/v1/enterprise-learner/?username={the username}
I also reviewed logs and its result says the user is none :
2022-01-14 13:48:44,091 INFO 21 [tracking] [user None] [ip 172.23.0.1] logger.py:41 - {“name”: “/favicon.ico”, “context”: {“user_id”: null, “path”: “/favicon.ico”, “course_id”: “”, “org_id”: “”, “enterprise_uuid”: “”}, “username”: “”, “session”: “”, “ip”: “172.23.0.1”, “agent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36”, “host”: “local.overhang.io:8000”, “referer”: “http://local.overhang.io:8000/enterprise/api/v1/enterprise-learner/?username=mshukurlu”, “accept_language”: “en-US,en;q=0.9,ru;q=0.8”, “event”: “{"GET": {}, "POST": {}}”, “time”: “2022-01-14T13:48:44.090862+00:00”, “event_type”: “/favicon.ico”, “event_source”: “server”, “page”: null}
How can I handle this issue?.
I want to emphisize, I am testing it in a fresh installation.
tutor, version 13.1.0