- Issue created by @jbuttler
- 🇬🇧United Kingdom MrDaleSmith
@jbuttler it would be useful for recreation purposes if we had an idea of how much audio OpenAI is trying to create: can you let us know your automator prompt and the number of words in the text being sent to the AI for turning into audio? That we we can try and recreate exactly what is happening for you.
Any request at all causes this issue now. In my most recent request I simply used "Test". It happens with everything I try now.
I have uninstalled several AI sub-modules I was using and that seems to have stabilized the system. The modules I uninstalled were external moderation, seo analyzer, AI search, image alt text, rest facets. The site no longer locks up with the memory overrun on the beta 4 or dev version.
I am not receiving the file back, and instead getting an error. I will keep trying at this and report back.The error:
Queue worker starting to fill out field field_audio on entity node with id 1072
Error invoking model response: cURL error 28: Operation timed out after 30000 milliseconds with 2485937 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.openai.com/v1/audio/speech
A general error happened why trying to interpolate, message Error invoking model response: cURL error 28: Operation timed out after 30000 milliseconds with 2485937 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.openai.com/v1/audio/speech- 🇩🇪Germany marcus_johansson
This means that the request is taking longer than 30 seconds that you have as your max request timeout. You can raise it here: https://www.jeffgeerling.com/blog/2016/increase-guzzle-http-client-reque...
There is an pull request to add this per provider, but currently you have to use the above solution.
I am not convinced it is a timeout. The racing begins as soon as I send the request when I have the modules listed installed.
Then I uninstalled the sub-modules and the condition is no longer present. I have not experienced it once since uninstalling the extra modules. I am just not sure which one is the cause yet.
I can process a simple prompt, "test" and its instantly returned if I am not using the cron processing. But when I use the cron processing, I get the error even if the request is small. It seems to be an issue with the cron processing of the automator on my system. This may need to be filed as a different issue.
In any case, it seems like the specific issue where the cron processing breaks the site is caused by the conflicting module installations. It may be the particular configuration I have in my site, or a conflict in functionality of the modules. I will keep looking into it.
- 🇬🇧United Kingdom MrDaleSmith
I can't recreate this error, but I did find https://www.drupal.org/project/ai/issues/3493498 🐛 Text to Speech fails if default provider used Active which may be having an impact. Otherwise it looks likely that this is related to your specific set-up (possibly that you're using s3?) so we might be reliant on you getting to the bottom of it and letting us know if there's something we need to do.