Полная трассировка стека, надеюсь, это поможет:
HTTP GET https://api.stubsites.com/api/v1/electrostub/events?page=1
wsgiserver_1 | File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
wsgiserver_1 | self._bootstrap_inner()
wsgiserver_1 | File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
wsgiserver_1 | self.run()
wsgiserver_1 | File "/usr/local/lib/python3.8/threading.py", line 870, in run
wsgiserver_1 | self._target(*self._args, **self._kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
wsgiserver_1 | work_item.run()
wsgiserver_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
wsgiserver_1 | result = self.fn(*self.args, **self.kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 277, in thread_handler
wsgiserver_1 | return func(*args, **kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/channels/http.py", line 244, in handle
wsgiserver_1 | response = self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 75, in get_response
wsgiserver_1 | response = self._middleware_chain(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
wsgiserver_1 | response = response or self.get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
wsgiserver_1 | response = get_response(request)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
wsgiserver_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
wsgiserver_1 | return view_func(*args, **kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/rest_framework/viewsets.py", line 114, in view
wsgiserver_1 | return self.dispatch(request, *args, **kwargs)
wsgiserver_1 | File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch
wsgiserver_1 | response = handler(request, *args, **kwargs)
wsgiserver_1 | File "/src/backend/server/apps/databases/views.py", line 51, in synchronize
wsgiserver_1 | self.register_synchronize_task(request.data["provider"])
wsgiserver_1 | File "/src/backend/server/apps/databases/views.py", line 166, in register_synchronize_task
wsgiserver_1 | provider.get_events()
wsgiserver_1 | File "/src/backend/server/apps/databases/providers/ElectrostubProvider.py", line 37, in get_events
wsgiserver_1 | traceback.print_stack()