busy-breakfast-32623
11/12/2025, 8:16 AMtall-airline-16756
11/12/2025, 8:16 AMtall-airline-16756
11/12/2025, 8:17 AMaiohttp.client_exceptions.ClientConnectorCertificateError. This usually happens due to SSL/TLS certificate verification issues. Let's work through some steps that can help resolve this together:
1. Upgrade Certificates: First, make sure your Python environment has the latest CA certificates by running:
pip install --upgrade certifi
2. Configure aiohttp: You can adjust the SSL settings in your aiohttp client. For example, to temporarily disable SSL verification (please note, this isn’t recommended for production environments):
import aiohttp
import ssl
ssl_context = ssl.create_default_context()
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=ssl_context))
3. Inject Custom Session: If you’re using LiveKit plugins like Deepgram STT, you can pass the custom session like this:
DeepgramSTT(http_session=session)
4. Corporate Proxy: If you’re behind a corporate proxy, please check that domains such as *.livekit.cloud are excluded from deep packet inspection, as this can interfere with SSL verification.
Please feel free to reach out if you want me to guide you through any of these steps or if you have any other questions. I’m here to help!
Sources: livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt_v2.py | Automation & Knowledge Management Tools | livekit/livekit_composite | DeepW... | Zscaler proxy configuration