-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Failed to initialize platform (azure-c-shared). Error: 2176 #2204
Comments
I have encountered the same error message, with AWS serverless, anyone could help on this? Thanks. |
Both failures are the azure-c-shared library used as the networking stack by the SDK failing to load because the version of OpenSSL it binds to (1.1.1) isn't installed. There is a workstream to support OpenSSL 3.0 in progress, but it isn't complete yet. |
@rhurey is there any alternative solution at the moment. |
I can't do it, but I guess a workaround would be building a base container yourself based on a distro that still has openssl1.1.1 available. then install openssl 1.1.1 and de net8 runtime and use that instead of mcr.microsoft.com/dotnet/net:8.0 |
@muralidhar972 We don't have packages available for preview yet. |
I am using the Speech SDK in a docker container running on .NET 8.
|
EDIT: Forget what I said. I was having some more strange problems, then updated Docker Desktop, which hung, then decided to reboot my computer and now it works :-( Why is Windows only getting worse |
I have the same issue using a Python image. |
This issue seems to be avoided by making REST API calls directly instead of using the SDK. |
Same problem with Python here. I could use the REST API but I wanted to use the streaming feature that is only available with SDK. |
following https://gist.github.com/joulgs/c8a85bb462f48ffc2044dd878ecaa786?permalink_comment_id=4720594 to install libssl1.1_1.1.0g-2ubuntu4_amd64.deb and it is working now
|
This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label. |
any update on the openssl3.0 upgrade? |
Duplicate of #2048 |
This one got it going in my python:3.12.2 image. Credit to @boskjoett
|
Great, it worked |
A word of warning for that workaround: it may work in a container, but will probably break your system if you do it outside a container. Installing a conflicting version of a package on your real system is very dangerous. |
Is it available now ? |
Is there an older version of the azure-c-shared library we could use that works? I don't care about having the latest version, just that it works. |
Hi! I tried to replicate this with a python environment and openssl seems to not be installing. For anyone else who is interested, , my DockerFile is the following
|
I've updated .NET to 8.0 and moved to Docker and now I cannot use Speech service anymore due to this error when creating
SpeechSynthesizer
class instance.Stacktrace:
Speech log file:
To Reproduce
Steps to reproduce the behavior:
8.0.0-bookworm-slim-amd64, 8.0-bookworm-slim-amd64, 8.0.0-bookworm-slim, 8.0-bookworm-slim, 8.0.0, 8.0, latest Dockerfile Debian 12 12/19/2023
Expected behavior
Object should be created and I can access Speech Service.
Version of the Cognitive Services Speech SDK
Nuget:
Microsoft.CognitiveServices.Speech 1.34.0
Azure Resource:
Standard Speech Service based on Norh Europe
https://northeurope.api.cognitive.microsoft.com/
Platform, Operating System, and Programming Language
The text was updated successfully, but these errors were encountered: