PSU-CSAR / django-ebagis

Django app for the eBAGIS web platform.
1 stars 0 forks source link

Error when dowloading AOI #64

Closed aidakeifer closed 7 years ago

aidakeifer commented 7 years ago

Here is the traceback:

Environment:

Request Method: POST
Request URL: http://localhost:8000/aois/f81b97fe-1cda-4293-9b5a-403ad0f0dd9f/

Django Version: 1.11
Python Version: 2.7.13
Installed Applications:
('ebagis',
 'ebagis.data',
 'ebagis_ui',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.gis',
 'django.contrib.sites',
 'crispy_forms',
 'django_filters',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'djcelery',
 'rest_framework',
 'rest_framework_gis',
 'rest_framework_swagger',
 'drf_chunked_upload',
 'django_extensions',
 'debug_toolbar')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'debug_toolbar.middleware.DebugToolbarMiddleware')

Traceback:

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\core\handlers\exception.py" in inner
  41.             response = get_response(request)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\core\handlers\base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\core\handlers\base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\core\handlers\base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\views\generic\base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\contrib\auth\mixins.py" in dispatch
  56.         return super(LoginRequiredMixin, self).dispatch(request, *args, **kwargs)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\django\views\generic\base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "d:\projects\ebagis\development\ebagis_aida2\django-ebagis\ebagis_ui\views.py" in post
  28.             return self._action_download(request)

File "d:\projects\ebagis\development\ebagis_aida2\django-ebagis\ebagis_ui\views.py" in _action_download
  40.             result = export_data.delay(str(download.pk))

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\celery\app\task.py" in delay
  461.         return self.apply_async(args, kwargs)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\celery\app\task.py" in apply_async
  573.             **dict(self._get_exec_options(), **options)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\celery\app\base.py" in send_task
  354.                 reply_to=reply_to or self.oid, **options

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\celery\app\amqp.py" in publish_task
  310.             **kwargs

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\messaging.py" in publish
  172.                        routing_key, mandatory, immediate, exchange, declare)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\connection.py" in _ensured
  470.                                            interval_max)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\connection.py" in ensure_connection
  382.                         interval_start, interval_step, interval_max, callback)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\utils\__init__.py" in retry_over_time
  246.             return fun(*args, **kwargs)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\connection.py" in connect
  250.         return self.connection

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\connection.py" in connection
  756.                 self._connection = self._establish_connection()

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\connection.py" in _establish_connection
  711.         conn = self.transport.establish_connection()

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\kombu\transport\pyamqp.py" in establish_connection
  116.         conn = self.Connection(**opts)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\amqp\connection.py" in __init__
  180.                 (10, 30),  # tune

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\amqp\abstract_channel.py" in wait
  67.             self.channel_id, allowed_methods, timeout)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\amqp\connection.py" in _wait_method
  241.             channel, method_sig, args, content = read_timeout(timeout)

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\amqp\connection.py" in read_timeout
  330.             return self.method_reader.read_method()

File "C:\Anaconda_x86\envs\ebagis_aida3\lib\site-packages\amqp\method_framing.py" in read_method
  189.             raise m

Exception Type: error at /aois/f81b97fe-1cda-4293-9b5a-403ad0f0dd9f/
Exception Value: [Errno 10054] An existing connection was forcibly closed by the remote host
jkeifer commented 7 years ago

This issue has not been reproducible. I don't imagine it will reoccur, but we can reopen if it becomes a larger issue than expected.