• Resolved Hervé

    (@rv91530)


    Hi all,

    I’am confused: I am happy with Postie but looking for root cause of any image issue I found this in /public_html/error_log

    Postie [error]: fetch_mail: There was an error connecting to the server Connection timed out

    but at the end of Postie test config result I have this :

    Connect to Mail Host
    Postie connection: sockets
    Postie protocol: imap-ssl
    Postie server: imap.free.fr
    Postie port: 993
    Successful IMAP-SSL connection on port 993
    # of waiting messages: 0

    WP and Plugins are up to date … I know there is an issue with resizing image but those confusing message drive me mad.

    Have you some advice ?

    br
    Hervé

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    You didn’t include any timestamp so it is hard to say exactly, but I’d guess that at one point there was a timeout, and later it was successful.

    Thread Starter Hervé

    (@rv91530)

    Hi Wayne,
    Thank you for reply.

    –edit
    my host is HOSTINGER in ISRAEL and I am in France so I guess 8H00 for the host is 10h00 for me
    –edit

    I have timestamp on : public_html/error-log
    [31-Jul-2020 08:24:26 UTC] PHP Warning: stream_socket_client(): unable to connect to tls://imap.free.fr:993 (Connection timed out) in /home/u939513203/public_html/wp-content/plugins/postie/lib/pSocketConnection.php on line 37
    [31-Jul-2020 08:24:28 UTC] Postie [error]: fetch_mail: There was an error connecting to the server Connection timed out
    [31-Jul-2020 08:27:01 UTC] PHP Warning: stream_socket_client(): unable to connect to tls://imap.free.fr:993 (Connection timed out) in /home/u939513203/public_html/wp-content/plugins/postie/lib/pSocketConnection.php on line 37
    [31-Jul-2020 08:27:01 UTC] Postie [error]: fetch_mail: There was an error connecting to the server Connection timed out
    [31-Jul-2020 08:41:55 UTC] PHP Warning: stream_socket_client(): unable to connect to tls://imap.free.fr:993 (Connection timed out) in /home/u939513203/public_html/wp-content/plugins/postie/lib/pSocketConnection.php on line 37
    [31-Jul-2020 08:41:55 UTC] Postie [error]: fetch_mail: There was an error connecting to the server Connection timed out
    [31-Jul-2020 08:47:57 UTC] PHP Warning: stream_socket_client(): unable to connect to tls://imap.free.fr:993 (Connection timed out) in /home/u939513203/public_html/wp-content/plugins/postie/lib/pSocketConnection.php on line 37
    [31-Jul-2020 08:47:57 UTC] Postie [error]: fetch_mail: There was an error connecting to the server Connection timed out

    In wp-admin / Postie settings, I run few minute ago TEST COFIG and it is ok
    Connect to Mail Host
    Postie connection: sockets
    Postie protocol: imap-ssl
    Postie server: imap.free.fr
    Postie port: 993
    Successful IMAP-SSL connection on port 993

    In wp-admin / Postie settings, I run few minute ago DEBUG and it is ko
    fetch_mail: Connecting to imap.free.fr:993 (imap-ssl)
    pConnection: mailbox: INBOX
    Connecting via Socket
    Socket: tls://imap.free.fr:993
    Socket error: 0 – (Resource id #45)
    Socket: IMAP
    socket write: A0001 CAPABILITY
    socket read (3) :* OK IMAP4 ready
    socket write: (login) LOGIN/APOP/PASS
    socket read (1) :* BAD internal server error
    fetch_mail: IMAP – Could not connect to IMAP server imap.free.fr on port 993. Array
    (
    [0] => * BAD internal server error
    )
    doing postie_session_end
    memory at end of email processing: 18704352

    After this testing, I check posting a news on the website via email, and every thing is ok ??? ( http://migrationccb.esy.es/2020/07/31/test-de-fetchmail/ )

    So I have log error but Postie runs ?

    BR
    Hervé

    • This reply was modified 5 years, 10 months ago by Hervé.
    Plugin Author Wayne Allen

    (@wayneallen-1)

    What I see that your mail server doesn’t respond in a timely matter sometimes causing a timeout.
    Postie just tries again later.

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

The topic ‘error connecting or successful connection’ is closed to new replies.