Hello,

I am having the same issue. Checked RabbitMQ it seems to be working fine. 
Were you able to solve it?

On Friday, April 19, 2019 at 10:36:54 AM UTC+2, kos giannop wrote:
>
> Hi I have just checked out and I am getting these logs:
>
>
> Apr 19 11:33:19 openedx [service_variant=lms][py.warnings][env:sandbox] 
> WARNING [openedx  25210] [management.py:944] - 
> /edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py:944:
>  
> DeprecationWarning: Please use RegistrationView instead.
>   warnings.warn("Please use RegistrationView instead.", DeprecationWarning)
> Apr 19 11:33:19 openedx [service_variant=lms][audit][env:sandbox] INFO 
> [openedx  25210] [models.py:2382] - Login success - user.id: 98
> Apr 19 11:33:35 openedx [service_variant=lms][root][env:sandbox] ERROR 
> [openedx  25210] [signals.py:17] - Uncaught exception from None
> Traceback (most recent call last):
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/exception.py",
>  
> line 41, in inner
>     response = get_response(request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 249, in _legacy_get_response
>     response = self._get_response(request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 187, in _get_response
>     response = self.process_exception_by_middleware(e, request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 185, in _get_response
>     response = wrapped_callback(request, *callback_args, **callback_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/edx-platform/common/djangoapps/student/views/management.py", 
> line 947, in create_account
>     user = create_account_with_params(request, post_override or 
> request.POST)
>   File 
> "/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py", 
> line 742, in create_account_with_params
>     compose_and_send_activation_email(user, profile, registration)
>   File 
> "/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py", 
> line 275, 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 461, 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 573, 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 354, 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 310, 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)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 180, in __init__
>     (10, 30),  # tune
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/abstract_channel.py",
>  
> line 67, in wait
>     self.channel_id, allowed_methods, timeout)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 241, in _wait_method
>     channel, method_sig, args, content = read_timeout(timeout)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 330, in read_timeout
>     return self.method_reader.read_method()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/method_framing.py",
>  
> line 189, in read_method
>     raise m
> error: [Errno 104] Connection reset by peer
> Apr 19 11:33:35 openedx 
> [service_variant=lms][celery.worker.consumer][env:sandbox] ERROR [openedx  
> 3091] [consumer.py:366] - consumer: Cannot connect to amqp://celery:**@
> 127.0.0.1:5672//: [Errno 104] Connection reset by peer.
> Trying again in 30.00 seconds...
> Apr 19 11:33:35 openedx [service_variant=lms][django.request][env:sandbox] 
> ERROR [openedx  25210] [exception.py:135] - Internal Server Error: 
> /create_account
> Traceback (most recent call last):
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/exception.py",
>  
> line 41, in inner
>     response = get_response(request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 249, in _legacy_get_response
>     response = self._get_response(request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 187, in _get_response
>     response = self.process_exception_by_middleware(e, request)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 185, in _get_response
>     response = wrapped_callback(request, *callback_args, **callback_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/edx-platform/common/djangoapps/student/views/management.py", 
> line 947, in create_account
>     user = create_account_with_params(request, post_override or 
> request.POST)
>   File 
> "/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py", 
> line 742, in create_account_with_params
>     compose_and_send_activation_email(user, profile, registration)
>   File 
> "/edx/app/edxapp/edx-platform/common/djangoapps/student/views/management.py", 
> line 275, 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 461, 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 573, 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 354, 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 310, 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)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 180, in __init__
>     (10, 30),  # tune
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/abstract_channel.py",
>  
> line 67, in wait
>     self.channel_id, allowed_methods, timeout)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 241, in _wait_method
>     channel, method_sig, args, content = read_timeout(timeout)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py",
>  
> line 330, in read_timeout
>     return self.method_reader.read_method()
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/method_framing.py",
>  
> line 189, in read_method
>     raise m
> error: [Errno 104] Connection reset by peer
>
>
>
>
>
> On Friday, 19 April 2019 11:28:25 UTC+3, kos giannop wrote:
>>
>> Hi, it did not work.
>> any other clues? I do not see anything written in the log files
>>
>>
>> On Thursday, 18 April 2019 19:31:55 UTC+3, JITHIN SHA wrote:
>>>
>>> Hello bro,
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~
>>> EMAIL
>>>
>>> vim /edx/app/edxapp/lms.auth.json
>>>     "EMAIL_HOST_PASSWORD": "Password",
>>>     "EMAIL_HOST_USER": "activ...@example.com",
>>>
>>>
>>> vim /edx/app/edxapp/lms.env.json
>>>     "DEFAULT_FROM_EMAIL": "activ...@example.com",
>>>
>>>     "EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
>>>     "EMAIL_HOST": "smtp.office365.com",
>>>     "EMAIL_PORT": 587,
>>>     "EMAIL_USE_TLS": true,
>>>
>>> Office365    smtp.office365.com
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> I guess, you must have missed the DEFAULT_FROM_EMAIL env variable. Can 
>>> be tracked from /edx/var/log/lms/edx.log
>>>
>>> This was one error i faced while setting up. Kindly check it.
>>>
>>> Thanks
>>> J
>>>
>>>
>>> On Thu, Apr 18, 2019 at 9:59 PM Ned Batchelder <n...@edx.org> wrote:
>>>
>>>> Please limit your question to one mailing list at a time.  This seems 
>>>> like a question for the ops list.
>>>>
>>>> Thanks,
>>>>
>>>> --Ned.
>>>>
>>>> On Thu, Apr 18, 2019 at 4:25 AM kos giannop <giann...@gmail.com> wrote:
>>>>
>>>>> Hi on Hawthorn.1 verification emails after new account registration 
>>>>> are not sent. SMTP is setup correctly and emails on user password change 
>>>>> are sent. What is the problem with the new account verification? How to 
>>>>> debug it?
>>>>>
>>>>> -- 
>>>>> 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/0743726e-e7ff-47b0-81d2-668b625843ed%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/edx-code/0743726e-e7ff-47b0-81d2-668b625843ed%40googlegroups.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/CAGtJPNMaPwWbpv_TpkqXQT0bCcqzf1ZeLg8iy6VBc%3D5_QkZOLg%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/edx-code/CAGtJPNMaPwWbpv_TpkqXQT0bCcqzf1ZeLg8iy6VBc%3D5_QkZOLg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> JITHINSHA
>>> ജിതിന്‍ഷാ കെ എസ്
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to edx-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/62b12678-adfb-48bc-bd0a-051eb125f950%40googlegroups.com.

Reply via email to