View Issue Details

IDProjectCategoryView StatusLast Update
0005170SOGowith SOGopublic2020-09-30 13:37
Reporterbuk Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status newResolutionopen 
PlatformWindowsOSWindows 10 
Product Version5.0.0 
Summary0005170: Email can't sync with Outlook clients due to: NSCharacterConversionException - Can't get cString from Unicode string.
Description

Hi,
for past few weeks some two of many emails inboxes are suffering to "EXCEPTION: <NSException: 0x55f607f82920> NAME: NSCharacterConversionException REASON: Can't get cString from Unicode string" when Outlook clients are trying to sync inboxes.
Could you please point me how to provide you with more details if needed and find out which emails are causing this?

We are running SOGo v5 nightly from 20200915

Thank you

Additional Information

Sep 21 13:17:33 sogod [27049]: <0x0x55f604275280[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)
Sep 21 13:17:33 sogod [27049]: [WARN] <0x0x55f607f84560[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:33 sogod [27049]: <0x0x55f607f7f960[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:33 sogod [27049]: [WARN] <0x0x55f607f843c0[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:33 sogod [27049]: <0x0x55f604709ad0[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f83e80[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f73cd0[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f82450[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607a13e60[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f73bc0[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f81ba0[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f89400[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607a127b0[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607a0e890[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f8f3b0[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f83e70[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f89870[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607a113d0[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f7fb00[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: [WARN] <0x0x55f607f80700[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:34 sogod [27049]: <0x0x55f607f94790[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
Sep 21 13:17:35 sogod [27049]: [WARN] <0x0x55f607f7ba40[NSDataMalloc]> -[NSData(MIMEContentTransferEncoding) dataByApplyingMimeContentTransferEncoding:]: unknown content-transfer-encoding: '7bit '
Sep 21 13:17:35 sogod [27049]: <0x0x55f607f84090[NGMimeBodyPartParser]> WARNING(-[NGMimePartParser readBody]): encountered unknown content-transfer-encoding: '7bit '
2020-09-21 13:17:35.079 sogod[27049:27049] EXCEPTION: <NSException: 0x55f607f82920> NAME:NSCharacterConversionException REASON:Can't get cString from Unicode string. INFO:(null)
Sep 21 13:17:35 sogod [27049]: mail.fiolasoft.net "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=filip.kraucher@fiolasoft.cz&DeviceId=DF33128BC51A4D75925E28941F957913&DeviceType=WindowsOutlook15 HTTP/1.1" 501 0/7075 2.472 - - 168K - 14

TagsNo tags attached.

Activities

the_nic

the_nic

2020-09-28 06:58

reporter   ~0014863

It looks like there is an extra space in 7bit at the end which isnt handled (properly)

tfu

tfu

2020-09-30 13:37

reporter   ~0014876

Try to identify which mail could cause the problem. Check the mail in webmail and compare them with the mails synced to OL.
Setting following parameters would sync one mail per request and might help to identify the mail causing the problem:
SOGoMaximumSyncWindowSize = 1
SOGoEASDebugEnabled = YES

Issue History

Date Modified Username Field Change
2020-09-21 07:54 buk New Issue
2020-09-28 06:58 the_nic Note Added: 0014863
2020-09-30 13:37 tfu Note Added: 0014876