edge-tts icon indicating copy to clipboard operation
edge-tts copied to clipboard

edge-tts is not working in linux machines

Open oussamaFadhli opened this issue 2 months ago • 4 comments

I've got an issue when trying to install and use the edge-tts package, working fine for a Windows machine, but when I try it in Ubuntu, I face this error

NoAudioReceived                           Traceback (most recent call last)
[/tmp/ipython-input-1654461638.py](https://localhost:8080/#) in <cell line: 0>()
     13 
     14 if __name__ == "__main__":
---> 15     main()

10 frames
[/usr/local/lib/python3.12/dist-packages/edge_tts/communicate.py](https://localhost:8080/#) in __stream(self)
    539 
    540             if not audio_was_received:
--> 541                 raise NoAudioReceived(
    542                     "No audio was received. Please verify that your parameters are correct."
    543                 )

NoAudioReceived: No audio was received. Please verify that your parameters are correct.

oussamaFadhli avatar Nov 06 '25 14:11 oussamaFadhli

I can confirm that we are facing the same issue. Any updates on this?

pavloselpidorou avatar Nov 12 '25 10:11 pavloselpidorou

I am guessing they're doing some SSL fingerprinting. We'll probably need to change our requested ssl ciphers.

rany2 avatar Nov 12 '25 16:11 rany2

Temporary you can downgrade to 7.0.2 until figure out a permanent solution

oussamaFadhli avatar Nov 12 '25 17:11 oussamaFadhli

https://github.com/rany2/edge-tts/issues/433

eyes1971 avatar Nov 12 '25 20:11 eyes1971