Error with discussion forum - module temporarily unavailable

Hi All,
I’m getting the following error in Bitnami Open edX platform when I try to open the discussion tab for all courses.
I’ve included the error log below:

“We’re sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible.”

2022-06-20 04:03:22,035 ERROR 5069 [django.request] [user None] [ip None] log.py:222 - Internal Server Error: /courses/course-v1:edX+DemoX+Demo_Course/discussion/forum/
2022-06-20 04:03:23,825 ERROR 5070 [edx.courseware] [user 62] [ip XXXX:XXXX:XXX:XXXX:XXXX:XXXX:XXXX:XXXX] views.py:702 - Error in /courses/course-v1:edX+DemoX+Demo_Course/discussion/forum/: 
user=email@email.com, effective_user=email@email.com, course=course-v1:edX+DemoX+Demo_Course
Traceback (most recent call last):
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 154, in _retrieve
    response = utils.perform_request(
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/utils.py", line 83, in perform_request
    raise CommentClientRequestError(response.text, response.status_code)
openedx.core.djangoapps.django_comment_common.comment_client.utils.CommentClientRequestError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/courseware/views/views.py", line 617, in get
    return super(CourseTabView, self).get(request, course=course, page_context=page_context, **kwargs)
  File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python3.8/site-packages/web_fragments/views.py", line 25, in get
    fragment = self.render_to_fragment(request, **kwargs)
  File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/courseware/views/views.py", line 768, in render_to_fragment
    return tab.render_to_fragment(request, course, **kwargs)
  File "/opt/bitnami/apps/edx/edx-platform/common/lib/xmodule/xmodule/tabs.py", line 293, in render_to_fragment
    return self.fragment_view.render_to_fragment(request, course_id=six.text_type(course.id), **kwargs)
  File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/discussion/views.py", line 724, in render_to_fragment
    base_context = _create_base_discussion_view_context(request, course_key)
  File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/discussion/views.py", line 425, in _create_base_discussion_view_context
    user_info = cc_user.to_dict()
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 62, in to_dict
    self.retrieve()
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 67, in retrieve
    self._retrieve(*args, **kwargs)
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 165, in _retrieve
    self.save()
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 139, in save
    response = perform_request(
  File "/opt/bitnami/apps/edx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/utils.py", line 83, in perform_request
    raise CommentClientRequestError(response.text, response.status_code)
openedx.core.djangoapps.django_comment_common.comment_client.utils.CommentClientRequestError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for this URL.</p>
</body></html>

Hi @sidarth7! Welcome to the community!!

Bitnami is not an image that we support in the community. If you are beginning with Open edX, I recommend you start with Tutor, which is the official installation method now.
In this case, Forum is a Tutor plugin that must be enabled but works out of the box.

Alright. Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.