Advertisement
mlebeda

bootcamp SAML logs

Mar 9th, 2022 (edited)
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.60 KB | None | 0 0
  1. ubuntu@bootcamp:~$ tutor local logs --tail=0 -f
  2. docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.override.yml --project-name tutor_local logs --follow --tail 0
  3. Attaching to tutor_local_cms-worker_1, tutor_local_cms_1, tutor_local_lms-worker_1, tutor_local_lms_1, tutor_local_mongodb_1, tutor_local_elasticsearch_1, tutor_local_redis_1, tutor_local_mysql_1, tutor_local_smtp_1, tutor_local_mongodb-permissions_1, tutor_local_mysql-permissions_1, tutor_local_elasticsearch-permissions_1, tutor_local_redis-permissions_1, tutor_local_lms-permissions_1, tutor_local_cms-permissions_1, tutor_local_caddy_1, tutor_local_mfe_1
  4. tutor_local_cms-permissions_1 exited with code 0
  5. tutor_local_elasticsearch-permissions_1 exited with code 0
  6. tutor_local_lms-permissions_1 exited with code 0
  7. tutor_local_mongodb-permissions_1 exited with code 0
  8. tutor_local_mysql-permissions_1 exited with code 0
  9. tutor_local_redis-permissions_1 exited with code 0
  10. cms_1 | [pid: 7|app: 0|req: 1551/3102] 172.18.0.4 () {58 vars in 1246 bytes} [Wed Mar 9 12:41:45 2022] GET /login/?next=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2F => generated 0 bytes in 26 msecs (HTTP/1.1 302) 6 headers in 246 bytes (1 switches on core 0)
  11. caddy_1 | {"level":"info","ts":1646829705.928105,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_addr":"147.251.52.93:5722","proto":"HTTP/2.0","method":"GET","host":"studio.bootcamp.nc3.cz","uri":"/login/?next=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2F","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"studio.bootcamp.nc3.cz"}},"user_id":"","duration":0.029125044,"size":0,"status":302}
  12. caddy_1 | {"level":"info","ts":1646829705.9723547,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_addr":"147.251.52.93:5722","proto":"HTTP/2.0","method":"GET","host":"studio.bootcamp.nc3.cz","uri":"/login/edx-oauth2/?next=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2F","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"studio.bootcamp.nc3.cz"}},"user_id":"","duration":0.036442774,"size":0,"status":302}
  13. cms_1 | [pid: 18|app: 0|req: 1262/3103] 172.18.0.4 () {58 vars in 1268 bytes} [Wed Mar 9 12:41:45 2022] GET /login/edx-oauth2/?next=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2F => generated 0 bytes in 34 msecs (HTTP/1.1 302) 9 headers in 883 bytes (1 switches on core 0)
  14. lms_1 | 2022-03-09 12:41:46,221 INFO 24 [tracking] [user None] [ip 147.251.52.93] logger.py:41 - {"name": "/oauth2/authorize", "context": {"user_id": null, "path": "/oauth2/authorize", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "bootcamp.nc3.cz", "referer": "https://studio.bootcamp.nc3.cz/", "accept_language": "cs", "event": "{\"GET\": {\"client_id\": [\"cms-sso\"], \"redirect_uri\": [\"https://studio.bootcamp.nc3.cz/complete/edx-oauth2/?redirect_state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"], \"state\": [\"Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"], \"response_type\": [\"code\"], \"scope\": [\"user_id profile email\"]}, \"POST\": {}}", "time": "2022-03-09T12:41:46.220291+00:00", "event_type": "/oauth2/authorize", "event_source": "server", "page": null}
  15. lms_1 | 2022-03-09 12:41:46,671 INFO 24 [openedx.core.djangoapps.cors_csrf.helpers] [user None] [ip 147.251.52.93] helpers.py:64 - Origin 'https://studio.bootcamp.nc3.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://studio.bootcamp.nc3.cz/' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  16. caddy_1 | {"level":"info","ts":1646829706.6809342,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"GET","host":"bootcamp.nc3.cz","uri":"/oauth2/authorize?client_id=cms-sso&redirect_uri=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2Fcomplete%2Fedx-oauth2%2F%3Fredirect_state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&response_type=code&scope=user_id+profile+email","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":0.521373003,"size":0,"status":302}
  17. lms_1 | [pid: 24|app: 0|req: 328/881] 172.18.0.4 () {56 vars in 1544 bytes} [Wed Mar 9 12:41:46 2022] GET /oauth2/authorize?client_id=cms-sso&redirect_uri=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2Fcomplete%2Fedx-oauth2%2F%3Fredirect_state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&response_type=code&scope=user_id+profile+email => generated 0 bytes in 519 msecs (HTTP/1.1 302) 7 headers in 802 bytes (1 switches on core 0)
  18. lms_1 | 2022-03-09 12:41:46,751 INFO 7 [openedx.core.djangoapps.cors_csrf.helpers] [user None] [ip 147.251.52.93] helpers.py:64 - Origin 'https://studio.bootcamp.nc3.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://studio.bootcamp.nc3.cz/' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  19. caddy_1 | {"level":"info","ts":1646829708.0725014,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"GET","host":"bootcamp.nc3.cz","uri":"/login?next=/oauth2/authorize%3Fclient_id%3Dcms-sso%26redirect_uri%3Dhttps%253A%252F%252Fstudio.bootcamp.nc3.cz%252Fcomplete%252Fedx-oauth2%252F%253Fredirect_state%253DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26response_type%3Dcode%26scope%3Duser_id%2Bprofile%2Bemail","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":1.378380076,"size":0,"status":302}
  20. lms_1 | [pid: 7|app: 0|req: 334/882] 172.18.0.4 () {58 vars in 1844 bytes} [Wed Mar 9 12:41:46 2022] GET /login?next=/oauth2/authorize%3Fclient_id%3Dcms-sso%26redirect_uri%3Dhttps%253A%252F%252Fstudio.bootcamp.nc3.cz%252Fcomplete%252Fedx-oauth2%252F%253Fredirect_state%253DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26response_type%3Dcode%26scope%3Duser_id%2Bprofile%2Bemail => generated 0 bytes in 1377 msecs (HTTP/1.1 302) 8 headers in 1052 bytes (1 switches on core 0)
  21. lms_1 | 2022-03-09 12:41:48,098 INFO 24 [tracking] [user None] [ip 147.251.52.93] logger.py:41 - {"name": "/auth/login/tpa-saml/", "context": {"user_id": null, "path": "/auth/login/tpa-saml/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "e9676cf219e3b44ccfac6440b163815b", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "bootcamp.nc3.cz", "referer": "https://studio.bootcamp.nc3.cz/", "accept_language": "cs", "event": "{\"GET\": {\"auth_entry\": [\"login\"], \"next\": [\"/oauth2/authorize?client_id=cms-sso&redirect_uri=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2Fcomplete%2Fedx-oauth2%2F%3Fredirect_state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&response_type=code&scope=user_id+profile+email&tpa_hint=saml-default\"], \"idp\": [\"default\"]}, \"POST\": {}}", "time": "2022-03-09T12:41:48.098199+00:00", "event_type": "/auth/login/tpa-saml/", "event_source": "server", "page": null}
  22. lms_1 | 2022-03-09 12:41:48,104 INFO 24 [openedx.core.djangoapps.cors_csrf.helpers] [user None] [ip 147.251.52.93] helpers.py:64 - Origin 'https://studio.bootcamp.nc3.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://studio.bootcamp.nc3.cz/' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  23. lms_1 | [pid: 24|app: 0|req: 329/883] 172.18.0.4 () {58 vars in 2068 bytes} [Wed Mar 9 12:41:48 2022] GET /auth/login/tpa-saml/?auth_entry=login&next=%2Foauth2%2Fauthorize%3Fclient_id%3Dcms-sso%26redirect_uri%3Dhttps%253A%252F%252Fstudio.bootcamp.nc3.cz%252Fcomplete%252Fedx-oauth2%252F%253Fredirect_state%253DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26response_type%3Dcode%26scope%3Duser_id%2Bprofile%2Bemail%26tpa_hint%3Dsaml-default&idp=default => generated 0 bytes in 44 msecs (HTTP/1.1 302) 9 headers in 1368 bytes (1 switches on core 0)
  24. caddy_1 | {"level":"info","ts":1646829708.1246984,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"GET","host":"bootcamp.nc3.cz","uri":"/auth/login/tpa-saml/?auth_entry=login&next=%2Foauth2%2Fauthorize%3Fclient_id%3Dcms-sso%26redirect_uri%3Dhttps%253A%252F%252Fstudio.bootcamp.nc3.cz%252Fcomplete%252Fedx-oauth2%252F%253Fredirect_state%253DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI%26response_type%3Dcode%26scope%3Duser_id%2Bprofile%2Bemail%26tpa_hint%3Dsaml-default&idp=default","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":0.046451625,"size":0,"status":302}
  25. lms_1 | 2022-03-09 12:41:55,702 INFO 7 [tracking] [user None] [ip 147.251.52.93] logger.py:41 - {"name": "/auth/complete/tpa-saml/", "context": {"user_id": null, "path": "/auth/complete/tpa-saml/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "e9676cf219e3b44ccfac6440b163815b", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "bootcamp.nc3.cz", "referer": "https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?", "accept_language": "cs", "event": "{\"GET\": {}, \"POST\": {\"SAMLResponse\": [\"PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iIElEPSJfYTI0YWFmZDAwYTYzY2I4YWI2Nzc1NzUwZTI2NjVhMDNlZmNhOTY4YzMxIiBWZXJzaW9uPSIyLjAiIElzc3VlSW5zdGFudD0iMjAyMi0wMy0wOVQxMjo0MTo1NVoiIERlc3RpbmF0aW9uPSJodHRwczovL2Jvb3RjYW1wLm5jMy5jei9hdXRoL2NvbXBsZXRlL3RwYS1zYW1sLyIgSW5SZXNwb25zZVRvPSJPTkVMT0dJTl9kZDJmYmFkNTY3YWIzM2ZiYzA2MzdjMjMyYWJjMGIzZTEwNmNkMDZlIj48c2FtbDpJc3N1Z", "time": "2022-03-09T12:41:55.702059+00:00", "event_type": "/auth/complete/tpa-saml/", "event_source": "server", "page": null}
  26. lms_1 | 2022-03-09 12:41:55,708 INFO 7 [openedx.core.djangoapps.cors_csrf.helpers] [user None] [ip 147.251.52.93] helpers.py:64 - Origin 'https://id.muni.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  27. lms_1 | 2022-03-09 12:41:57,159 ERROR 7 [common.djangoapps.third_party_auth.pipeline] [user None] [ip 147.251.52.93] pipeline.py:824 - [Multiple_SSO_SAML_Accounts_Association_to_User] Error in saml multiple accounts association: User ID: 5, User Email: 111653@muni.cz:,Provider ID: saml-default, Exception: EnterpriseCustomerIdentityProvider matching query does not exist.
  28. lms_1 | Traceback (most recent call last):
  29. lms_1 | File "/openedx/edx-platform/common/djangoapps/third_party_auth/pipeline.py", line 790, in associate_by_email_if_enterprise_user
  30. lms_1 | enterprise_customer_user = is_enterprise_customer_user(current_provider.provider_id, current_user)
  31. lms_1 | File "/openedx/edx-platform/common/djangoapps/third_party_auth/utils.py", line 94, in is_enterprise_customer_user
  32. lms_1 | enterprise_idp = EnterpriseCustomerIdentityProvider.objects.get(provider_id=provider_id)
  33. lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
  34. lms_1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
  35. lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/db/models/query.py", line 435, in get
  36. lms_1 | raise self.model.DoesNotExist(
  37. lms_1 | enterprise.models.EnterpriseCustomerIdentityProvider.DoesNotExist: EnterpriseCustomerIdentityProvider matching query does not exist.
  38. lms_1 | [pid: 7|app: 0|req: 335/884] 172.18.0.4 () {64 vars in 1435 bytes} [Wed Mar 9 12:41:55 2022] POST /auth/complete/tpa-saml/ => generated 0 bytes in 3522 msecs (HTTP/1.1 302) 15 headers in 3098 bytes (1 switches on core 0)
  39. caddy_1 | {"level":"info","ts":1646829719.1970735,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"POST","host":"bootcamp.nc3.cz","uri":"/auth/complete/tpa-saml/","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":3.689087048,"size":0,"status":302}
  40. lms_1 | 2022-03-09 12:41:59,234 INFO 24 [tracking] [user None] [ip 147.251.52.93] logger.py:41 - {"name": "/auth/complete/tpa-saml/", "context": {"user_id": null, "path": "/auth/complete/tpa-saml/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "e9676cf219e3b44ccfac6440b163815b", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "bootcamp.nc3.cz", "referer": "https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?", "accept_language": "cs", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-03-09T12:41:59.233572+00:00", "event_type": "/auth/complete/tpa-saml/", "event_source": "server", "page": null}
  41. lms_1 | 2022-03-09 12:41:59,240 INFO 24 [openedx.core.djangoapps.cors_csrf.helpers] [user None] [ip 147.251.52.93] helpers.py:64 - Origin 'https://id.muni.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  42. lms_1 | 2022-03-09 12:41:59,311 INFO 24 [audit] [user 5] [ip 147.251.52.93] models.py:2725 - Login success - user.id: 5
  43. lms_1 | [pid: 24|app: 0|req: 330/885] 172.18.0.4 () {58 vars in 3263 bytes} [Wed Mar 9 12:41:59 2022] GET /auth/complete/tpa-saml/? => generated 0 bytes in 419 msecs (HTTP/1.1 302) 11 headers in 1216 bytes (1 switches on core 0)
  44. caddy_1 | {"level":"info","ts":1646829719.6328013,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"GET","host":"bootcamp.nc3.cz","uri":"/auth/complete/tpa-saml/?","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":0.422892268,"size":0,"status":302}
  45. lms_1 | 2022-03-09 12:41:59,673 INFO 7 [tracking] [user 5] [ip 147.251.52.93] logger.py:41 - {"name": "/oauth2/authorize", "context": {"user_id": 5, "path": "/oauth2/authorize", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "111653", "session": "0e45c673800f093d9009194639f12b60", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "bootcamp.nc3.cz", "referer": "https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?", "accept_language": "cs", "event": "{\"GET\": {\"client_id\": [\"cms-sso\"], \"redirect_uri\": [\"https://studio.bootcamp.nc3.cz/complete/edx-oauth2/?redirect_state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"], \"state\": [\"Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"], \"response_type\": [\"code\"], \"scope\": [\"user_id profile email\"], \"tpa_hint\": [\"saml-default\"]}, \"POST\": {}}", "time": "2022-03-09T12:41:59.673019+00:00", "event_type": "/oauth2/authorize", "event_source": "server", "page": null}
  46. lms_1 | 2022-03-09 12:41:59,688 INFO 7 [openedx.core.djangoapps.cors_csrf.helpers] [user 5] [ip 147.251.52.93] helpers.py:64 - Origin 'https://id.muni.cz' was not in `CORS_ORIGIN_WHITELIST`; full referer was 'https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?' and requested host was 'bootcamp.nc3.cz'; CORS_ORIGIN_ALLOW_ALL=False
  47. caddy_1 | {"level":"info","ts":1646829719.73851,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"147.251.52.93:5737","proto":"HTTP/2.0","method":"GET","host":"bootcamp.nc3.cz","uri":"/oauth2/authorize?client_id=cms-sso&redirect_uri=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2Fcomplete%2Fedx-oauth2%2F%3Fredirect_state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&response_type=code&scope=user_id+profile+email&tpa_hint=saml-default","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"bootcamp.nc3.cz"}},"user_id":"","duration":0.094637771,"size":0,"status":302}
  48. lms_1 | [pid: 7|app: 0|req: 336/886] 172.18.0.4 () {58 vars in 3757 bytes} [Wed Mar 9 12:41:59 2022] GET /oauth2/authorize?client_id=cms-sso&redirect_uri=https%3A%2F%2Fstudio.bootcamp.nc3.cz%2Fcomplete%2Fedx-oauth2%2F%3Fredirect_state%3DKo91eWkebAUUDkU4RoWi7mubu5XuQzZI&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&response_type=code&scope=user_id+profile+email&tpa_hint=saml-default => generated 0 bytes in 92 msecs (HTTP/1.1 302) 7 headers in 513 bytes (1 switches on core 0)
  49. cms_1 | 2022-03-09 12:41:59,763 INFO 7 [tracking] [user 5] [ip 147.251.52.93] logger.py:41 - {"name": "/complete/edx-oauth2/", "context": {"user_id": 5, "path": "/complete/edx-oauth2/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "111653", "session": "0e45c673800f093d9009194639f12b60", "ip": "147.251.52.93", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30", "host": "studio.bootcamp.nc3.cz", "referer": "https://id.muni.cz/simplesaml/module.php/core/loginuserpass.php?", "accept_language": "cs", "event": "{\"GET\": {\"redirect_state\": [\"Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"], \"code\": [\"lIi2d9572A64UqEX51WxI9qXYtioVe\"], \"state\": [\"Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI\"]}, \"POST\": {}}", "time": "2022-03-09T12:41:59.763190+00:00", "event_type": "/complete/edx-oauth2/", "event_source": "server", "page": null}
  50. cms_1 | 2022-03-09 12:41:59,970 ERROR 7 [root] [user None] [ip None] signals.py:22 - Uncaught exception from None
  51. cms_1 | Traceback (most recent call last):
  52. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
  53. cms_1 | response = get_response(request)
  54. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
  55. cms_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
  56. cms_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py", line 75, in inner
  57. cms_1 | return func(*args, **kwds)
  58. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
  59. cms_1 | response = view_func(request, *args, **kwargs)
  60. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  61. cms_1 | return view_func(*args, **kwargs)
  62. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_django/utils.py", line 46, in wrapper
  63. cms_1 | return func(request, backend, *args, **kwargs)
  64. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_django/views.py", line 31, in complete
  65. cms_1 | return do_complete(request.backend, _do_login, user=request.user,
  66. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/actions.py", line 45, in do_complete
  67. cms_1 | user = backend.complete(user=user, *args, **kwargs)
  68. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/base.py", line 40, in complete
  69. cms_1 | return self.auth_complete(*args, **kwargs)
  70. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/auth_backends/backends.py", line 98, in auth_complete
  71. cms_1 | user = super().auth_complete(*args, **kwargs)
  72. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/utils.py", line 248, in wrapper
  73. cms_1 | return func(*args, **kwargs)
  74. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/oauth.py", line 375, in auth_complete
  75. cms_1 | state = self.validate_state()
  76. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/oauth.py", line 87, in validate_state
  77. cms_1 | raise AuthStateMissing(self, 'state')
  78. cms_1 | social_core.exceptions.AuthStateMissing: Session value state missing.
  79. cms_1 | 2022-03-09 12:42:00,318 ERROR 7 [django.request] [user 5] [ip 147.251.52.93] log.py:224 - Internal Server Error: /complete/edx-oauth2/
  80. cms_1 | Traceback (most recent call last):
  81. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
  82. cms_1 | response = get_response(request)
  83. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
  84. cms_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
  85. cms_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py", line 75, in inner
  86. cms_1 | return func(*args, **kwds)
  87. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
  88. cms_1 | response = view_func(request, *args, **kwargs)
  89. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  90. cms_1 | return view_func(*args, **kwargs)
  91. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_django/utils.py", line 46, in wrapper
  92. cms_1 | return func(request, backend, *args, **kwargs)
  93. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_django/views.py", line 31, in complete
  94. cms_1 | return do_complete(request.backend, _do_login, user=request.user,
  95. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/actions.py", line 45, in do_complete
  96. cms_1 | user = backend.complete(user=user, *args, **kwargs)
  97. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/base.py", line 40, in complete
  98. cms_1 | return self.auth_complete(*args, **kwargs)
  99. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/auth_backends/backends.py", line 98, in auth_complete
  100. cms_1 | user = super().auth_complete(*args, **kwargs)
  101. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/utils.py", line 248, in wrapper
  102. cms_1 | return func(*args, **kwargs)
  103. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/oauth.py", line 375, in auth_complete
  104. cms_1 | state = self.validate_state()
  105. cms_1 | File "/openedx/venv/lib/python3.8/site-packages/social_core/backends/oauth.py", line 87, in validate_state
  106. cms_1 | raise AuthStateMissing(self, 'state')
  107. cms_1 | social_core.exceptions.AuthStateMissing: Session value state missing.
  108. cms_1 | [pid: 7|app: 0|req: 1552/3104] 172.18.0.4 () {58 vars in 3691 bytes} [Wed Mar 9 12:41:59 2022] GET /complete/edx-oauth2/?redirect_state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&code=lIi2d9572A64UqEX51WxI9qXYtioVe&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI => generated 8062 bytes in 1636 msecs (HTTP/1.1 500) 7 headers in 521 bytes (1 switches on core 0)
  109. caddy_1 | {"level":"error","ts":1646829721.3817475,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_addr":"147.251.52.93:5722","proto":"HTTP/2.0","method":"GET","host":"studio.bootcamp.nc3.cz","uri":"/complete/edx-oauth2/?redirect_state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI&code=lIi2d9572A64UqEX51WxI9qXYtioVe&state=Ko91eWkebAUUDkU4RoWi7mubu5XuQzZI","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"studio.bootcamp.nc3.cz"}},"user_id":"","duration":1.638867741,"size":8062,"status":500}
  110. cms_1 | [pid: 18|app: -1|req: -1/3105] 172.18.0.4 () {54 vars in 3491 bytes} [Wed Mar 9 12:42:01 2022] GET /static/studio/bundles/js/sock.25f2d5a2a5d213c70439.b7460ea3e702.js => generated 4575 bytes in 124 msecs via sendfile() (HTTP/1.1 200) 3 headers in 125 bytes (0 switches on core 0)
  111. caddy_1 | {"level":"info","ts":1646829721.5964468,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_addr":"147.251.52.93:5722","proto":"HTTP/2.0","method":"GET","host":"studio.bootcamp.nc3.cz","uri":"/static/studio/bundles/js/sock.25f2d5a2a5d213c70439.b7460ea3e702.js","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"studio.bootcamp.nc3.cz"}},"user_id":"","duration":0.128108388,"size":4575,"status":200}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement