Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 473, in spawn_worker
worker.init_process()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 100, in init_process
self.wsgi = self.app.wsgi()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 106, in wsgi
self.callable = self.load()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 27, in load
return util.import_app(self.app_uri)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/util.py", line 353, in import_app
__import__(module)
File "/edx/app/edxapp/edx-platform/lms/wsgi.py", line 33, in <module>
modulestore()
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/django.py", line 319, in modulestore
contentstore(),
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/django.py", line 28, in contentstore
_CONTENTSTORE[name] = class_(**options)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/mongo.py", line 42, in __init__
port=port, tz_aware=tz_aware, user=user, password=password, proxy=proxy, **kwargs
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/mongo_utils.py", line 50, in connect_to_mongodb
**kwargs
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 425, in __init__
raise ConnectionFailure(str(e))
ConnectionFailure: [Errno 111] Connection refused
I think we’ll need a lot more information to understand what the issue is here.
Is this running in the devstack? Can you see if perhaps the MongoDB container has stopped?
How does your server usually conntect to MongoDB. Is it running on the same server? Can you check if the MongoDB server is still available.
Could you share more information about your setup?
found a temporary solution. here
but this issue coming several times a day.
for configuration information. using native installation ubuntu 16.04 ironwood.