Closed purplesmoke05 closed 4 months ago
[2024-06-04 08:12:21 +0000] [203] [ERROR] Exception in ASGI application + Exception Group Traceback (most recent call last): | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_utils.py", line 87, in collapse_excgroups | yield | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 190, in __call__ | async with anyio.create_task_group() as task_group: | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 396, in run_asgi | result = await app( # type: ignore[func-returns-value] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ | return await self.app(scope, receive, send) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/fastapi/applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/applications.py", line 123, in __call__ | await self.middleware_stack(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in __call__ | raise exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in __call__ | await self.app(scope, receive, _send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__ | with collapse_excgroups(): | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ | self.gen.throw(value) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups | raise exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/ibet-Wallet-API/app/middleware/response_logger.py", line 56, in __call__ | res: Response = await call_next(req) | ^^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next | raise app_exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__ | with collapse_excgroups(): | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ | self.gen.throw(value) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups | raise exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/ibet-Wallet-API/app/middleware/strip_trailing_slash.py", line 51, in __call__ | res: Response = await call_next(req) | ^^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next | raise app_exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in __call__ | await self.app(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in __call__ | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app | raise exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/routing.py", line 776, in app | await route.handle(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle | await self.app(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/routing.py", line 77, in app | await wrap_app_handling_exceptions(app, request)(scope, receive, send) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app | raise exc | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/starlette/routing.py", line 72, in app | response = await func(request) | ^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/fastapi/routing.py", line 278, in app | raw_response = await run_endpoint_function( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/apl/.pyenv/versions/3.12.2/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function | return await dependant.call(**values) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/ibet-Wallet-API/app/api/routers/eth.py", line 437, in send_raw_transaction_no_wait | error_msg = err.args[0].get("message") | ^^^^^^^^^^^^^^^ | AttributeError: 'str' object has no attribute 'get' +------------------------------------
Describe the bug
Expected behavior