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

Failed to get HTTP platform singleton instance. Error: 27 #2

Open
BrysF150 opened this issue Jun 20, 2024 · 0 comments
Open

Failed to get HTTP platform singleton instance. Error: 27 #2

BrysF150 opened this issue Jun 20, 2024 · 0 comments

Comments

@BrysF150
Copy link

Receiving error when running

` python daily-llm.py
https://.daily.co/ Joining https://.daily.co/ as tb-spanish-english leaving at 1718915678.8940897 current time is 1718915378.8940914
https://*.daily.co/expiration: 2024-06-20 20:34:38
https://
.daily.co/now: 2024-06-20 20:29:38
https://
.daily.co/*configuring services
Traceback (most recent call last):
File "/var/www/html/pchat/server/daily-llm.py", line 259, in
app = DailyLLM(
File "/var/www/html/pchat/server/daily-llm.py", line 77, in init
self.configure_ai_services()
File "/var/www/html/pchat/server/daily-llm.py", line 118, in configure_ai_services
self.tts = config.servicesos.getenv("TTS_SERVICE")
File "/var/www/html/pchat/server/services/azure_ai_service.py", line 23, in init
self.speech_synthesizer = SpeechSynthesizer(
File "/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/speech.py", line 2225, in init
_call_hr_fn(fn=_sdk_lib.synthesizer_create_speech_synthesizer_from_config, *[
File "/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/interop.py", line 62, in _call_hr_fn
_raise_if_failed(hr)
File "/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/interop.py", line 55, in _raise_if_failed
__try_get_error(_spx_handle(hr))
File "/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/interop.py", line 50, in __try_get_error
raise RuntimeError(message)
RuntimeError: Exception with error code:
[CALL STACK BEGIN]

/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(+0x850ac) [0xffffa1fe50ac]
/var/www/html/pchat/server/env/lib/python3.10/site-packages/azure/cognitiveservices/speech/libMicrosoft.CognitiveServices.Speech.core.so(synthesizer_create_speech_synthesizer_from_config+0x224) [0xffffa212df30]
/lib/aarch64-linux-gnu/libffi.so.8(+0x6e10) [0xffffa2456e10]
/lib/aarch64-linux-gnu/libffi.so.8(+0x3a94) [0xffffa2453a94]
/usr/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so(+0x121c8) [0xffffa24821c8]
/usr/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so(+0x109ec) [0xffffa24809ec]
python(PyObject_Call+0xa8) [0xaaaacd224e0c]
python(_PyEval_EvalFrameDefault+0x22c0) [0xaaaacd1fed90]
python(_PyFunction_Vectorcall+0x84) [0xaaaacd215348]
python(PyObject_Call+0x110) [0xaaaacd224e74]
python(_PyEval_EvalFrameDefault+0x22c0) [0xaaaacd1fed90]
python(_PyFunction_Vectorcall+0x84) [0xaaaacd215348]
python(_PyObject_FastCallDictTstate+0x168) [0xaaaacd209da8]
python(+0x110224) [0xaaaacd220224]
python(_PyObject_MakeTpCall+0x204) [0xaaaacd20ac18]
python(_PyEval_EvalFrameDefault+0x5b78) [0xaaaacd202648]
python(_PyObject_FastCallDictTstate+0xc4) [0xaaaacd209d04]
python(+0x110224) [0xaaaacd220224]
[CALL STACK END]

Failed to get HTTP platform singleton instance. Error: 27
`

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

No branches or pull requests

1 participant