[Calendar and Contacts Server] #448: Server starts, but request issues "Message to long" error
#448: Server starts, but request issues "Message to long" error -----------------------------+---------------------------------------------- Reporter: st.uf@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Hi, I have CalendarServer running on OpenSuse 11.3. It runs as its own user, so may it is a privileges problem... Nevertheless, the server starts up well (see below), but when I try to access it, I get an error message like "Message too long" (also see below). Is this some kind of misconfiguration? Best wishes, Stefan ---Log File--- Starting server... /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead import MimeWriter, tempfile, rfc822 Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist 2011-05-22 21:23:08+0200 [-] Log opened. 2011-05-22 21:23:08+0200 [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up. 2011-05-22 21:23:08+0200 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2011-05-22 21:23:08+0200 [-] calendarserver.accesslog.AMPLoggingFactory starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd.sock'" 2011-05-22 21:23:08+0200 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd-stats.sock'" 2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout 'waiting for server to start...' 2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout '.' 2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout ' done\nserver started\n' 2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] postgres process ended <twisted.python.failure.Failure <class 'twisted.internet.error.ProcessDone'>> 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443 2011-05-22 21:23:10+0200 [-] [caldav-0] /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead 2011-05-22 21:23:10+0200 [-] [caldav-0] import MimeWriter, tempfile, rfc822 2011-05-22 21:23:10+0200 [-] [caldav-0] Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] Log opened. 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up. 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2011-05-22 21:23:10+0200 [calendarserver.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock') PEER:UNIXAddress('')) 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] AMP connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock')) 2011-05-22 21:23:14+0200 [-] Unhandled Error Traceback (most recent call last): File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/internet/sendfdport.py", line 139, in doWrite sendfd(self.skt.fileno(), skt.fileno(), desc) File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/python/sendfd.py", line 42, in sendfd socketfd, description, 0, [(SOL_SOCKET, SCM_RIGHTS, pack("i", fd))] socket.error: [Errno 90] Message too long -- Ticket URL: <http://trac.calendarserver.org/ticket/448> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#448: Server starts, but request issues "Message to long" error -----------------------------+---------------------------------------------- Reporter: st.uf@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Comment(by ical@…): I am having the exact same issue on a recent checkout of calendarserver r7517, on FreeBSD 8.2 using python 2.7.1, also with a specific user and group set in the plist file. Except that the error is "socket.error: [Errno 40] Message too long", but otherwise the same traceback. Is there any known resolution to this problem? Thanks in advance Lars -- Ticket URL: <http://trac.calendarserver.org/ticket/448#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#448: Server starts, but request issues "Message to long" error -----------------------------+---------------------------------------------- Reporter: st.uf@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Comment(by ical@…): Hi It seems to be a a problem with the sendfdport branch that was merged in r5425. If I start up the server using <key>UseMetaFD</key> <false/> I can get it up an running. So at lease there is a workaround. -- Ticket URL: <http://trac.calendarserver.org/ticket/448#comment:2> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#448: Server starts, but request issues "Message to long" error -----------------------------+---------------------------------------------- Reporter: st.uf@… | Owner: glyph@… Type: Defect | Status: new Priority: 2: Expected | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Changes (by wsanchez@…): * owner: wsanchez@… => glyph@… * priority: 5: Not set => 2: Expected -- Ticket URL: <http://trac.calendarserver.org/ticket/448#comment:3> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#448: Server starts, but request issues "Message to long" error -----------------------------+---------------------------------------------- Reporter: st.uf@… | Owner: glyph@… Type: Defect | Status: new Priority: 2: Expected | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Description changed by glyph@…: Old description:
Hi, I have CalendarServer running on OpenSuse 11.3. It runs as its own user, so may it is a privileges problem... Nevertheless, the server starts up well (see below), but when I try to access it, I get an error message like "Message too long" (also see below).
Is this some kind of misconfiguration?
Best wishes,
Stefan
---Log File---
Starting server... /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead
import MimeWriter, tempfile, rfc822
Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist
2011-05-22 21:23:08+0200 [-] Log opened.
2011-05-22 21:23:08+0200 [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up.
2011-05-22 21:23:08+0200 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2011-05-22 21:23:08+0200 [-] calendarserver.accesslog.AMPLoggingFactory starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd.sock'"
2011-05-22 21:23:08+0200 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd-stats.sock'"
2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout 'waiting for server to start...'
2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout '.'
2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout ' done\nserver started\n'
2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] postgres process ended <twisted.python.failure.Failure <class 'twisted.internet.error.ProcessDone'>>
2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008
2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443
2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008
2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443
2011-05-22 21:23:10+0200 [-] [caldav-0] /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead
2011-05-22 21:23:10+0200 [-] [caldav-0] import MimeWriter, tempfile, rfc822
2011-05-22 21:23:10+0200 [-] [caldav-0] Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist
2011-05-22 21:23:10+0200 [-] [caldav-0] [-] Log opened.
2011-05-22 21:23:10+0200 [-] [caldav-0] [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up.
2011-05-22 21:23:10+0200 [-] [caldav-0] [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2011-05-22 21:23:10+0200 [calendarserver.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock') PEER:UNIXAddress(''))
2011-05-22 21:23:10+0200 [-] [caldav-0] [-] AMP connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock'))
2011-05-22 21:23:14+0200 [-] Unhandled Error
Traceback (most recent call last): File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib .linux-x86_64-2.6/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib .linux-x86_64-2.6/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib .linux-x86_64-2.6/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib .linux-x86_64-2.6/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib .linux-x86_64-2.6/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/internet/sendfdport.py", line 139, in doWrite sendfd(self.skt.fileno(), skt.fileno(), desc) File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/python/sendfd.py", line 42, in sendfd socketfd, description, 0, [(SOL_SOCKET, SCM_RIGHTS, pack("i", fd))] socket.error: [Errno 90] Message too long
New description: Hi, I have CalendarServer running on OpenSuse 11.3. It runs as its own user, so may it is a privileges problem... Nevertheless, the server starts up well (see below), but when I try to access it, I get an error message like "Message too long" (also see below). Is this some kind of misconfiguration? Best wishes, Stefan ---Log File--- {{{ Starting server... /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead import MimeWriter, tempfile, rfc822 Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist 2011-05-22 21:23:08+0200 [-] Log opened. 2011-05-22 21:23:08+0200 [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up. 2011-05-22 21:23:08+0200 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2011-05-22 21:23:08+0200 [-] calendarserver.accesslog.AMPLoggingFactory starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd.sock'" 2011-05-22 21:23:08+0200 [-] calendarserver.tap.caldav.CalDAVStatisticsServer starting on "'/home/didsrv/CalendarServerData/Logs/state/caldavd-stats.sock'" 2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout 'waiting for server to start...' 2011-05-22 21:23:08+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout '.' 2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] received postgres stdout ' done\nserver started\n' 2011-05-22 21:23:09+0200 [-] [txdav.base.datastore.subpostgres#info] postgres process ended <twisted.python.failure.Failure <class 'twisted.internet.error.ProcessDone'>> 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8008 2011-05-22 21:23:09+0200 [-] <class 'twext.web2.metafd.LimitingInheritingProtocolFactory'> starting on 8443 2011-05-22 21:23:10+0200 [-] [caldav-0] /home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead 2011-05-22 21:23:10+0200 [-] [caldav-0] import MimeWriter, tempfile, rfc822 2011-05-22 21:23:10+0200 [-] [caldav-0] Reading configuration from file: /home/calendar/DarwinCalDAVServer/CalendarServer/conf/caldavd-dev.plist 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] Log opened. 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] twistd 10.1.0 (/usr/bin/python2.6 2.6.5) starting up. 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2011-05-22 21:23:10+0200 [calendarserver.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock') PEER:UNIXAddress('')) 2011-05-22 21:23:10+0200 [-] [caldav-0] [-] AMP connection established (HOST:UNIXAddress(None) PEER:UNIXAddress('/home/didsrv/CalendarServerData/Logs/state/caldavd.sock')) 2011-05-22 21:23:14+0200 [-] Unhandled Error Traceback (most recent call last): File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/home/calendar/DarwinCalDAVServer/Twisted/build/lib.linux- x86_64-2.6/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/internet/sendfdport.py", line 139, in doWrite sendfd(self.skt.fileno(), skt.fileno(), desc) File "/home/calendar/DarwinCalDAVServer/CalendarServer/twext/python/sendfd.py", line 42, in sendfd socketfd, description, 0, [(SOL_SOCKET, SCM_RIGHTS, pack("i", fd))] socket.error: [Errno 90] Message too long }}} -- -- Ticket URL: <http://trac.calendarserver.org/ticket/448#comment:4> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#448: Server starts, but request issues "Message to long" error -------------------------------+-------------------------------------------- Reporter: st.uf@… | Owner: glyph@… Type: Defect | Status: closed Priority: 2: Expected | Milestone: Linux Port Component: Calendar Server | Severity: Other Resolution: Software changed | Keywords: Radar: | -------------------------------+-------------------------------------------- Changes (by glyph@…): * status: new => closed * resolution: => Software changed Comment: I believe that this bug was fixed r9700. I was never able to reproduce this symptom, but there was a bug in the sendfd module that may have caused certain values to be set incorrectly in that function. Please give it another try, and reopen if it's still causing you a problem with `UseMetaFD` set to true. -- Ticket URL: <http://trac.calendarserver.org/ticket/448#comment:5> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (1)
-
Calendar and Contacts Server