Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just now try 1.2.1, still 504 error

    1) Options page. After update to 1.x (and got 504) i also try to use constants
    2) Nop, i didn’t got Email Test debug output, i got 504 error right after press submit button in «Email Test» tab
    3) It’s my be root of the problem. Settings from wp_options table:

    +-------------+----------------+
    | option_name | option_value   |
    +-------------+----------------+
    | smtp_auth   | true           |
    | smtp_host   | smtp.yandex.ru |
    | smtp_port   | 465            |
    | smtp_ssl    | ssl            |
    +-------------+----------------+

    But in plugin options page i see server: smtp.yandex.ru, port: *461*, SSL, Auto TLS ON. If change port from 461 to 465 it is still 461. I can’t change this value. In tcpdump i see requests to 461 tcp port. There is no option_value like '%461%' in wp_options table in this plugin related options. There is no substring 461 in wp-config.php. Where this value come from? WTF 461 port?

    4) default_socket_timeout was set to 60. If change default_socket_timeout to 1 i still get error. Check it by phpinfo();
    5) Timeout during the correct operation it’s not OK. At less it is +n seconds (60 by default in Debian) to request processing time;
    6) If your plugin by design raise socket timeout in correct use-case, you should probably have set timeout, not relay on default_socket_timeout

    But if i rollback from 1.0.2 to 0.11.2 plugin work correct.

    Use 0.11.2 — all fine
    Update to 1.0.1 — 504 error
    Rollback to 0.11.2 — all fine
    Update to 1.0.2 — 504 error
    Rollback to 0.11.2 — all fine

    For 1.0.2 i use SMTP settings that works for 0.11.2

    Update to 1.0.2, still have 504 Gateway Time-out

    WP 4.9.1
    WP Mail SMTP 1.0.2
    nginx + php-fpm

    # nginx -v
    nginx version: nginx/1.10.3

    # php -v
    PHP 7.0.19-1 (cli) (built: May 11 2017 14:04:47) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.19-1, Copyright (c) 1999-2017, by Zend Technologies

    php slow log:

    [16-Dec-2017 17:48:30]  [pool uft.me] pid 22655
    script_filename = /var/www/uft.me/webroot/wp-admin/options-general.php
    [0x00007f1ed1c14140] stream_socket_client() /var/www/uft.me/webroot/wp-includes/class-smtp.php:293
    [0x00007f1ed1c13fd0] connect() /var/www/uft.me/webroot/wp-includes/class-phpmailer.php:1661
    [0x00007f1ed1c13e50] smtpConnect() /var/www/uft.me/webroot/wp-includes/class-phpmailer.php:1541
    [0x00007f1ed1c13d10] smtpSend() /var/www/uft.me/webroot/wp-includes/class-phpmailer.php:1335
    [0x00007f1ed1c13c50] postSend() /var/www/uft.me/webroot/wp-includes/class-phpmailer.php:1213
    [0x00007f1ed1c13bd0] send() /var/www/uft.me/webroot/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php:40
    [0x00007f1ed1c13b20] send() /var/www/uft.me/webroot/wp-includes/pluggable.php:481
    [0x00007f1ed1c13860] wp_mail() /var/www/uft.me/webroot/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/Test.php:114
    [0x00007f1ed1c13780] process_post() /var/www/uft.me/webroot/wp-content/plugins/wp-mail-smtp/src/Admin/Area.php:347
    [0x00007f1ed1c136d0] process_actions() /var/www/uft.me/webroot/wp-includes/class-wp-hook.php:286
    [0x00007f1ed1c135e0] apply_filters() /var/www/uft.me/webroot/wp-includes/class-wp-hook.php:310
    [0x00007f1ed1c13560] do_action() /var/www/uft.me/webroot/wp-includes/plugin.php:453
    [0x00007f1ed1c13440] do_action() /var/www/uft.me/webroot/wp-admin/admin.php:156
    [0x00007f1ed1c13280] [INCLUDE_OR_EVAL]() /var/www/uft.me/webroot/wp-admin/options-general.php:10
Viewing 4 replies - 1 through 4 (of 4 total)