create new course error

255 views
Skip to first unread message

Ahmad Abd Arrahman

unread,
Aug 16, 2015, 11:17:18 PM8/16/15
to General Open edX discussion
after installing cypress release on fresh 12.04 ubuntu every thing was fine, while trying to create or re-run courses I get this error

Aug 17 03:09:57 ip-10-5-158-226 [service_variant=cms][xmodule.modulestore.django][env:sandbox] INFO [ip-10-5-158-226  28390] [django.py:108] - Sent course_published signal to <function listen_for_course_publish at 0x79b0de8> with kwargs {'course_key': CourseLocator(u'abc', u'abc', u'abc', None, None)}. Response was: None

Aug 17 03:09:57 ip-10-5-158-226 [service_variant=cms][xmodule.modulestore.django][env:sandbox] INFO [ip-10-5-158-226  28390] [django.py:108] - Sent course_published signal to <function listen_for_course_publish at 0x79b0f50> with kwargs {'course_key': CourseLocator(u'abc', u'abc', u'abc', None, None)}. Response was: [Errno 104] Connection reset by peer

Aug 17 03:09:57 ip-10-5-158-226 [service_variant=cms][xmodule.modulestore.django][env:sandbox] INFO [ip-10-5-158-226  28390] [django.py:108] - Sent course_published signal to <function _listen_for_course_publish at 0x79c1a28> with kwargs {'course_key': CourseLocator(u'abc', u'abc', u'abc', None, None)}. Response was: None

Aug 17 03:09:57 ip-10-5-158-226 [service_variant=cms][xmodule.modulestore.django][env:sandbox] INFO [ip-10-5-158-226  28390] [django.py:108] - Sent course_published signal to <function listen_for_course_publish at 0x5643668> with kwargs {'course_key': CourseLocator(u'abc', u'abc', u'abc', None, None)}. Response was: [Errno 104] Connection reset by peer

Aug 17 03:10:14 ip-10-5-158-226 [service_variant=cms][root][env:sandbox] ERROR [ip-10-5-158-226  28395] [exceptions.py:9] - 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 109, in get_response

    response = callback(request, *callback_args, **callback_kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 264, in course_handler

    return course_index(request, CourseKey.from_string(course_key_string))

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view

    response = view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 544, in course_index

    deprecated_blocks_info = _deprecated_blocks_info(course_module, settings.DEPRECATED_BLOCK_TYPES)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 504, in _deprecated_blocks_info

    structure_data = api.course_structure(course_module.id, block_types=deprecated_block_types)

  File "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/content/course_structures/api/v0/api.py", line 103, in course_structure

    tasks.update_course_structure.delay(unicode(course_key))

  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 457, in _ensured

    interval_max)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 369, 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 243, in retry_over_time

    return fun(*args, **kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 237, in connect

    return self.connection

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 741, in connection

    self._connection = self._establish_connection()

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 696, 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)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py", line 240, in _wait_method

    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

Aug 17 03:10:14 ip-10-5-158-226 [service_variant=cms][django.request][env:sandbox] ERROR [ip-10-5-158-226  28395] [base.py:213] - Internal Server Error: /course/course-v1:abc+abc+abc

Traceback (most recent call last):

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response

    response = callback(request, *callback_args, **callback_kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 264, in course_handler

    return course_index(request, CourseKey.from_string(course_key_string))

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view

    response = view_func(request, *args, **kwargs)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 544, in course_index

    deprecated_blocks_info = _deprecated_blocks_info(course_module, settings.DEPRECATED_BLOCK_TYPES)

  File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 504, in _deprecated_blocks_info

    structure_data = api.course_structure(course_module.id, block_types=deprecated_block_types)

  File "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/content/course_structures/api/v0/api.py", line 103, in course_structure

    tasks.update_course_structure.delay(unicode(course_key))

  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 457, in _ensured

    interval_max)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 369, 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 243, in retry_over_time

    return fun(*args, **kwargs)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 237, in connect

    return self.connection

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 741, in connection

    self._connection = self._establish_connection()

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/kombu/connection.py", line 696, 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)

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/connection.py", line 240, in _wait_method

    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



what should this "Connection reset by peer" mean ?

David Baumgold

unread,
Aug 17, 2015, 12:51:27 PM8/17/15
to General Open edX discussion
Ahmad, problems relating to installation and configuration don't belong on the edx-code mailing list, they should go to openedx-ops instead. edx-code is for discussion around development and few features, as well as topics that don't fit into our existing set of mailing lists. The list of mailing lists is here: https://open.edx.org/resources/e-mail-lists

DB

Дмитрий Утробин

unread,
Oct 31, 2016, 12:14:10 AM10/31/16
to General Open edX discussion
Hello! I have same problem. Have you solved it?

понедельник, 17 августа 2015 г., 10:17:18 UTC+7 пользователь Ahmad Abd Arrahman написал:
Reply all
Reply to author
Forward
0 new messages