Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
35 kB
3
Indexable
Never
web_1                | [SQL] repeated query (30x): SELECT "account_user"."id", "account_user"."password", "account_user"."last_login", "account_user"."is_superuser", "account_user"."username", "account_user"."is_staff", "account_user"."is_active", "account_user"."date_joined", "account_user"."first_name", "account_user"."middle_name", "account_user"."last_name", "account_user"."email", "account_user"."login_attempts", "account_user"."lockout_time", "account_user"."is_deleted", "account_user"."sent_to_socure_watchlist_on", "account_user"."removed_from_socure_watchlist_on", "account_user"."external_user_id", "account_user"."preferred_language_id", "account_user"."servicing_customer_id", "account_user"."servicing_customer_created_on", "account_user"."session_token" FROM "account_user" WHERE "account_user"."id" = ? LIMIT 21
web_1                | WARNING:qinspect.middleware:[SQL] repeated query (30x): SELECT "account_user"."id", "account_user"."password", "account_user"."last_login", "account_user"."is_superuser", "account_user"."username", "account_user"."is_staff", "account_user"."is_active", "account_user"."date_joined", "account_user"."first_name", "account_user"."middle_name", "account_user"."last_name", "account_user"."email", "account_user"."login_attempts", "account_user"."lockout_time", "account_user"."is_deleted", "account_user"."sent_to_socure_watchlist_on", "account_user"."removed_from_socure_watchlist_on", "account_user"."external_user_id", "account_user"."preferred_language_id", "account_user"."servicing_customer_id", "account_user"."servicing_customer_created_on", "account_user"."session_token" FROM "account_user" WHERE "account_user"."id" = ? LIMIT 21
web_1                | Traceback:
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
web_1                |     self._bootstrap_inner()
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
web_1                |     self.run()
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 870, in run
web_1                |     self._target(*self._args, **self._kwargs)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
web_1                |     self.finish_request(request, client_address)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
web_1                |     self.RequestHandlerClass(request, client_address, self)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
web_1                |     self.handle()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 178, in handle
web_1                |     self.handle_one_request()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 201, in handle_one_request
web_1                |     handler.run(self.server.get_app())
web_1                |   File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
web_1                |     self.result = application(self.environ, self.start_response)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 76, in __call__
web_1                |     return self.application(environ, start_response)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 133, in __call__
web_1                |     response = self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 130, in get_response
web_1                |     response = self._middleware_chain(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/opt/project/source/utils/middleware/health_check_middleware.py", line 14, in __call__
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/easyaudit/middleware/easyaudit.py", line 53, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/middleware.py", line 57, in __call__
web_1                |     response = toolbar.process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/timer.py", line 65, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/headers.py", line 50, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/staticfiles.py", line 117, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   [Previous line repeated 1 more time]
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/logging.py", line 77, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
web_1                |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
web_1                |     return view_func(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
web_1                |     return self.dispatch(request, *args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
web_1                |     return bound_method(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
web_1                |     response = handler(request, *args, **kwargs)
web_1                |   File "/opt/project/source/consumer_portal/views/transfers.py", line 30, in post
web_1                |     return self.make_payment(request.data, account, ConsentTypeEnum.CONSUMER_ONE_TIME_PAYMENT.value)
web_1                |   File "/opt/project/source/consumer_portal/views/mixins.py", line 57, in make_payment
web_1                |     service = ConsumerTransfers(account, validated_data)
web_1                |   File "/opt/project/source/moov/services/transfers/consumer.py", line 47, in __init__
web_1                |     if not self.provider_details or not (self.has_verified_bank_account() or self.provider_details.has_cards):
web_1                |   File "/opt/project/source/moov/services/transfers/consumer.py", line 107, in has_verified_bank_account
web_1                |     response = self.moov.bank_accounts.list(account_id)
web_1                |   File "/opt/project/source/moov/apis/bank_account_api.py", line 43, in list
web_1                |     response = self.session.get(f"{self.base_url}/accounts/{account_id}/bank-accounts")
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 602, in get
web_1                |     return self.request("GET", url, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
web_1                |     resp = self.send(prep, **send_kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 710, in send
web_1                |     r = dispatch_hook("response", hooks, r, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/hooks.py", line 30, in dispatch_hook
web_1                |     _hook_data = hook(hook_data, **kwargs)
web_1                |   File "/opt/project/source/moov/apis/moov_api.py", line 55, in <lambda>
web_1                |     lambda response, **kwargs: log_request(
web_1                |   File "/opt/project/source/moov/utils/api_logging.py", line 101, in log_request
web_1                |     store_api_call_log(
web_1                |   File "/opt/project/source/utils/utils.py", line 599, in store_api_call_log
web_1                |     ApiCallLog.objects.create(
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
web_1                |     return getattr(self.get_queryset(), name)(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 453, in create
web_1                |     obj.save(force_insert=True, using=self.db)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 739, in save
web_1                |     self.save_base(using=using, force_insert=force_insert,
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 763, in save_base
web_1                |     pre_save.send(
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 180, in send
web_1                |     return [
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 181, in <listcomp>
web_1                |     (receiver, receiver(signal=self, sender=sender, **named))
web_1                |   File "/usr/local/lib/python3.8/site-packages/easyaudit/signals/model_signals.py", line 82, in pre_save
web_1                |     user = get_user_model().objects.get(pk=user.pk)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
web_1                |     return getattr(self.get_queryset(), name)(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 431, in get
web_1                |     num = len(clone)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 262, in __len__
web_1                |     self._fetch_all()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
web_1                |     self._result_cache = list(self._iterable_class(self))
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
web_1                |     results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
web_1                |     cursor.execute(sql, params)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/sql/tracking.py", line 198, in execute
web_1                |     return self._record(self.cursor.execute, sql, params)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/sql/tracking.py", line 133, in _record
web_1                |     return method(sql, params)
web_1                | 
web_1                | WARNING:qinspect.middleware:Traceback:
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
web_1                |     self._bootstrap_inner()
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
web_1                |     self.run()
web_1                |   File "/usr/local/lib/python3.8/threading.py", line 870, in run
web_1                |     self._target(*self._args, **self._kwargs)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
web_1                |     self.finish_request(request, client_address)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
web_1                |     self.RequestHandlerClass(request, client_address, self)
web_1                |   File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
web_1                |     self.handle()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 178, in handle
web_1                |     self.handle_one_request()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 201, in handle_one_request
web_1                |     handler.run(self.server.get_app())
web_1                |   File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
web_1                |     self.result = application(self.environ, self.start_response)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 76, in __call__
web_1                |     return self.application(environ, start_response)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 133, in __call__
web_1                |     response = self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 130, in get_response
web_1                |     response = self._middleware_chain(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/opt/project/source/utils/middleware/health_check_middleware.py", line 14, in __call__
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/easyaudit/middleware/easyaudit.py", line 53, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/middleware.py", line 57, in __call__
web_1                |     response = toolbar.process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/timer.py", line 65, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/headers.py", line 50, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/staticfiles.py", line 117, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   [Previous line repeated 1 more time]
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/logging.py", line 77, in process_request
web_1                |     return super().process_request(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 189, in process_request
web_1                |     return self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 117, in __call__
web_1                |     response = response or self.get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1                |     response = get_response(request)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
web_1                |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
web_1                |     return view_func(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
web_1                |     return self.dispatch(request, *args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
web_1                |     return bound_method(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
web_1                |     response = handler(request, *args, **kwargs)
web_1                |   File "/opt/project/source/consumer_portal/views/transfers.py", line 30, in post
web_1                |     return self.make_payment(request.data, account, ConsentTypeEnum.CONSUMER_ONE_TIME_PAYMENT.value)
web_1                |   File "/opt/project/source/consumer_portal/views/mixins.py", line 57, in make_payment
web_1                |     service = ConsumerTransfers(account, validated_data)
web_1                |   File "/opt/project/source/moov/services/transfers/consumer.py", line 47, in __init__
web_1                |     if not self.provider_details or not (self.has_verified_bank_account() or self.provider_details.has_cards):
web_1                |   File "/opt/project/source/moov/services/transfers/consumer.py", line 107, in has_verified_bank_account
web_1                |     response = self.moov.bank_accounts.list(account_id)
web_1                |   File "/opt/project/source/moov/apis/bank_account_api.py", line 43, in list
web_1                |     response = self.session.get(f"{self.base_url}/accounts/{account_id}/bank-accounts")
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 602, in get
web_1                |     return self.request("GET", url, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
web_1                |     resp = self.send(prep, **send_kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 710, in send
web_1                |     r = dispatch_hook("response", hooks, r, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/requests/hooks.py", line 30, in dispatch_hook
web_1                |     _hook_data = hook(hook_data, **kwargs)
web_1                |   File "/opt/project/source/moov/apis/moov_api.py", line 55, in <lambda>
web_1                |     lambda response, **kwargs: log_request(
web_1                |   File "/opt/project/source/moov/utils/api_logging.py", line 101, in log_request
web_1                |     store_api_call_log(
web_1                |   File "/opt/project/source/utils/utils.py", line 599, in store_api_call_log
web_1                |     ApiCallLog.objects.create(
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
web_1                |     return getattr(self.get_queryset(), name)(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 453, in create
web_1                |     obj.save(force_insert=True, using=self.db)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 739, in save
web_1                |     self.save_base(using=using, force_insert=force_insert,
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 763, in save_base
web_1                |     pre_save.send(
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 180, in send
web_1                |     return [
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 181, in <listcomp>
web_1                |     (receiver, receiver(signal=self, sender=sender, **named))
web_1                |   File "/usr/local/lib/python3.8/site-packages/easyaudit/signals/model_signals.py", line 82, in pre_save
web_1                |     user = get_user_model().objects.get(pk=user.pk)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
web_1                |     return getattr(self.get_queryset(), name)(*args, **kwargs)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 431, in get
web_1                |     num = len(clone)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 262, in __len__
web_1                |     self._fetch_all()
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
web_1                |     self._result_cache = list(self._iterable_class(self))
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
web_1                |     results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
web_1                |   File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
web_1                |     cursor.execute(sql, params)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/sql/tracking.py", line 198, in execute
web_1                |     return self._record(self.cursor.execute, sql, params)
web_1                |   File "/usr/local/lib/python3.8/site-packages/debug_toolbar/panels/sql/tracking.py", line 133, in _record
web_1                |     return method(sql, params)
web_1                | 
web_1                | [SQL] 156 queries (42 duplicates), 47 ms SQL time, 2599 ms total request time
web_1                | INFO:qinspect.middleware:[SQL] 156 queries (42 duplicates), 47 ms SQL time, 2599 ms total request time
Leave a Comment