The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde 'mail server closed the connection unexpectedly' Error

Discussion in 'E-mail Discussions' started by sukrub, Feb 19, 2016.

  1. sukrub

    sukrub Member

    Joined:
    Oct 25, 2011
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    When I leave Horde unattended for a while. It produces an error message when it checks internally for new messages. It happens with roundCube as well.

    Based on my observation it happens a lot more with Chrome then FF.

    with Horde:
    In Chrome when you try to refresh the browser, it asks you to re-login with 'your session cookie is invalid. Please log in again.'

    In FF it keeps you logged in.

    Chrome-Horde.jpg Chrome-RC.jpg FF.jpg
     
    #1 sukrub, Feb 19, 2016
    Last edited: Feb 19, 2016
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    319
    Likes Received:
    23
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I think your IP is dynamically changing and due to that getting error while refresh the browser.

    Please try to disable Cookie IP Validation and let me know the result.


    You can disable it using WHM >> Tweak Settings >> Cookie IP Validation. Select the disabled radio button there and save.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know how long in particular you are idle in the session?

    Thank you.
     
  4. sukrub

    sukrub Member

    Joined:
    Oct 25, 2011
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    5-10 minutes. However most clients are connected all day long. they use it as their main mail client.

    Here is another clue (maybe?) The following email is received by root

    subject: lfd on mailhost.tsgmx.com: Excessive resource usage: myAcctName (31731 (Parent PID:31503))

    body:
    Time: Tue Feb 23 13:16:29 2016 -0800
    Account: myAcctName
    Resource: Process Time
    Exceeded: 9018 > 1800 (seconds)
    Executable: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi
    Command Line: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi -c /usr/local/cpanel/3rdparty/php/54/etc/horde /usr/local/cpanel/base/horde/services/ajax.php

    PID: 31731 (Parent PID:31503)

    Killed: No
     
  5. sukrub

    sukrub Member

    Joined:
    Oct 25, 2011
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We also get get 'Disconnected' notice on outlook running IMAP. Outlook does not reconnect until next manual send & receive.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. sukrub

    sukrub Member

    Joined:
    Oct 25, 2011
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We have solved this problem.

    System security seemd to have alot of blocks for imap and pop We lowered the firewall and exim settings a little to see if that allows traffic. This fixed all issues related to mail server connections including webmail.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page