Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion forum not working in LMS #410

Closed
Gharat opened this issue Jul 16, 2013 · 1 comment
Closed

Discussion forum not working in LMS #410

Gharat opened this issue Jul 16, 2013 · 1 comment

Comments

@Gharat
Copy link

Gharat commented Jul 16, 2013

Request...

[16/Jul/2013 17:04:12] "GET /courses/Organization/1234/Course_Name/discussion/forum HTTP/1.1" 404 1673

Errors...

2013-07-16 17:04:12,083 ERROR 717 [comment_client.utils] utils.py:47 - Trying to call get on http://localhost:4567/api/v1/users/2 with params {'complete': True}
Traceback (most recent call last):
File "/home/edx/edx-platform/lms/lib/comment_client/utils.py", line 40, in perform_request
response = requests.request(method, url, params=data_or_params, timeout=5)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/safe_mode.py", line 39, in wrapped
return function(method, url, *_kwargs)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/api.py", line 51, in request
return session.request(method=method, url=url, *_kwargs)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/sessions.py", line 241, in request
r.send(prefetch=prefetch)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/models.py", line 634, in send
raise ConnectionError(sockerr)
ConnectionError: [Errno 111] Connection refused
2013-07-16 17:04:12,084 ERROR 717 [edx.discussions] views.py:181 - Error loading forum discussion threads: '[Errno 111] Connection refused'


Also for not working for New Post, Hide Discussion etc...

Request...

[16/Jul/2013 17:10:02] "GET /courses/Organization/1234/Course_Name/discussion/forum/b54f566bac3a4d95b00a3492be1a32b7/inline?page=1&ajax=1 HTTP/1.1" 404 1771

Errors....

2013-07-16 17:10:02,827 INFO 717 [requests.packages.urllib3.connectionpool] connectionpool.py:191 - Starting new HTTP connection (1): localhost
2013-07-16 17:10:02,831 INFO 717 [comment_client.utils] utils.py:44 - Deleting API key from params
2013-07-16 17:10:02,832 ERROR 717 [comment_client.utils] utils.py:47 - Trying to call get on http://localhost:4567/api/v1/users/2 with params {'complete': True}
Traceback (most recent call last):
File "/home/edx/edx-platform/lms/lib/comment_client/utils.py", line 40, in perform_request
response = requests.request(method, url, params=data_or_params, timeout=5)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/safe_mode.py", line 39, in wrapped
return function(method, url, *_kwargs)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/api.py", line 51, in request
return session.request(method=method, url=url, *_kwargs)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/sessions.py", line 241, in request
r.send(prefetch=prefetch)
File "/home/edx/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/requests/models.py", line 634, in send
raise ConnectionError(sockerr)
ConnectionError: [Errno 111] Connection refused

2013-07-16 17:10:02,832 ERROR 717 [edx.discussions] views.py:121 - Error loading inline discussion threads.

@Gharat
Copy link
Author

Gharat commented Jul 16, 2013

Solution - "Running the discussion service"

https://github.com/edx/edx-platform/blob/master/doc/discussion.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant