From 8dc4f1cda0cb0da6efc2f84e08b462d36716d60a Mon Sep 17 00:00:00 2001 From: Arman Date: Mon, 14 Apr 2025 13:39:53 -0400 Subject: [PATCH] Troubleshooting SSL error --- examples/simple-chatbot/server/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/examples/simple-chatbot/server/README.md b/examples/simple-chatbot/server/README.md index 0de5a7d77..01ea1bff4 100644 --- a/examples/simple-chatbot/server/README.md +++ b/examples/simple-chatbot/server/README.md @@ -70,3 +70,17 @@ Run the server: ```bash python server.py ``` + +## Troubleshooting + +If you encounred this error: + +```bash +aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.daily.co:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')] +``` + +It's because Python cannot verify the SSL certificate from https://api.daily.co when making a POST request to create a room or token. + +This is a common issue when the system doesn't have the proper CA certificates. + +Install SSL Certificates (macOS): `/Applications/Python\ 3.12/Install\ Certificates.command`