View Issue Details

IDProjectCategoryView StatusLast Update
0004625SOGoBackend Mailpublic2019-02-14 19:19
Reporterjordi Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Versionbuster
Product Version4.0.4 
Summary0004625: SSL error when opening mail interface
Description

This was reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914524.

When compiled against GnuTLS, SOGo shows the following error when opening the webmail interface:

An error occurred during object publishing - the requested object could not be found!'

Logs show:

   Error (objc-load):/usr/lib/GNUstep/SOGo/MailPartViewers.SOGo/MailPartViewers: undefined symbol: SSL_load_error_strings
   Error (objc-load):/usr/lib/GNUstep/SOGo/MailerUI.SOGo/MailerUI: undefined symbol: __objc_class_name_UIxMailSizeFormatter

   Nov 16 04:08:48 sogod [18909]: [so-product-registry] could not load product: MailPartViewers
   Nov 16 04:08:48 sogod [18909]: [so-product-registry] could not load product: MailerUI

A probably irrelevant info is that gnutls was updated to 3.6 recently in Debian, as the bug was reported when the user had 3.5 installed.

Additional Information

The original reporter applied this code block entirely to check if the error was due to GNUTLS, and indeed the problem is gone without it.

--- sogo-4.0.4.orig/UI/MailPartViewers/UIxMailPartSignedViewer.m
+++ sogo-4.0.4/UI/MailPartViewers/UIxMailPartSignedViewer.m
@@ -169,11 +169,12 @@
if (err)
{
#ifdef HAVE_GNUTLS

  • const char* sslError;
  • ERR_load_crypto_strings();
  • SSL_load_error_strings();
  • sslError = ERR_reason_error_string(err);
  • validationMessage = [[self labelForKey: [NSString
    stringWithUTF8String: sslError ? sslError : @"No error information
    available"]] retain];
    +// const char* sslError;
    +// ERR_load_crypto_strings();
    +// SSL_load_error_strings();
    +// sslError = ERR_reason_error_string(err);
    +// validationMessage = [[self labelForKey: [NSString
    stringWithUTF8String: sslError ? sslError : @"No error information
    available"]] retain];
  • validationMessage = [[self labelForKey: @"No error information
    available"] retain];
    #elif OPENSSL_VERSION_NUMBER < 0x10100000L
    const char* sslError;
    ERR_load_crypto_strings();
TagsNo tags attached.

Activities

trs80

trs80

2019-01-03 04:01

reporter   ~0013231

Looks like this code was added in https://sogo.nu/bugs/bug_relationship_graph.php?bug_id=4433

Issue History

Date Modified Username Field Change
2018-12-17 23:44 jordi New Issue
2019-01-03 04:01 trs80 Note Added: 0013231
2019-02-14 19:19 ludovic Status new => closed
2019-02-14 19:19 ludovic Assigned To => ludovic
2019-02-14 19:19 ludovic Resolution open => no change required