This was a temporary issue on the master branch of edx-platform. If you
rebase you should find that this error goes away.

You can see the fix here: https://github.com/edx/edx-platform/pull/13928


On Fri, Nov 11, 2016 at 7:05 AM, <[email protected]> wrote:

> 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!
>
> --
> 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
> <https://groups.google.com/d/msgid/edx-code/69a3eb32-6cf0-47c5-8f84-e568096643ff%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>



-- 

*Andy Armstrong*

edX | UI Architect  | [email protected]

141 Portland Street, 9th floor

Cambridge, MA 02139
http://www.edx.org <http://www.edxonline.org/>

[image:
http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566]

-- 
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/CAG2ZmnCeEq7oP8592Am%3DkTnWeJ8N_f6HZ_W%3D22Su4BqCKkm9Zg%40mail.gmail.com.

Reply via email to