Connection Failed Error with Speech SDK

timesnap mhex 20 Reputation points
2023-03-22T15:15:07.4433333+00:00

Some problems happend after I updated my ssl lib to openssl1.1.1f

Below is the error returned from azure cogntive service

CANCELED: ErrorDetails=Connection failed (no connection to the remote host).

Internal error: 1. Error details: Code: 2550.

When I reverted the upgradation the issue didn't occur again.

I also refered the doc below but not affacted

https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-configure-openssl-linux?pivots=programming-language-java

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,374 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 42,116 Reputation points Microsoft Employee
    2023-03-23T08:52:58.8166667+00:00

    @timesnap mhex I think this error indicates that OpenSSL certificate verification failed on your machine after the upgrade. Azure speech services require DigiCert Global Root G2 certificate to be installed on the client.

    See also Azure TLS Certificate Changes | Microsoft Docs

    You might want to check the list of certificates before and after an upgrade and ensure the missing certificates are available after the upgrade. Depending on the platform you might have to check the corresponding path on your machine to verify the certificates.

    The guidance in the referenced document should help to check if the required certs are available on your machine.

    Check whether there's a certs subdirectory under OPENSSLDIR. In the example above, it would be /usr/lib/ssl/certs.

      • If the /usr/lib/ssl/certs exists, and if it contains many individual certificate files (with .crt or .pem extension), there's no need for further actions.
    • If OPENSSLDIR is something other than /usr/lib/ssl or there's a single certificate bundle file instead of multiple individual files, you need to set an appropriate SSL environment variable to indicate where the certificates can be found.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful