Awesome!

*Trinh Nguyen *| Founder

<http://www.edlab.xyz>

*E:* dangtrin...@gmail.com | *W:* *www.edlab.xyz <http://www.edlab.xyz>*


On Tue, Jan 30, 2018 at 12:26 PM, Dhastha <dhasthagh...@gmail.com> wrote:

> I soled it. It is elastic search cluster configuration issue.
>
> On Tue, Jan 30, 2018 at 7:58 AM, Dhastha <dhasthagh...@gmail.com> 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 <dangtrin...@gmail.com>
>> 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:* dangtrin...@gmail.com | *W:* *www.edlab.xyz <http://www.edlab.xyz>*
>>>
>>>
>>> On Tue, Jan 30, 2018 at 4:28 AM, Dhastha <dhasthagh...@gmail.com> 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 <dhasthagh...@gmail.com>
>>>> 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,"sec
>>>>> ondary":false,"primary":"10.0.0.4:27017","me":"10.0.0.4:27017
>>>>> ","electionId":"7fffffff0000000000000003","maxBsonObjectSiz
>>>>> e":16777216,"maxMessageSizeBytes":48000000,"maxWriteBatchSiz
>>>>> e":1000,"localTime":"2018-01-25T15:26:16Z","maxWireVersion":
>>>>> 4,"minWireVersion":0,"ok":1.0}],"es":{"cluster_name":"elasti
>>>>> csearch","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-packa
>>>>> ges/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-packa
>>>>> ges/django/utils/decorators.py", line 145, in inner
>>>>>     return func(*args, **kwargs)
>>>>>   File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packa
>>>>> ges/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-packa
>>>>> ges/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/ms
>>>> gid/edx-code/CALJ7LH9BQ8H-wkbEorb7Ofbnd0rR6e7r1rJty14MA%3DwF
>>>> Mz7eUg%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/ms
>>> gid/edx-code/CADJ6S4FvAHiiMGmVcft2Dxp-4JbBcVExtEiHBUYWUf9pNW
>>> wCzw%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/CALJ7LH-rgQt9TFLEDG%3D0DOp-0rJ1xScC-
> aJ30zaJ-id5i7a6-A%40mail.gmail.com
> <https://groups.google.com/d/msgid/edx-code/CALJ7LH-rgQt9TFLEDG%3D0DOp-0rJ1xScC-aJ30zaJ-id5i7a6-A%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/CADJ6S4G73Wthy3dwg57nP2CO%3Dx1Mj_psiR9Xbyf%3DNRij_vq-pQ%40mail.gmail.com.

Reply via email to