• Resolved mdsupport

    (@mdsupport)


    Hi,

    Every day the service stops working and starts giving Error 500.

    Test mail trace:
    2017-11-10 14:24:55 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ( ‘ssl’ => array ( ‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true, ),)
    2017-11-10 14:24:55 Connection: opened
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “220 smtp.gmail.com ESMTP m3sm14534112wrf.56 – gsmtp”
    2017-11-10 14:24:55 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP m3sm14534112wrf.56 – gsmtp
    2017-11-10 14:24:55 CLIENT -> SERVER: EHLO myweb.com
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [myweb.ip]”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-SIZE 35882577”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-8BITMIME”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-STARTTLS”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-STARTTLS”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-PIPELINING”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250-CHUNKING”
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “250 SMTPUTF8”
    2017-11-10 14:24:55 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2017-11-10 14:24:55 CLIENT -> SERVER: STARTTLS
    2017-11-10 14:24:55 SMTP -> get_lines(): $data is “”
    2017-11-10 14:24:55 SMTP -> get_lines(): $str is “220 2.0.0 Ready to start TLS”
    2017-11-10 14:24:55 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    2017-11-10 14:24:56 CLIENT -> SERVER: EHLO myweb.com
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [myweb.ip]”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-SIZE 35882577”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-8BITMIME”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [104.155.121.60]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-PIPELINING”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250-CHUNKING”
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “250 SMTPUTF8”
    2017-11-10 14:24:56 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [myweb.ip]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2017-11-10 14:24:56 Auth method requested: XOAUTH2
    2017-11-10 14:24:56 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
    2017-11-10 14:24:56 CLIENT -> SERVER: QUIT
    2017-11-10 14:24:56 SMTP -> get_lines(): $data is “”
    2017-11-10 14:24:56 SMTP -> get_lines(): $str is “221 2.0.0 closing connection m3sm14534112wrf.56 – gsmtp”
    2017-11-10 14:24:56 SERVER -> CLIENT: 221 2.0.0 closing connection m3sm14534112wrf.56 – gsmtp
    2017-11-10 14:24:56 Connection: closed

    Server Info:
    OS: Windows NT SERVIDOR-SUPPOR 10.0 build 14393 (Windows Server 2016) i586
    PHP version: 5.6.31
    WordPress version: 4.8.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.51.0, OpenSSL/1.0.2k

    I’ve solved it this whole week doing the following steps:

    1. Revoke access of the application
    2. Create a new OAuth Client ID on Google Cloud Platform Console
    3. Delete all the info on the pluggin settings and saving
    4. Re-write all the information with the new OAuth Client ID and save settings
    5. Grant access again

    Once this is done, I’m able again to send mails.
    What do you think about it? Could it be a minor problem, a compatibility problem with another plugin or a configuration problem maybe?

    Thank you.
    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, Can you please contact your web host to see what that 500 error was?

    Thread Starter mdsupport

    (@mdsupport)

    Hi,

    Don’t need to. I’ve found what it was and now it’s solved.

    It seems that UpdraftPlus plugin was generating the issue. Once the report mail of any copy made with Updraft is sent, the Gmail SMTP service stops working and won’t send any mail until the solution I gave is applied.

    Yesterday, I made Updraft not to send any mail and the Gmail SMTP service is still working fine. I’ll be testing it for a few days.

    Could you please test it out and tell me if it’s a bug? Or maybe just an incompatibility that can’t be solved?

    Thanks.
    Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Service stops working’ is closed to new replies.