Hello Dhastha, How did you solve this problem because I take this error sometimes.
30 Ocak 2018 Salı 04:26:50 UTC+1 tarihinde Dhastha Gheer yazdı: > > I soled it. It is elastic search cluster configuration issue. > > On Tue, Jan 30, 2018 at 7:58 AM, Dhastha <dhasth...@gmail.com > <javascript:>> wrote: > >> I am getting following error in /edx/var/log/supervisor/forum-stderr.log >> >> Elasticsearch::Transport::Transport::Errors::BadRequest - [400] >> {"error":"ElasticsearchIllegalArgumentException[Alias [content] has more >> than one indices associated with it [[content_20180117123248692, >> content_20180117123246596]], can't execute a single index >> op]","status":400}: >> >> >> >> On Tue, Jan 30, 2018 at 6:13 AM, Trinh Nguyen <dangt...@gmail.com >> <javascript:>> wrote: >> >>> Hi Dhasthagheer, >>> >>> You could try to look at these logs: >>> >>> /edx/var/log/supervisor/forum-stdout.log >>> /edx/var/log/supervisor/forum-stderr.log >>> >>> Hope that will help, >>> >>> >>> *Trinh Nguyen *| Founder >>> >>> <http://www.edlab.xyz> >>> >>> *E:* dangt...@gmail.com <javascript:> | *W:* *www.edlab.xyz >>> <http://www.edlab.xyz>* >>> >>> >>> On Tue, Jan 30, 2018 at 4:28 AM, Dhastha <dhasth...@gmail.com >>> <javascript:>> wrote: >>> >>>> Am I missing anything here? Could anyone please point me to the >>>> location of relevant logs in case I am missing it? >>>> >>>> @Ned - Could you please give me your opinion on this? >>>> Any help regarding pointing to the concerned people would be truly >>>> appreciated. >>>> >>>> On Thu, Jan 25, 2018 at 9:03 PM, Dhastha <dhasth...@gmail.com >>>> <javascript:>> wrote: >>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> >>>> 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/CALJ7LH9BQ8H-wkbEorb7Ofbnd0rR6e7r1rJty14MA%3DwFMz7eUg%40mail.gmail.com >>>> >>>> <https://groups.google.com/d/msgid/edx-code/CALJ7LH9BQ8H-wkbEorb7Ofbnd0rR6e7r1rJty14MA%3DwFMz7eUg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> -- >>> 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/CADJ6S4FvAHiiMGmVcft2Dxp-4JbBcVExtEiHBUYWUf9pNWwCzw%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/edx-code/CADJ6S4FvAHiiMGmVcft2Dxp-4JbBcVExtEiHBUYWUf9pNWwCzw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> >> -- >> >> >> >> >> Cheers, >> >> Dhasthagheer >> IT Consultant >> > > > > -- > > > > > 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/372668f6-4a6a-4d8e-8abe-cee2fb6b7979%40googlegroups.com.