Encountering 500 server error when attempting to create audio file for form CAPTCHA
There is an error being thrown on the donate-neo staging site homepage which isn't occurring in my development environment, and which I am having trouble debugging without eyes on the server logs.
The "enter these four letters" form CAPTCHA has an audio variant which sits below the text entry field - tiny .wav files are generated for each four-letter CAPTCHA combination. This process happens without incident on my testing machine but appears to throw a 500 error in staging.
My suspicion is that flite
(https://github.com/festvox/flite), which is a dependency for the audio-rendering portion of the CAPTCHA plugin, is not being installed as part of the container build process. This must have been overlooked while lavamind was working on the containerization of the environment (and no wonder, it's not well documented). I don't believe it is possible to install flite
as a Poetry dependency, and suspect it has to be added as part of the container build process.
If it's possible for someone to check the server logs to see what's causing the 500 error to be thrown on staging, I'd love to know whether my suspicion is correct.
If it is, and if it's too late to modify that container build process with lavamind out of the office, I can disable the audio CAPTCHA player and leave its reenabling as a future feature. Otherwise, let me know if there's anything I can do to help integrate and test.
On the other hand, if flite
is present in the container environment and something else is causing the audio files to be erroring out instead of rendered, and the logs suggest what it might be, I'm all ears!