Skip to content

Request failed with status code 500 #66

@ILYAGVC

Description

@ILYAGVC

whale-panel | INFO: 172.19.0.1:38436 - "GET /path/dashboard/ HTTP/1.1" 500 Internal Server Error
whale-panel | ERROR: Exception in ASGI application
whale-panel | Traceback (most recent call last):
whale-panel | File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
whale-panel | result = await app( # type: ignore[func-returns-value]
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
whale-panel | return await self.app(scope, receive, send)
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1134, in call
whale-panel | await super().call(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 107, in call
whale-panel | await self.middleware_stack(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in call
whale-panel | raise exc
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in call
whale-panel | await self.app(scope, receive, _send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in call
whale-panel | await self.app(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in call
whale-panel | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
whale-panel | raise exc
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
whale-panel | await app(scope, receive, sender)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
whale-panel | await self.app(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in call
whale-panel | await self.middleware_stack(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
whale-panel | await route.handle(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
whale-panel | await self.app(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 125, in app
whale-panel | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
whale-panel | raise exc
whale-panel | File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
whale-panel | await app(scope, receive, sender)
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 111, in app
whale-panel | response = await f(request)
whale-panel | ^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 391, in app
whale-panel | raw_response = await run_endpoint_function(
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 290, in run_endpoint_function
whale-panel | return await dependant.call(**values)
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/backend/api/public/routers.py", line 37, in read_dashboard_data
whale-panel | _, users = await get_all_users_from_panel(
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/backend/services/task_handler.py", line 110, in get_all_users_from_panel
whale-panel | _clients = await admin_task.get_all_users()
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/backend/services/sanaei/task.py", line 44, in get_all_users
whale-panel | raise e
whale-panel | File "/app/backend/services/sanaei/task.py", line 23, in get_all_users
whale-panel | inbounds = await self.api_service.get_all_inbounds()
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/backend/services/sanaei/api.py", line 49, in get_all_inbounds
whale-panel | inbounds = await self.api.inbound.get_list()
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/py3xui/async_api/async_api_inbound.py", line 69, in get_list
whale-panel | inbounds = [Inbound.model_validate(data) for data in inbounds_json]
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | File "/app/.venv/lib/python3.12/site-packages/pydantic/main.py", line 716, in model_validate
whale-panel | return cls.pydantic_validator.validate_python(
whale-panel | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whale-panel | pydantic_core._pydantic_core.ValidationError: 5 validation errors for Inbound
whale-panel | settings.clients.1.reset
whale-panel | Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='', input_type=str]
whale-panel | For further information visit https://errors.pydantic.dev/2.12/v/int_parsing
whale-panel | settings.clients.2.reset
whale-panel | Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='', input_type=str]
whale-panel | For further information visit https://errors.pydantic.dev/2.12/v/int_parsing
whale-panel | settings.clients.3.reset
whale-panel | Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='', input_type=str]
whale-panel | For further information visit https://errors.pydantic.dev/2.12/v/int_parsing
whale-panel | settings.clients.4.reset
whale-panel | Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='', input_type=str]
whale-panel | For further information visit https://errors.pydantic.dev/2.12/v/int_parsing
whale-panel | settings.clients.5.reset
whale-panel | Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='', input_type=str]
whale-panel | For further information visit https://errors.pydantic.dev/2.12/v/int_parsing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions