SSL Certificate Error When Connecting to Maestro in Python
Why did the bot fail to connect to Maestro?
The bot failed because, in Python, the call to Maestro did not ignore the self-signed SSL certificate from the proxy or server.
This issue is common in corporate environments that use internal certificates or traffic inspection proxies.
How can I fix the SSL certificate issue?
You need to adjust the SSL verification before running the bot again.
You can either disable SSL verification or install the Certificate Authority (CA) certificate.
Example of disabling verification in the code:
Important note about VERIFY_SSL_CERT
For the flag maestro.VERIFY_SSL_CERT = False to work properly, the botcity-maestro-sdk dependency must be version 0.7.0 or higher (PyPI).
Quick fix
In your bot code, define the flag to ignore SSL certificates:
This allows the bot to reconnect successfully, even in environments using self-signed certificates.
Related Articles
Resolving SSL certificate verification issues when running commands using 'pip'
Access blocks are quite common in corporate environments. As a result, you may encounter problems when trying to use BotCity tools and Python resources on a machine in your company's environment. One problem that may occur in these scenarios is the ...
How to fix Python environment preparation failed error
A very common error when executing automations through the Runner is Python Environment Preparation Failed. As the name suggests, the Runner fails when trying to prepare the Python environment for the robot's execution. This error occurs in different ...
What Features Are Available on a Free BotCity Maestro Account ?
Description A common question from new users of BotCity Maestro is what features are included in a free (community) account. These questions often come through the support chat on the sign-up screen, and usually include: How many bots can I create? ...
Error Running Edge Browser via Orchestrator: How to Fix It?
Issue During the execution of robots using the Microsoft Edge browser through the orchestrator, a specific issue was identified: the browser did not start correctly, whereas when running locally, the flow executed normally. The error presented was: ...
Error Running Wizard.exe: How to Fix It?
Issue When attempting to start the installation, configuration, or authentication process of the BotCity Runner using the wizard in .exe format, you may encounter difficulties opening the file. This error usually occurs due to company security ...