-
Notifications
You must be signed in to change notification settings - Fork 36
Polly player not working #49
Comments
I too am having this issue. Polly widget displays 0:00 on my post and no objects are in the S3 bucket. See (https://www.davidsmithjd.com/2021/08/20/hello-world/) I would love to use this on my website and the the company website I manage. Thank you for your help and development on this! |
Ok, I have an update. I utilized my business support plan on AWS and had a phenomenal cloud support specialist debug the issue. Amazon Polly now works! I don't know if this is the same for you all, but I will share the info: Wordpress Debug log showed following error and portions of transcript, with redactions: [24-Dec-2021 03:23:40 UTC] PHP Fatal error: Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "PutObject" on REDACTED BUCKET "; AWS HTTP error: Client error:
GuzzleHttp\Exception\ClientException: Client error: === Upon further analysis, we could see that the plugin was trying to write the objects to S3 using the PutObject call with ‘public-read’ ACL[2]: === $result = $this->s3_client->putObject(
); ... === $ touch file.txt === We could observe that this call was also failing with the same error as mentioned in above shared log snippets. In order to fix this, I requested you to disable the 'Block Public Access' settings for your account as well the bucket. Further to this, the above command was able to write the file to the target bucket. Upon testing the WordPress site, we could also see the audio files being written to the correct destination as well. I don't know if any changes will be made to how the Plugin makes calls to AWS S3, but if not, this resolved the issue for me. |
Hi,
We installed the AWS Wp plugin, and followed the instructions: created IAM user, activated on the website and then created a Could Front distribution for Amazon Polly, but the text doesn't appear to get to Polly (my bucket is empty) and the player is inactive.
Would you please be able to help?
Not sure where to start looking ... any special settings for the bucket?
e.g. https://www.opi.net/news/region/001-north-america/takkt-implements-divisional-restructure/
Many thanks,
Aurora Enghis
The text was updated successfully, but these errors were encountered: