Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken ubuntu openssl link #104791

Closed
simonziegler opened this issue Feb 4, 2023 · 7 comments
Closed

Broken ubuntu openssl link #104791

simonziegler opened this issue Feb 4, 2023 · 7 comments

Comments

@simonziegler
Copy link

You have advice on installing libssl1.1 on Ubuntu 20.04, however the link is broken for:

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@SaibabaBalapur-MSFT
Copy link
Contributor

@simonziegler
Thanks for your feedback! We will investigate and update as appropriate.

@simonziegler
Copy link
Author

Thank you. As a further issue, when I follow the instructions on an ASP.NET app hosted in an Azure Web App, deployed with the standard Microsoft Linux docker image (mcr.microsoft.com/dotnet/aspnet:7.0), I get the following exception when I attempt speech recognition. This is code that works perfectly on my development machine.

Error: System.ApplicationException: Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE)
   at Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail(/IntPtr hr)
   at Microsoft.CognitiveServices.Speech.Recognizer.FromConfig(/GetRecognizerFromConfigDelegate fromConfig, SpeechConfig speechConfig)
   at Microsoft.CognitiveServices.Speech.SpeechRecognizer..ctor(/SpeechConfig speechConfig)

The code that makes this call is:

var speechConfig = SpeechConfig.FromSubscription("<MySubscriptionKey>", "uksouth");
speechConfig.SpeechRecognitionLanguage = "en-GB";
speechConfig.EnableDictation();
speechConfig.SetProfanity(ProfanityOption.Removed);

SpeechRecognizer = new SpeechRecognizer(speechConfig)

@Naveenommi-MSFT
Copy link
Contributor

Hi @eric-urban
Could you please review add comments on this, update as appropriate.

@Naveenommi-MSFT Naveenommi-MSFT removed their assignment Feb 9, 2023
@Naveenommi-MSFT
Copy link
Contributor

@simonziegler
I've delegated this to content author @eric-urban, who will review it and offer their insightful opinions.

@eric-urban
Copy link
Contributor

@simonziegler -

To help clarify, the wget flow is only recommended for 22.04 - not 20.04. The Speech SDK does not support OpenSSL 3.0, which is the default in Ubuntu 22.04.

On Ubuntu 22.04 only, install the latest libssl1.1 either as a binary package such as libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb, or by compiling it from sources. Here's an example of installing libssl1.1 on Ubuntu 22.04.

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb

Does this help?

We are working on the doc update to correct and clarify.

@simonziegler
Copy link
Author

I think it does. Thank you

@TasseDeCafe
Copy link

TasseDeCafe commented Apr 21, 2023

@simonziegler -

To help clarify, the wget flow is only recommended for 22.04 - not 20.04. The Speech SDK does not support OpenSSL 3.0, which is the default in Ubuntu 22.04.

On Ubuntu 22.04 only, install the latest libssl1.1 either as a binary package such as libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb, or by compiling it from sources. Here's an example of installing libssl1.1 on Ubuntu 22.04.

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb

Does this help?

We are working on the doc update to correct and clarify.

This is a very helpful answer, I had a very hard time figuring out what was going on here. Thank you!

It would be even more helpful if this was indeed in the docs with the right commands/explanations. Right now there is a link to the binaries: http://security.ubuntu.com/ubuntu/pool/main/o/openssl/ but I didn't understand which .deb I had to pick in that list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants