General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Proxy Error 502 : Error reading from remote server :Can't get cStringLength from Unicode string.


Chronological Thread 
  • From: Anthony Milan < >
  • To:
  • Subject: [SOGo] Proxy Error 502 : Error reading from remote server :Can't get cStringLength from Unicode string.
  • Date: Mon, 30 Aug 2010 10:39:01 +0200
  • Organization: Centre hospitalier de Saint-Brieuc

Hi,

I would like to deploy SOGo in my company with Thunderbird 3.1. I'am
preparing this deployment. One thing I have to do is to import existent
calendars as ics files. I tried to import ics file by web interface
(Calendar, Calendars, Import Events...). After, I tried to read this
events with Perl DAV (my ambition is to script the imports) and I had
the error in subject. Before the import, I could read the events created
with SOGo interface without mistake.

How can I find the event which is at the origin of this error? I have
more 300 events in ics file.

Regards,

The sogo.log, apache2 error.log and perl dav debug are as follows.

/var/log/sogo/sogo.log

Aug 30 10:10:07 sogod: SOGo watchdog [1508]: <[so-security]>D validate
key 5E8-4C7B6780-35-7EDBB300 of object:
<0x09608440[SOGoAppointmentFolder]: name=personal
container=0x094F0AF0/Calendar
ocs=/Users/ /Calendar/personal>
Aug 30 10:10:07 sogod: SOGo watchdog [1508]: <[so-security]>D found no
security info for key (class SOGoAppointmentFolder):
5E8-4C7B6780-35-7EDBB300
Aug 30 10:10:07 sogod: SOGo watchdog [1508]: <[so-security]>D default
is allow ...
PostgreSQL72 connection dropped 0x0xaac1b98 (channel=0x0x9a9a5b0)
PostgreSQL72 connection dropped 0x0x959c830 (channel=0x0x90b3538)
EXCEPTION: <NSException: 0x9a282b0> NAME:NSCharacterConversionException
REASON:Can't get cStringLength from Unicode string. INFO:(nil)
Aug 30 10:10:08 sogod: SOGo watchdog [1504]:
<0x0x8dbb8a0[WOWatchDogChild]> child 1508 exited
Aug 30 10:10:08 sogod: SOGo watchdog [1504]:
<0x0x8dbb8a0[WOWatchDogChild]> (terminated due to signal 6)
Aug 30 10:10:08 sogod: SOGo watchdog [1504]: <0x0x8d9f208[WOWatchDog]>
child spawned with pid 2034
Aug 30 10:10:08 sogod: SOGo watchdog [2034]: SNS support disabled.
Aug 30 10:10:08 sogod: SOGo watchdog [2034]:
<0x0x903b018[SOGoProductLoader]> SOGo products loaded from
'/usr/lib/GNUstep/SOGo':
Aug 30 10:10:08 sogod: SOGo watchdog [2034]:
<0x0x903b018[SOGoProductLoader]> Contacts.SOGo, SchedulerUI.SOGo,
Appointments.SOGo, CommonUI.SOGo, MailerUI.SOGo, MainUI.SOGo,
Mailer.SOGo, ContactsUI.SOGo, PreferencesUI.SOGo, AdministrationUI.SOGo,
MailPartViewers.SOGo
Aug 30 10:10:09 sogod: SOGo watchdog [2034]: |SOGo| version 1.3.0 (build
@vizzini.inverse.ca 201008191852) -- starting
Aug 30 10:10:09 sogod: SOGo watchdog [2034]: |SOGo| vmem size check
enabled: shutting down app when vmem > 512 MB
2010-08-30 10:10:09.494 sogod[2034] PostgreSQL72 connection established:
<0x0x91ffb70[PGConnection]: connection=0x0x957f028>
2010-08-30 10:10:09.495 sogod[2034] PostgreSQL72 channel 0x0x97901d0
opened (connection=<0x0x91ffb70[PGConnection]: connection=0x0x957f028>)
2010-08-30 10:10:09.495 sogod[2034] PG0x0x97901d0 SQL: SELECT count(*)
FROM sogo_user_profile
2010-08-30 10:10:09.498 sogod[2034] PG0x0x97901d0 SQL: SELECT count(*)
FROM sogo_folder_info

/var/log/apache2/error.log

[Mon Aug 30 10:10:07 2010] [error] [client 132.147.200.196] (70014)End
of file found: proxy: error reading status line from remote server 127.0.0.1
[Mon Aug 30 10:10:07 2010] [error] [client 132.147.200.196] proxy: Error
reading from remote server returned by
/SOGo/dav/ /Calendar/personal/

PerlDAV Debug

Mon Aug 30 10:09:48 2010
PROPFIND REQUEST>>
PROPFIND
http://webmail.ch-stbrieuc.fr/SOGo/dav/ /Calendar/personal/
HTTP/1.1
Host: webmail.ch-stbrieuc.fr:80
User-Agent: DAV.pm/v0.31
Content-Length: 90
Content-Type: text/xml
Depth: 1

<?xml version="1.0" encoding="utf-8"?><D:propfind
xmlns:D="DAV:"><D:allprop/></D:propfind>
PROPFIND RESPONSE>>
HTTP/1.1 502 Proxy Error
Connection: close
Date: Mon, 30 Aug 2010 08:10:07 GMT
Vary: Accept-Encoding
Content-Length: 612
Content-Type: text/html; charset=iso-8859-1
Client-Date: Mon, 30 Aug 2010 08:09:48 GMT
Client-Peer: 132.147.161.87:80
Client-Response-Num: 1
Title: 502 Proxy Error

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid^M
response from an upstream server.<br />^M
The proxy server could not handle the request <em><a
href="/SOGo/dav/ /Calendar/personal/">PROPFIND&nbsp;/SOGo/dav/
-stbrieuc.fr/Calendar/personal/</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at
webmail.ch-stbrieuc.fr Port 80</address>
</body></html>

--
Anthony Milan

Centre Hospitalier de Saint-Brieuc
Direction du système d'information
22027 Saint-Brieuc Cedex 1
Tél : 02 96 01 78 39 (67839)
Fax : 02 96 01 75 57



  • [SOGo] Proxy Error 502 : Error reading from remote server :Can't get cStringLength from Unicode string., Anthony Milan, 08/30/2010

Archive powered by MHonArc 2.6.16.

Top of page