CommentClientRequestError: u'<html>\r\n<head><title>405 Not 
Allowed</title></head>\r\n<body bgcolor="white">\r\n<center><h1>405 Not 
Allowed</h1></center>\r\n<hr><center>nginx/1.12.2</center>\r\n</body>\r\n</html>\r\n'
Feb  9 10:39:21 ubuntu [service_variant=lms][django.request][env:sandbox] 
ERROR [ubuntu  27519] [base.py:256] - Internal Server Error: 
/courses/course-v1:edx10+edx10+edx10/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 
157, in _retrieve
    self.save()
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", 
line 142, in save
    metric_action='model.update'
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", line 
104, in perform_request
    raise CommentClientRequestError(response.text, response.status_code)
CommentClientRequestError: u'<html>\r\n<head><title>405 Not 
Allowed</title></head>\r\n<body bgcolor="white">\r\n<center><h1>405 Not 
Allowed</h1></center>\r\n<hr><center>nginx/1.12.2</center>\r\n</body>\r\n</html>\r\n'
Feb  9 10:39:21 ubuntu [service_variant=lms][request_cache][env:sandbox] 
WARNING [ubuntu  27519] [__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!



for this error resolved, what should i do. plz  your support

-- 
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/efeffe62-a96d-457a-a8ad-6186764bfa5f%40googlegroups.com.

Reply via email to