s3 storage setting is not saved
-
I’m setting up Amazon Polly from scratch. I’ve followed these instructions https://docs.aws.amazon.com/polly/latest/dg/plugin-install.html but it doesn’t keep the flag for “Store audio in Amazon S3” when I press Save button.
-
Hi Davide,
So the flag is disable all the time yes? hmm… you are completely sure that IAM policy is correct? (like in link which you have provided)? Any chance that you have check logs file?Cheers,
TomaszThe policy is the same. Where are the logs file?
It depends on the configuration of WordPress (it’s not something plugin related). They will be in directory where WordPress is installed. There might not be any logs also, but assuming that something ‘broke’ here, there should be some.
Here what I’ve found:
GuzzleHttp\Exception\ClientException: Client error: <code>POST https://polly.eu-central-1.amazonaws.com/v1/speech</code> resulted in a <code>400 Bad Request</code> response: {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisilaica.it", referr$ 2018/06/21 09:24:09 [crit] 25605#25605: *21557 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 222.175.49.22, server: 0.0.0.0:443 2018/06/21 11:38:10 [crit] 25605#25605: *21968 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:11 [crit] 25605#25605: *21969 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21971 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21972 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisilaica.it", referrer: "https://www.analisilaica.it/wp-admin/options-general.php?page=amazonpolly" 2018/06/21 09:24:09 [crit] 25605#25605: *21557 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 222.175.49.22, server: 0.0.0.0:443 2018/06/21 11:38:10 [crit] 25605#25605: *21968 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:11 [crit] 25605#25605: *21969 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21971 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21972 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443
-
This reply was modified 6 years, 9 months ago by
Davide Radice.
Hi Davide,
I think this error is connected not with source of problem, rather than it’s result of it (because it’s after you try to publish post). There is nothing else in logs while (in time when) you tried to enabled the s3 storage?Just to make sure: you try to enabled checkbox ‘Use S3 as storage’ and then you save configuration, and checkbox still is unchecked? yes? This is the problem?
Yes, this is precisely the problem. Here is all the log for today.
My version on openssl is
OpenSSL 1.1.1-pre5-dev
Thanks a lot!
2018/06/21 06:37:42 [crit] 25605#25605: *20522 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:4$ 2018/06/21 06:37:43 [crit] 25605#25605: *20523 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:4$ 2018/06/21 07:09:06 [crit] 25605#25605: *20620 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:$ 2018/06/21 07:09:07 [crit] 25605#25605: *20621 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:$ 2018/06/21 07:09:08 [crit] 25605#25605: *20624 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:$ 2018/06/21 07:09:08 [crit] 25605#25605: *20625 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:$ 2018/06/21 07:33:29 [error] 25605#25605: *20745 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Aws\Polly\Exception\PollyException' with message 'Error executing "SynthesizeSpeech" on "https://polly.$ {"message":"Invalid SSML request"} InvalidSsmlException (client): Invalid SSML request - {"message":"Invalid SSML request"}' GuzzleHttp\Exception\ClientException: Client error: <code>POST https://polly.eu-central-1.amazonaws.com/v1/speech</code> resulted in a <code>400 Bad Request</code> response: {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisi$ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, req$ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, req$ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, req$ 2018/06/21 07:52:05 [error] 25605#25605: *21127 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Aws\Polly\Exception\PollyException' with message 'Error executing "SynthesizeSpeech" on "https://polly.$ {"message":"Invalid SSML request"} InvalidSsmlException (client): Invalid SSML request - {"message":"Invalid SSML request"}' GuzzleHttp\Exception\ClientException: Client error: <code>POST https://polly.eu-central-1.amazonaws.com/v1/speech</code> resulted in a <code>400 Bad Request</code> response: {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisi$ 2018/06/21 09:24:09 [crit] 25605#25605: *21557 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 222.175.49.22, server: 0.0.0.0:$ 2018/06/21 11:38:10 [crit] 25605#25605: *21968 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0$ 2018/06/21 11:38:11 [crit] 25605#25605: *21969 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21971 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0$ 2018/06/21 11:38:21 [crit] 25605#25605: *21972 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 13:37:19 [crit] 25605#25605: *22309 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.$ 2018/06/21 13:37:29 [crit] 25605#25605: *22311 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.$ 2018/06/21 13:37:40 [crit] 25605#25605: *22313 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.$ 2018/06/21 13:53:34 [crit] 25605#25605: *22409 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:4$ 2018/06/21 13:53:34 [crit] 25605#25605: *22410 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:4$ 2018/06/21 14:15:12 [crit] 25605#25605: *22472 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 159.65.184.238, server: 0.0.0.0:443 ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M-\ First Line M-W WhereIs Next ^^ Mark Text M-} Indent Text M-U Undo ^B Back ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket M-^ Copy Text M-{ Unindent TextM-E Redo ^F Forward GNU nano 2.5.3 File: /var/log/nginx/analisilaica.it.error.log 2018/06/20 15:57:33 [crit] 25605#25605: *11780 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 141.212.122.81, server: 0.0.0.0:443 2018/06/20 16:54:03 [crit] 25605#25605: *11914 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 185.100.87.250, server: 0.0.0.0:443 2018/06/20 16:54:09 [error] 25605#25605: *11917 access forbidden by rule, client: 185.100.87.250, server: analisilaica.it, request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0" 2018/06/21 05:32:27 [error] 25605#25605: *20370 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/11/Vorwort_Zu_M._Eitingon._Bericht_ ber_die_Berliner_psychoanalytische_Poliklinik.pdf" failed (2: No such file or directory),$ 2018/06/21 06:37:42 [crit] 25605#25605: *20522 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:443 2018/06/21 06:37:43 [crit] 25605#25605: *20523 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:443 2018/06/21 07:09:06 [crit] 25605#25605: *20620 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:443 2018/06/21 07:09:07 [crit] 25605#25605: *20621 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:443 2018/06/21 07:09:08 [crit] 25605#25605: *20624 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:443 2018/06/21 07:09:08 [crit] 25605#25605: *20625 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 207.46.13.200, server: 0.0.0.0:443 2018/06/21 07:33:29 [error] 25605#25605: *20745 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Aws\Polly\Exception\PollyException' with message 'Error executing "SynthesizeSpeech" on "https://polly.eu-central-$ {"message":"Invalid SSML request"} InvalidSsmlException (client): Invalid SSML request - {"message":"Invalid SSML request"}' GuzzleHttp\Exception\ClientException: Client error: <code>POST https://polly.eu-central-1.amazonaws.com/v1/speech</code> resulted in a <code>400 Bad Request</code> response: {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisilaica.it", $ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, request: "GET $ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, request: "GET $ 2018/06/21 07:48:10 [error] 25605#25605: *21110 open() "/var/www/analisilaica.it/htdocs/wp-content/uploads/2012/02/amazon_polly_95.mp3" failed (2: No such file or directory), client: 195.62.163.162, server: analisilaica.it, request: "GET $ 2018/06/21 07:52:05 [error] 25605#25605: *21127 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Aws\Polly\Exception\PollyException' with message 'Error executing "SynthesizeSpeech" on "https://polly.eu-central-$ {"message":"Invalid SSML request"} InvalidSsmlException (client): Invalid SSML request - {"message":"Invalid SSML request"}' GuzzleHttp\Exception\ClientException: Client error: <code>POST https://polly.eu-central-1.amazonaws.com/v1/speech</code> resulted in a <code>400 Bad Request</code> response: {"message":"Invalid SSML request"} in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Exception/RequestException.php:113 Stack trace: #0 /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-polly/vendor/aws/GuzzleHttp/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/analisilaic" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: analisilaica.it, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9090", host: "www.analisilaica.it", $ 2018/06/21 09:24:09 [crit] 25605#25605: *21557 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 222.175.49.22, server: 0.0.0.0:443 2018/06/21 11:38:10 [crit] 25605#25605: *21968 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:11 [crit] 25605#25605: *21969 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21971 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 11:38:21 [crit] 25605#25605: *21972 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 217.12.199.146, server: 0.0.0.0:443 2018/06/21 13:37:19 [crit] 25605#25605: *22309 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.0:443 2018/06/21 13:37:29 [crit] 25605#25605: *22311 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.0:443 2018/06/21 13:37:40 [crit] 25605#25605: *22313 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 104.209.188.134, server: 0.0.0.0:443 2018/06/21 13:53:34 [crit] 25605#25605: *22409 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:443 2018/06/21 13:53:34 [crit] 25605#25605: *22410 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol) while SSL handshaking, client: 157.55.39.26, server: 0.0.0.0:443 2018/06/21 14:15:12 [crit] 25605#25605: *22472 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 159.65.184.238, server: 0.0.0.0:443
Davide,
To be honest it’s a bit hard for me to figur out exactly what is the problem just based on our small conversation. Would it be possible to have an email discussion with you? I have provided my email here: https://s3-eu-west-1.amazonaws.com/temp-245345342542534542352345/243523454525425.txt – I will be grateful if you could drop me an email.Cheers,
TomaszI was able to reproduce the problem, fix should be available on next release.
-
This reply was modified 6 years, 9 months ago by
- The topic ‘s3 storage setting is not saved’ is closed to new replies.