• Resolved nickfarelli

    (@nickfarelli)


    I migrated my site to another host, but left the MX Records / Mail on the old.

    Mails can be recveived and sent via inbox, it also works with Zendesk and so on.

    Only in WordPress i get “could not open socket.

    What can be the problem?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter nickfarelli

    (@nickfarelli)

    Please see https://www.auramonaco.de/i.php
     
    We do have sockets very much enabled and allowed. We are also not blocking anything on port 465. Is it possible for them to login and even in debug mode they don’t give any information whatsoever:
     [11-Oct-2023 12:15:55 UTC] ERROR PostmanWpMail: Exception code=0 message=Could not open socket[11-Oct-2023 12:15:55 UTC] ERROR PostmanEmailLogs: Email was not successfully re-sent - 0

    Hi @nickfarelli,

    I hope this message finds you well.

    Thank you for contacting us regarding the issue you are facing. It seems like your hosting is blocking ports or sockets. To assist you more effectively, could you please provide us with the diagnostic and connectivity test reports? You can access the diagnostic test report from here and the connectivity test report from here.

    This information will help us to resolve the issue faster.

    Thanks and Regards,
    Support Team-WP Experts.

    Thread Starter nickfarelli

    (@nickfarelli)

    Diagnostic test:

    Mailer: postsmtp
    HostName: auramonaco.de
    cURL Version: 7.87.0
    OpenSSL Version: OpenSSL/1.1.1p
    OS: Linux 26634-01.onrocket.com 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
    PHP: Linux 8.0.30 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 6.3.1 de_DE UTF-8
    WordPress Theme: Savoy Child
    WordPress Plugins: Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro, Better Search Replace, Borlabs Cookie – Cookie Opt-in, bunny.net, Caddy – Premium Edition, Caddy – Smart Side Cart for WooCommerce, PublishPress Capabilities, Contact Form 7 Email Add On, CheckoutWC, Controls for Contact Form 7, Contact Form 7 Multilingual, Contact Form 7, Custom Order Numbers for WooCommerce, Back In Stock Notifier for WooCommerce Add-on: Custom CSS, Disable Bloat for WordPress & WooCommerce PRO, Google Customer Reviews for WooCommerce, Facebook for WooCommerce, Flexible Shipping, Header and Footer Scripts, OMGF, Html5 Video Player, Imagify, Jetpack, WPBakery Page Builder, Kadence WooCommerce Email Designer, Klarna Order Management for WooCommerce, Klarna Payments for WooCommerce, Klaviyo, Loco Translate, Referral Codes for WooCommerce, Savoy Theme – Content Elements, Savoy Theme – Settings Panel, Object Cache Pro, OptinMonster, PixelYourSite PRO, PixelYourSite Super Pack, Post SMTP, Product Visibility by Country for WooCommerce, Redirection, Scalability Pro, Sitepact’s Contact Form 7 Extension For Klaviyo, WPML Multilingual CMS, Use Any Font, WC Restrict Payment Methods, WooCommerce JTL-Connector, Product Feed ELITE for WooCommerce, Country Based Payments for WooCommerce, WooCommerce Stripe Gateway, Germanized for WooCommerce Pro, Germanized for WooCommerce, WooCommerce Google Product Reviews Feed for Google Shopping Ads, WooCommerce Multilingual & Multicurrency, WooCommerce PayPal Payments, WooCommerce Price Based on Country Pro, WooCommerce Price Based on Country, WooCommerce, MyRewards, Yoast SEO, Asset CleanUp Pro: Page Speed Booster, WP-Force Images Download, WP Mobile Detect, WP Robots Txt, WP Rocket | No LazyLoad for Mobile Devices, WP Rocket, WP Rollback, WPML SEO, WP YouTube Lyte, WPC Composite Products for WooCommerce (Premium), WPML Media, WPML String Translation
    WordPress wp_mail Owner: /home/bm7bxku/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress phpmailer_init Action(s): LWS\Adminpanel\Internal\Mailer->addAltBody, wpcf7_phpmailer_init, WC_Email_New_Order->handle_multipart, WC_Email_Cancelled_Order->handle_multipart, WC_Email_Failed_Order->handle_multipart, WC_Email_Customer_On_Hold_Order->handle_multipart, WC_Email_Customer_Processing_Order->handle_multipart, WC_Email_Customer_Completed_Order->handle_multipart, WC_Email_Customer_Refunded_Order->handle_multipart, WC_Email_Customer_Invoice->handle_multipart, WC_Email_Customer_Note->handle_multipart, WC_Email_Customer_Reset_Password->handle_multipart, WC_Email_Customer_New_Account->handle_multipart, WC_GZD_Email_Customer_Paid_For_Order->handle_multipart, WC_GZD_Email_Customer_New_Account_Activation->handle_multipart, WC_GZD_Email_Customer_Revocation->handle_multipart, WC_GZD_Email_Customer_SEPA_Direct_Debit_Mandate->handle_multipart, WC_GZD_Email_Customer_Cancelled_Order->handle_multipart, WC_GZD_Email_Customer_Processing_Order->handle_multipart, Vendidero\StoreaBill\Emails\Document->handle_multipart, Vendidero\Germanized\Pro\StoreaBill\PackingSlip\Email->handle_multipart, Vendidero\StoreaBill\Emails\DocumentAdmin->handle_multipart, WC_Stripe_Email_Failed_Renewal_Authentication->handle_multipart, WC_Stripe_Email_Failed_Preorder_Authentication->handle_multipart, WC_Stripe_Email_Failed_Authentication_Retry->handle_multipart, WC_GZD_Email_Customer_Shipment->handle_multipart, WC_GZD_Email_Customer_Return_Shipment->handle_multipart, WC_GZD_Email_Customer_Return_Shipment_Delivered->handle_multipart, WC_GZD_Email_Customer_Guest_Return_Shipment_Request->handle_multipart, WC_GZD_Email_New_Return_Shipment_Request->handle_multipart, PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.6.1
    Postman Sender Domain (Envelope|Message): auramonaco.de | auramonaco.de
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtps:crammd5://khpm1063.hpress.de:465)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 255207 | 4902

    Thread Starter nickfarelli

    (@nickfarelli)

    connectivity:

    View post on imgur.com

    Thread Starter nickfarelli

    (@nickfarelli)

    465 is what i currently use. i didn’t change this after migrating.

    my new host says:

    Hi,

    I added some more debug and it seems it’s trying to connect to:

    Could not open socket ssl://khpm1063.hpress.de:465

    But it can’t connect.

    We have sockets and openssl enabled in PHP, when connecting via SSH and openssl:

    CONNECTED(00000003)depth=0 C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.comverify error:num=18:self signed certificateverify return:1depth=0 C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.comverify error:num=10:certificate has expirednotAfter=Jun 22 09:25:26 2022 GMTverify return:1depth=0 C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.comnotAfter=Jun 22 09:25:26 2022 GMTverify return:1---Certificate chain 0 s:C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.com   i:C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.com---Server certificate-----BEGIN CERTIFICATE-----MIIDWzCCAkOgAwIBAgIEYNGshjANBgkqhkiG9w0BAQsFADBjMQswCQYDVQQGEwJDSDEVMBMGA1UEBwwMU2NoYWZmaGF1c2VuMQ4wDAYDVQQKDAVQbGVzazEOMAwGA1UEAwwFUGxlc2sxHTAbBgkqhkiG9w0BCQEWDmluZm9AcGxlc2suY29tMB4XDTIxMDYyMjA5MjUyNloXDTIyMDYyMjA5MjUyNlowYzELMAkGA1UEBhMCQ0gxFTATBgNVBAcMDFNjaGFmZmhhdXNlbjEOMAwGA1UECgwFUGxlc2sxDjAMBgNVBAMMBVBsZXNrMR0wGwYJKoZIhvcNAQkBFg5pbmZvQHBsZXNrLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMmJF/OwzcM7zKoS8t1dBm/rT0U7SVBxzKa0M75SqX24ENKwNDBRiBHgRLdi7Tfck8rfOFoa85189E84t8pNt9kHNCEUsuNscHW1LWomMDKN3VyetWaPdQ0rcEo3KTynBLWh+l4z4DaauXlubrMc+a6nxcbGyZjwPsLpOiQckC/8A9VmlK8Mz3ig3AszEReQNzmxvDu5UVLDZlujzcq+eYnh9Md6XPtjcheDPsWLRptCHm5DpB74MiWgaj6Vu8Vxspngu2VU8c+4ChbzJG9wxdPlpvJd6bYdkd0Byeg4lCrAYH7NHGwbLGHp86Hy2DybGNv5LrC2wu9cYANJwPV7ys8CAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQELBQADggEBAEEmdTIUeN9mZKkChNdmxYdpmXKE/22rWRuFqJUByxWRiKMHYrcxosINn9WSdwgTIW7ttnmZyCRJfRNKZ1pJnuxVp02JUV12dJPphBKt6UbAv4gPzbGW3/3EI1EyfxPhHNsd6j7eNezxGywcYTVGLTQZybTnaTjZ0V+PNJY/sKH4MIrDf0SJ3OuoaTqi+08G8dpnhC4+aU7m5t2XnQhD7wcRQlpvFqGDW+bcpuci7/nWg39bmn5x5K/VyWcsRWdI7P42UJ/q6q2DyeSQCX5tXzPNwWjst1bvRJeM4be02dFPyyIG7WNLPGixlJjIpujothNp8FA6w9U2t851mClb7yk=-----END CERTIFICATE-----subject=C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.comissuer=C = CH, L = Schaffhausen, O = Plesk, CN = Plesk, emailAddress = info@plesk.com---No client certificate CA names sentPeer signing digest: SHA256Peer signature type: RSA-PSSServer Temp Key: X25519, 253 bits---SSL handshake has read 1419 bytes and written 396 bytesVerification error: certificate has expired---New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384Server public key is 2048 bitSecure Renegotiation IS NOT supportedCompression: NONEExpansion: NONENo ALPN negotiatedEarly data was not sentVerify return code: 10 (certificate has expired)------Post-Handshake New Session Ticket arrived:SSL-Session:    Protocol  : TLSv1.3    Cipher    : TLS_AES_256_GCM_SHA384    Session-ID: 292A1199DFFB35E355D1E85FC339BB65AEFDA020D1C214187C2B20C7C4EECB4A    Session-ID-ctx:    Resumption PSK: EC28EC4AE197B6255F1617CC842A389DACE89C7C929DAFD3C3E01AE80F373A5B22FF9BC0B2146CC54CD14068AACF271B    PSK identity: None    PSK identity hint: None    SRP username: None    TLS session ticket lifetime hint: 7200 (seconds)    TLS session ticket:    0000 - e4 cf af 50 36 0b 46 21-d1 0b 8f e9 26 a2 57 8c   ...P6.F!....&.W.    0010 - 48 a7 eb d0 ad a8 1a 89-29 8e a3 88 e7 ed 38 e5   H.......).....8.    0020 - 0c e9 d1 1b 5e 62 4d f3-10 78 a4 c0 5b 9d c7 38   ....^bM..x..[..8    0030 - ac 74 2a 5f b0 15 c6 86-78 00 5a 3c a1 65 ca f1   .t*_....x.Z<.e..    0040 - 4f 2b 60 9a 08 cb 15 06-e1 5b 8b b4 f2 14 76 a2   O+`......[....v.    0050 - f1 3f 78 78 8b ad c5 d4-78 76 fb c2 35 1b 84 b1   .?xx....xv..5...    0060 - 36 47 22 b1 72 f2 47 95-ea b5 78 05 50 6c dc 87   6G".r.G...x.Pl..    0070 - ca 33 d1 f4 bc ae 9e 5a-da 48 63 a5 ee e7 64 3c   .3.....Z.Hc...d<    0080 - d2 36 16 19 9a 39 4a d0-7e 1e 89 f5 36 44 d3 6e   .6...9J.~...6D.n    0090 - 27 fa 25 71 48 e0 f1 e7-1a bf 5c d4 98 d4 37 c6   '.%qH.....\...7.    00a0 - dd 25 d7 ae 64 45 80 32-30 89 99 8e bd b4 80 3a   .%..dE.20......:    00b0 - 46 04 56 ce 54 6c 3b d4-13 80 de 53 fd c3 e7 d4   F.V.Tl;....S....    00c0 - 8e 6b 6d d5 e8 83 70 5e-09 4b ee 17 e3 47 f5 69   .km...p^.K...G.i    Start Time: 1697031329    Timeout   : 7200 (sec)    Verify return code: 10 (certificate has expired)    Extended master secret: no    Max Early Data: 0---read R BLOCK220 khpm1063.hpress.de ESMTP Postfix

    Hi @nickfarelli,

    Your connectivity report indicates that ports 465 and 587 are not available on your live site or staging site. Could you please change the port to 25 and then test whether it’s working or not by sending the test email?

    Let us know if the issue persist.

    Thanks and Regards,
    Support Team-WP Experts.

    Hi @nickfarelli,

    We haven’t received any updates from you, so we will consider this thread resolved. If you require further assistance, please feel free to start a new thread with us.

    Thanks and Regards,
    Support Team-WP Experts.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘could not open socket after migrating site’ is closed to new replies.