Skip to content
Back

edge-tts seems not work with Functions

  • 0
  • Functions
Augustine D. Nguyen
4 Dec, 2025, 10:02

I create a simple function using edge-tts to generate mp3 from text. It works fine in my local but when deploying to AppWrite, I got the error: Creating Communicate object with voice=en-GB-SoniaNeural, rate=+0%, pitch=+0Hz, volume=+0% Timeouts: connect=10s, receive=120s Starting stream()... Error during streaming: NoAudioReceived: No audio was received. Please verify that your parameters are correct.

TL;DR
Developers are facing an issue with using edge-tts in Functions. The code works locally but encounters an error when deployed to AppWrite, with a 'NoAudioReceived' message. This could be due to incorrect parameters.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more