这是indexloc提供的服务,不要输入任何密码
Skip to content

Deploy - Failed due to pydantic_core.validationError #120

@rapcmia

Description

@rapcmia

Describe the bug

When testing hummingbot deploy using staging docker image then deploy my config, my controller does not start due to error

Traceback (most recent call last):
  File "/home/hummingbot/./bin/hummingbot_quickstart.py", line 294, in <module>
    main()
  File "/home/hummingbot/./bin/hummingbot_quickstart.py", line 276, in main
    client_config_map = load_client_config_map_from_file()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hummingbot/hummingbot/client/config/config_helpers.py", line 654, in load_client_config_map_from_file
    client_config = ClientConfigMap(**config_data)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/hummingbot/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for client_config_map
certs_path
  Extra inputs are not permitted [type=extra_forbidden, input_value='/Users/dardonacci/Docume...s/work/hummingbot/certs', input_type=str]
    For further information visit https://errors.pydantic.dev/2.11/v/extra_forbidden
  • Checked development branch, same error ❌
  • Check latest branch, able to deploy ✅

Steps to reproduce bug

  1. Build docker image of staging or development branch locally
  2. Clone hummingbot deploy, setup a config then deploy
  3. Check instance page, if not container:
  • Check terminal and run docker ps -a
  • Check ./bots/instance/your-container/logs/error.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions