deploy-examples
deploy-examples copied to clipboard
Deploy - Failed due to pydantic_core.validationError
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
- Build docker image of staging or development branch locally
- Clone hummingbot deploy, setup a config then deploy
- Check instance page, if not container:
- Check terminal and run
docker ps -a - Check
./bots/instance/your-container/logs/error.log
Workaround:
- Comment out the line
certs..or delete - Relaunch deploy and deploy container again