The error "Cannot connect to amqp://celery:**@127.0.0.1:5672" usually means that your Celery is not configured properly, or RabbitMQ is not running.
You might find an answer by reading this thread: https://groups.google.com/forum/#!topic/openedx-ops/T81kyQMP90U On Saturday, September 2, 2017 at 8:24:42 AM UTC-7, reina az wrote: > > Hello > > Sorry i install edx ficus.master on ubuntu 16.04 > after configure ecommerce > unable to access http://localhost:18130/courses/ bad request > i unable to register new student or create new account after fill the form > and click on create it become grey and nothing happen the activate mail did > not send > also EDX_AP_KEY is not exit in the lms.env.json > > when i log with existing account and click on paid course enroll the > redirect site is not open > > i try the configuration many times but not success > > > File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/models.py", > line 141, in save > metric_action='model.update' > File "/edx/app/edxapp/edx-platform/lms/lib/comment_client/utils.py", > line 94, in perform_request > timeout=config.connection_timeout > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/requests/api.py", > > line 53, in request > return session.request(method=method, url=url, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/requests/sessions.py", > > line 468, in request > resp = self.send(prep, **send_kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/requests/sessions.py", > > line 576, in send > r = adapter.send(request, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/requests/adapters.py", > > line 449, in send > raise ReadTimeout(e, request=request) > ReadTimeout: HTTPConnectionPool(host='localhost', port=18080): Read timed > out. (read timeout=5.0) > Aug 31 22:41:18 edx > [service_variant=lms][celery.worker.consumer][env:sandbox] ERROR [edx > 2083] [consumer.py:364] - consumer: Cannot connect to amqp://celery:**@ > 127.0.0.1:5672//: [Errno 111] Connection refused. > Trying again in 32.00 seconds... > Aug 31 22:41:18 edx [service_variant=lms][root][env:sandbox] ERROR [edx > 11869] [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/csrf.py", > > line 58, in wrapped_view > return view_func(*args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/generic/base.py", > > line 71, in view > return self.dispatch(request, *args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", > > line 34, in _wrapper > return bound_func(*args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/debug.py", > > line 76, in sensitive_post_parameters_wrapper > return view(request, *args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", > > line 30, in bound_func > return func.__get__(self, type(self))(*args2, **kwargs2) > File > "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/user_api/views.py", > line 174, in dispatch > return super(RegistrationView, self).dispatch(request, *args, > **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/rest_framework/views.py", > > line 489, in dispatch > response = self.handle_exception(exc) > > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/rest_framework/views.py", > > line 449, in handle_exception > self.raise_uncaught_exception(exc) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/rest_framework/views.py", > > line 486, in dispatch > response = handler(request, *args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", > > line 34, in _wrapper > return bound_func(*args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", > > line 58, in wrapped_view > return view_func(*args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", > > line 30, in bound_func > return func.__get__(self, type(self))(*args2, **kwargs2) > File > "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/user_api/views.py", > line 150, in post > user = create_account_with_params(request, data) > File "/edx/app/edxapp/edx-platform/common/djangoapps/student/views.py", > line 2051, in create_account_with_params > compose_and_send_activation_email(user, profile, registration) > File "/edx/app/edxapp/edx-platform/common/djangoapps/student/views.py", > line 617, in compose_and_send_activation_email > send_activation_email.delay(subject, message_for_activation, > from_address, dest_addr) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/celery/app/task.py", > > line 453, in delay > return self.apply_async(args, kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/celery/app/task.py", > > line 559, in apply_async > **dict(self._get_exec_options(), **options) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/celery/app/base.py", > > line 353, in send_task > reply_to=reply_to or self.oid, **options > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/celery/app/amqp.py", > > line 305, in publish_task > **kwargs > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/messaging.py", > > line 172, in publish > routing_key, mandatory, immediate, exchange, declare) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", > > line 470, in _ensured > interval_max) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", > > line 382, in ensure_connection > interval_start, interval_step, interval_max, callback) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/utils/__init__.py", > > line 246, in retry_over_time > return fun(*args, **kwargs) > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", > > line 250, in connect > return self.connection > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", > > line 756, in connection > self._connection = self._establish_connection() > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", > > line 711, in _establish_connection > conn = self.transport.establish_connection() > File > "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/transport/pyamqp.py", > > line 116, in establish_connection > conn = self.Connection(**opts) > -- 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/492b2cc9-e776-4893-98a6-c185cfb3c248%40googlegroups.com.
