deploy-examples icon indicating copy to clipboard operation
deploy-examples copied to clipboard

Deploy - Failed due to pydantic_core.validationError

Open rapcmia opened this issue 3 months ago • 1 comments

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

rapcmia avatar Sep 22 '25 14:09 rapcmia

Workaround:

  • Comment out the line certs.. or delete
  • Relaunch deploy and deploy container again Image

rapcmia avatar Sep 22 '25 15:09 rapcmia