hello
while register in lms ... I found this error 
lms-base-vendor.8ec246e28d47.js:4 POST 
http://localhost/user_api/v1/account/registration/ 500 (INTERNAL SERVER 
ERROR)
send @ lms-base-vendor.8ec246e28d47.js:4
ajax @ lms-base-vendor.8ec246e28d47.js:4
sync @ logistration_factory.0af29102808f.js?raw:1
save @ lms-base-vendor.8ec246e28d47.js:10
submitForm @ logistration_factory.0af29102808f.js?raw:1
submitForm @ logistration_factory.0af29102808f.js?raw:1
dispatch @ lms-base-vendor.8ec246e28d47.js:2
elemData.handle @ lms-base-vendor.8ec246e28d47.js:2

Uncaught SyntaxError: Unexpected token < in JSON at position 8
    at JSON.parse (<anonymous>)
    at child.saveError (logistration_factory.0af29102808f.js?raw:1)
    at triggerEvents (lms-base-vendor.8ec246e28d47.js:10)
    at triggerApi (lms-base-vendor.8ec246e28d47.js:10)
    at eventsApi (lms-base-vendor.8ec246e28d47.js:10)
    at child.Events.trigger (lms-base-vendor.8ec246e28d47.js:10)
    at Object.error (logistration_factory.0af29102808f.js?raw:1)
    at fire (lms-base-vendor.8ec246e28d47.js:2)
    at Object.fireWith [as rejectWith] (lms-base-vendor.8ec246e28d47.js:2)
    at done (lms-base-vendor.8ec246e28d47.js:4)

<https://lh3.googleusercontent.com/-Asfyb8kx3wI/Wk-HbMUEmgI/AAAAAAAABb0/FD3bf-eRUuwBIWBOBmMEjiE2ctocPQp_ACLcBGAs/s1600/Screenshot%2Bfrom%2B2018-01-05%2B15_56_25.jpg>

while submit quiz in lms this error appear 


<https://lh3.googleusercontent.com/-rPOH-qQphQE/Wk-GXvmGN5I/AAAAAAAABbo/O5sygu8twK8gjnogALea-QFdH3ILSaJFwCLcBGAs/s1600/Screenshot%2Bfrom%2B2018-01-05%2B16%253A05%253A09.png>

...........................and this in edx.log

Jan  5 14:05:05 SCECWeb3AZ 
[service_variant=lms][courseware.module_render][env:sandbox]

 WARNING [SCECWeb3AZ  2961] [module_render.py:1002] - Module encountered an 
error while processing AJAX call

Traceback (most recent call last):

  File 
"/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/module_render.py", 
line 982, in _invoke_xblock_handler

    resp = instance.handle(handler, req, suffix)

  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py",
 
line 89, in handle

    return self.runtime.handle(self, handler_name, request, suffix)

  File 
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 
1339, in handle

    return super(MetricsMixin, self).handle(block, handler_name, request, 
suffix=suffix)

  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/runtime.py",
 
line 1029, in handle

    results = handler(request, suffix)

  File 
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 
883, in xmodule_handler

    response_data = self.handle_ajax(suffix, request_post)

  File 
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/capa_module.py", 
line 92, in handle_ajax

    result = handlers[dispatch](data)

  File 
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/capa_base.py", 
line 1259, in submit_problem

    published_grade = self.publish_grade()

  File 
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/capa_base.py", 
line 1139, in publish_grade

    'only_if_higher': only_if_higher,

  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 165, in __init__

    self.transport = self.Transport(host, connect_timeout, ssl)

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

    return create_transport(host, connect_timeout, ssl)

  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/transport.py",
 
line 299, in create_transport

    return TCPTransport(host, connect_timeout)

  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/amqp/transport.py",
 
line 95, in __init__

    raise socket.error(last_err)

ProcessingError:  Thank You, Your answer has been submitted.
Jan  5 14:05:20 SCECWeb3AZ 
[service_variant=lms][celery.worker.consumer][env:sandbox] 
ERROR [SCECWeb3AZ  1535] [consumer.py:364] - consumer: Cannot connect to 
amqp://celery:**@localhost:5672//: timed out.
Trying again in 32.00 seconds...

I can't solve these problems so Can any one help me and thnx 

-- 
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/630b25ec-f2f8-42da-94a6-5768ff65fb98%40googlegroups.com.

Reply via email to