Service stops working
-
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: closedServer 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.2kI’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 againOnce 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.
- The topic ‘Service stops working’ is closed to new replies.