For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundChangelogSign In
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
  • Overview
      • Can I use speaker diarization with Streaming Speech-to-Text?
      • How accurate is your Streaming transcription compared to Async transcription?
      • How does automatically scaling concurrency for Streaming STT work?
      • How does Universal Streaming session-based pricing work?
      • What languages are supported for Streaming Speech-to-text?
      • Resolving SSL Certificate Verification Error When Trying to Use Streaming STT
      • I am getting a "Model deprecated. See docs for new model information" error message. What does it mean?
LogoLogo
PlaygroundChangelogSign In
On this page
  • How to Resolve the Issue
  • For macOS Users
  • For Windows Users
  • Additional Resources
OverviewStreaming audio

Resolving SSL Certificate Verification Error When Trying to Use Streaming STT

Was this page helpful?
Previous

I am getting a "Model deprecated. See docs for new model information" error message. What does it mean?

Next
Built with

When using AssemblyAI’s Streaming Speech-to-Text feature (for example, the StreamingClient SDK connecting to wss://streaming.assemblyai.com/v3/ws), you may encounter the following error:

An error occurred: Could not connect to the streaming service: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)

This error is typically caused by outdated or incomplete SSL certificates on your system, particularly Python certificates.

How to Resolve the Issue

  1. Update your system’s SSL certificates, focusing on Python certificates.

  2. If you’re using Python, you may need to install or update the certifi package, which provides Mozilla’s root certificate bundle.

  3. On some systems, you might need to run a command to install certificates for Python. The exact command can vary depending on your operating system and Python installation.

For macOS Users

If you’re using macOS, you can try running the following command in your terminal:

/Applications/Python 3.x/Install Certificates.command

Replace “3.x” with your Python version number.

For Windows Users

On Windows, you might need to download and install the certificates manually. You can find instructions for this process online, specific to your version of Windows and Python.

Additional Resources

For more detailed information on resolving SSL certificate issues in Python, you can refer to this Stack Overflow article.

If you continue to experience issues after updating your certificates, please contact AssemblyAI support for further assistance.