I deployed openEdx with tutor, whenever I try to open lecture page as admin or user, I am getting the errorr given in title as a pop-up. Here are the logs below.
tutor_local-lms-1 | 2023-04-08 10:11:05,894 INFO 27 [tracking] [user 8] [ip ipaddress] logger.py:41 - {"name": "/courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline", "context": {"course_id": "course-v1:Res4city+EC101+2023_T1", "course_user_tags": {}, "user_id": 8, "path": "/courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline", "org_id": "Res4city", "enterprise_uuid": ""}, "username": "mcan", "session": "25a60efef41b837794a1ce3ab0813736", "ip": "ipaddress", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0", "host": "mooc.res4city.eu", "referer": "https://mooc.res4city.eu/xblock/block-v1:Res4city+EC101+2023_T1+type@vertical+block@Unidad1Subsection2Vertical1?show_title=0&show_bookmark_button=0&recheck_access=1&view=student_view", "accept_language": "en-US,en;q=0.5", "event": "{\"GET\": {\"page\": [\"1\"], \"sort_key\": [\"activity\"], \"sort_order\": [\"desc\"], \"ajax\": [\"1\"]}, \"POST\": {}}", "time": "2023-04-08T10:11:05.893681+00:00", "event_type": "/courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline", "event_source": "server", "page": null}
tutor_local-lms-1 | 2023-04-08 10:11:05,945 ERROR 27 [root] [user None] [ip None] signals.py:22 - Uncaught exception from None
tutor_local-lms-1 | Traceback (most recent call last):
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
tutor_local-lms-1 | response = get_response(request)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
tutor_local-lms-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
tutor_local-lms-1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py", line 75, in inner
tutor_local-lms-1 | return func(*args, **kwds)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
tutor_local-lms-1 | return view_func(request, *args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./lms/djangoapps/discussion/views.py", line 206, in wrapped_view
tutor_local-lms-1 | return view_func(request, course_key, *args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./lms/djangoapps/discussion/views.py", line 219, in inline_discussion
tutor_local-lms-1 | user_info = cc_user.to_dict()
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 62, in to_dict
tutor_local-lms-1 | self.retrieve()
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 67, in retrieve
tutor_local-lms-1 | self._retrieve(*args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 152, in _retrieve
tutor_local-lms-1 | response = utils.perform_request(
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/utils.py", line 65, in perform_request
tutor_local-lms-1 | response = requests.request(
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/api.py", line 59, in request
tutor_local-lms-1 | return session.request(method=method, url=url, **kwargs)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/sessions.py", line 573, in request
tutor_local-lms-1 | prep = self.prepare_request(req)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/sessions.py", line 484, in prepare_request
tutor_local-lms-1 | p.prepare(
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/models.py", line 368, in prepare
tutor_local-lms-1 | self.prepare_url(url, params)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/models.py", line 439, in prepare_url
tutor_local-lms-1 | raise MissingSchema(
tutor_local-lms-1 | requests.exceptions.MissingSchema: Invalid URL '/api/v1/users/8': No scheme supplied. Perhaps you meant http:///api/v1/users/8?
tutor_local-lms-1 | 2023-04-08 10:11:06,001 ERROR 27 [django.request] [user 8] [ip ipaddress] log.py:224 - Internal Server Error: /courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline
tutor_local-lms-1 | Traceback (most recent call last):
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
tutor_local-lms-1 | response = get_response(request)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
tutor_local-lms-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
tutor_local-lms-1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py", line 75, in inner
tutor_local-lms-1 | return func(*args, **kwds)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
tutor_local-lms-1 | return view_func(request, *args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./lms/djangoapps/discussion/views.py", line 206, in wrapped_view
tutor_local-lms-1 | return view_func(request, course_key, *args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./lms/djangoapps/discussion/views.py", line 219, in inline_discussion
tutor_local-lms-1 | user_info = cc_user.to_dict()
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 62, in to_dict
tutor_local-lms-1 | self.retrieve()
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 67, in retrieve
tutor_local-lms-1 | self._retrieve(*args, **kwargs)
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 152, in _retrieve
tutor_local-lms-1 | response = utils.perform_request(
tutor_local-lms-1 | File "/openedx/edx-platform/./openedx/core/djangoapps/django_comment_common/comment_client/utils.py", line 65, in perform_request
tutor_local-lms-1 | response = requests.request(
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/api.py", line 59, in request
tutor_local-lms-1 | return session.request(method=method, url=url, **kwargs)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/sessions.py", line 573, in request
tutor_local-lms-1 | prep = self.prepare_request(req)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/sessions.py", line 484, in prepare_request
tutor_local-lms-1 | p.prepare(
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/models.py", line 368, in prepare
tutor_local-lms-1 | self.prepare_url(url, params)
tutor_local-lms-1 | File "/openedx/venv/lib/python3.8/site-packages/requests/models.py", line 439, in prepare_url
tutor_local-lms-1 | raise MissingSchema(
tutor_local-lms-1 | requests.exceptions.MissingSchema: Invalid URL '/api/v1/users/8': No scheme supplied. Perhaps you meant http:///api/v1/users/8?
tutor_local-caddy-1 | {"level":"error","ts":1680948666.119746,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"ipaddress","remote_port":"25122","proto":"HTTP/2.0","method":"GET","host":"mooc.res4city.eu","uri":"/courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline?page=1&sort_key=activity&sort_order=desc&ajax=1","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"mooc.res4city.eu"}},"user_id":"","duration":0.246608998,"size":3036,"status":500}
tutor_local-lms-1 | [pid: 27|app: 0|req: 978/2482] 172.18.0.4 () {56 vars in 3507 bytes} [Sat Apr 8 10:11:05 2023] GET /courses/course-v1:Res4city+EC101+2023_T1/discussion/forum/res4city11_2/inline?page=1&sort_key=activity&sort_order=desc&ajax=1 => generated 9432 bytes in 245 msecs (HTTP/1.1 500) 7 headers in 523 bytes (1 switches on core 0)
What I understand is, website trying to make an api call without http tag. Is there anythingh I can do to fix this? Thanks in advance.