Forum error 500 after update

213 views
Skip to first unread message

v...@osypets.com

unread,
Nov 11, 2016, 10:14:45 AM11/11/16
to General Open edX discussion
Hello!

After update I have error 500 on forums. In logs I see that comments service is disabled, but I'm not disable it. Please help!

```Nov 11 08:02:51 ip-172-31-31-48 [service_variant=lms][django.request][env:sandbox] ERROR [ip-172-31-31-48  29084] [base.py:256] - Internal Server Error: /courses/course-v1:ISCKON-UA+C-1+2016-09/discussion/forum/
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/views.py", line 169, in wrapped_view
    return view_func(request, course_key, *args, **kwargs)
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/views.py", line 220, in forum_form_discussion
    user_info = user.to_dict()
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", line 60, in to_dict
    self.retrieve()
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", line 65, in retrieve
    self._retrieve(*args, **kwargs)
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/user.py", line 151, in _retrieve
    metric_tags=self._metric_tags,
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", line 61, in perform_request
    raise CommentClientMaintenanceError('service disabled')
CommentClientMaintenanceError: 'service disabled'
Nov 11 08:02:51 ip-172-31-31-48 [service_variant=lms][request_cache][env:sandbox] WARNING [ip-172-31-31-48  29084] [__init__.py:66] - Could not retrieve the current request. A stub request will be created instead using settings.SITE_NAME. This should be used *only* in test cases, never in production!

Andy Armstrong

unread,
Nov 13, 2016, 5:18:38 PM11/13/16
to edx-...@googlegroups.com
This was a temporary issue on the master branch of edx-platform. If you rebase you should find that this error goes away.



--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/69a3eb32-6cf0-47c5-8f84-e568096643ff%40googlegroups.com.



--

Andy Armstrong

edX | UI Architect  | an...@edx.org  

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566
Reply all
Reply to author
Forward
0 new messages