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":
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:
- Download the hotfix file attached to this article.
- Extract the ZIP archive.
-
Navigate to the following directory, based on installed OS. Defaults are:
- Windows:
C:\Program Files\Kerio\MailServer\web\webmail
- Linux:
/opt/kerio/mailserver/web/webmail
- Mac:
/usr/local/kerio/mailserver/web/webmail
- Windows:
- Rename webmail2.js to webmail2.js.bak
- Copy the new webmail2.js extracted from the downloaded ZIP archive.
- Clear Cache on the client browser side to make sure the new webmail2.js is downloaded.
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
-
Is this issue browser-specific?
No, it occurs across multiple browsers. -
Do I need special permissions to implement this solution?
Yes, administrator access to the server is required. -
How do I ensure the hotfix is effective?
After applying the hotfix, clear your browser's cache to ensure the newwebmail2.js
is used.