You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yt_bot exited with code 1
yt_bot | [RabbitMQ] Waiting to be reachable on port 5672
yt_bot | [PostgreSQL] Waiting to be reachable on port 5432
yt_bot | [RabbitMQ] Connection on port 5672 verified
yt_bot | [PostgreSQL] Connection on port 5432 verified
yt_bot | Traceback (most recent call last):
yt_bot | File "/app/main.py", line 3, in
yt_bot | from api.core.app import app # noqa: F401
yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yt_bot | File "/app/api/core/app.py", line 10, in
yt_bot | from api.core.config import settings
yt_bot | File "/app/api/core/config.py", line 10, in
yt_bot | settings = ApiSettings()
yt_bot | ^^^^^^^^^^^^^
yt_bot | File "/usr/local/lib/python3.11/site-packages/pydantic_settings/main.py", line 71, in init
yt_bot | super().init(
yt_bot | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 171, in init
yt_bot | self.pydantic_validator.validate_python(data, self_instance=self)
yt_bot | pydantic_core.pydantic_core.ValidationError: 3 validation errors for ApiSettings
yt_bot | API_HOST
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
yt_bot | API_PORT
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt_...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
yt_bot | API_WORKERS
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt_...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
The text was updated successfully, but these errors were encountered:
Did you delete the envs/.env_api file or edit docker-compose.yaml file?
Your error says it can't found API_HOST, API_PORT and API_WORKERS variables which are stored envs/.env_api file.
yt_bot exited with code 1
yt_bot | [RabbitMQ] Waiting to be reachable on port 5672
yt_bot | [PostgreSQL] Waiting to be reachable on port 5432
yt_bot | [RabbitMQ] Connection on port 5672 verified
yt_bot | [PostgreSQL] Connection on port 5432 verified
yt_bot | Traceback (most recent call last):
yt_bot | File "/app/main.py", line 3, in
yt_bot | from api.core.app import app # noqa: F401
yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yt_bot | File "/app/api/core/app.py", line 10, in
yt_bot | from api.core.config import settings
yt_bot | File "/app/api/core/config.py", line 10, in
yt_bot | settings = ApiSettings()
yt_bot | ^^^^^^^^^^^^^
yt_bot | File "/usr/local/lib/python3.11/site-packages/pydantic_settings/main.py", line 71, in init
yt_bot | super().init(
yt_bot | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 171, in init
yt_bot | self.pydantic_validator.validate_python(data, self_instance=self)
yt_bot | pydantic_core.pydantic_core.ValidationError: 3 validation errors for ApiSettings
yt_bot | API_HOST
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
yt_bot | API_PORT
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt_...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
yt_bot | API_WORKERS
yt_bot | Field required [type=missing, input_value={'APPLICATION_NAME': 'yt_...ADED_DIR': 'downloaded'}, input_type=dict]
yt_bot | For further information visit https://errors.pydantic.dev/2.6/v/missing
The text was updated successfully, but these errors were encountered: