I have installed forum services on 3 machines. and installed one proxy
server for forum. Its working fine on user creation, but If I post
something on Discussion I am getting

Your request could not be processed. Refresh the page and try again.


It actually posted post in back. But error comes in front.



If I test forum installation

curl -v -X GET --header "X-Edx-Api-Key: password" "
http://10.0.0.7:18080/selftest";

* Connected to 10.0.0.7 (10.0.0.7) port 18080 (#0)
> GET /selftest HTTP/1.1
> Host: 10.0.0.7:18080
> User-Agent: curl/7.47.0
> Accept: */*
> X-Edx-Api-Key: password
>
< HTTP/1.1 200 OK
< Server: nginx/1.12.2
< Date: Thu, 25 Jan 2018 15:26:16 GMT
< Content-Type: application/json;charset=utf-8
< Content-Length: 754
< Connection: keep-alive
< Vary: Accept-Encoding
< Status: 200 OK
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< Content-Language: en-US
<
* Connection #0 to host 10.0.0.7 left intact
{"db":[{"hosts":["10.0.0.4:27017","10.0.0.5:27017","10.0.0.6:27017
"],"setName":"rs0","setVersion":3,"ismaster":true,"secondary":false,"primary":"
10.0.0.4:27017","me":"10.0.0.4:27017
","electionId":"7fffffff0000000000000003","maxBsonObjectSize":16777216,"maxMessageSizeBytes":48000000,"maxWriteBatchSize":1000,"localTime":"2018-01-25T15:26:16Z","maxWireVersion":4,"minWireVersion":0,"ok":1.0}],"es":{"cluster_name":"elasticsearch","status":"green","timed_out":false,"number_of_nodes":3,"number_of_data_nodes":3,"active_primary_shards":21,"active_shards":42,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"number_of_pending_tasks":0},"last_post_created":"2018-01-25T12:11:15Z","total_posts":4,"total_users":1,"elapsed_time":0.024070365}


And the /edx/var/log/lms/edx.log

Jan 25 15:16:18 skcluster2 [service_variant=lms][root][env:sandbox] ERROR
[skcluster2  2787] [exceptions.py:17] - Uncaught exception from <class
'django.core.handlers.wsgi.WSGIHandler'>
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/views/decorators/http.py",
line 45, in inner
    return func(request, *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/django_comment_client/base/views.py",
line 183, in wrapper
    return func(request, *args, **kwargs)
  File
"/edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/base/views.py",
line 384, in create_comment
    return _create_comment(request, CourseKey.from_string(course_id),
thread_id=thread_id)
  File
"/edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/base/views.py",
line 356, in _create_comment
    comment.save()
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py",
line 150, in save
    metric_action='model.insert'
  File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", line
111, in perform_request
    raise CommentClient500Error(response.text)
CommentClient500Error: u'<h1>Internal Server Error</h1>'


I reinstalled and restarted forum, nothing helps.

I am using ginkgo.2 version

-- 




Cheers,

Dhasthagheer
IT Consultant

-- 
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/CALJ7LH8VwybeVXKGAEF-3kfAy8JWYrsPU_rQeUGrqAS4Qo%3D25w%40mail.gmail.com.

Reply via email to