Start a conversation

Webmail crash with Unexpected error occurred in Kerio Connect 10.0.2 and newer

Overview

Users of Kerio Connect 10.0.2 and 10.0.3 (including 10.0.3 patch 1) may experience a webmail crash when attempting to open an email in a new window (either by double clicking it or using the dedicated option) using various browsers such as Chrome, Firefox, or Edge. The crash is accompanied by an error message stating "An unexpected error occurred in Kerio Connect Client"​:

Crash1.png

When clicking on Show Data, the full error is shown (ErrorMessage: e is undefined):

Product name: Kerio Connect
Version: 10.0.3.7896
Module: Kerio Connect Client
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Platform: Win32 Windows NT 10.0; Win64; x64
ServerOs: Ubuntu 22.04, x86_64
Language: en
Resolution: 1152x648
Zoom: unknown
DetectedBrowser: Firefox 121
ErrorMessage: e is undefined
Url: /webmail/webmail2.js?v=599398386cbb8eb48f7b9b745c63c6f6
Line: 84831
ActiveDialogId: view [new window]
NavigationItemId: mail
WindowSize: 821x553
RunTime: 1
DeveloperToolActive: Yes
BrowserSpeed: unknown
PreviousWidgetId: unknown
CallStack: refresh@webmail2.js:84831:13
applyFirstRefresh/<@ext.min.js:38697:23
Ext.Function.bind/<@webmail2.js:71:30
Custom data:{"reportsCount":1,"isMultiServer":false,"mailsPerPage":50,"emailPreviewPlace":"right","folderCount":21,"contactCount":605,"firstWeekDay":0,"calendarViewType":"dayView","dateFormat":"de","timeFormat":"en-us"}

Prerequisites

Administrator (root) access to the Kerio Connect server

Solution

The root cause of the issue has been fixed in Kerio Connect 10.0.4, so you can proceed with Upgrading Kerio Connect Server to the Latest Version in order to apply this fix.

If you are unable to upgrade to version 10.0.4 for any reason, a hotfix can be deployed to the affected version installations with the below steps:

  1. Download the hotfix file attached to this article.
  2. Extract the ZIP archive.
  3. Navigate to the following directory, based on installed OS. Defaults are:
    1. Windows: C:\Program Files\Kerio\MailServer\web\webmail
    2. Linux: /opt/kerio/mailserver/web/webmail
    3. Mac: /usr/local/kerio/mailserver/web/webmail
  4. Rename webmail2.js to webmail2.js.bak
    webmail2_js_bak.png
  5. Copy the new webmail2.js extracted from the downloaded ZIP archive.
  6. Clear Cache on the client browser side to make sure the new webmail2.js is downloaded.
    1. Chrome guide
    2. Firefox guide
    3. Edge guide

Summary

This article provides a solution for resolving a webmail crash in Kerio Connect version 10.0.2 - 10.0.3 p1 by applying a hotfix involving file replacement and cache clearing or upgrading to the 10.0.4 version, which contains the final fix for this behavior.

 

FAQ

  1. Is this issue browser-specific?

    No, it occurs across multiple browsers.
  2. Do I need special permissions to implement this solution?

    Yes, administrator access to the server is required.
  3. How do I ensure the hotfix is effective?
    After applying the hotfix, clear your browser's cache to ensure the new webmail2.js is used.

webmail2_10_0_3_p1.zip

  1. 653 KB
  2. View
  3. Download
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments