Your message dated Sun, 6 Mar 2016 18:19:20 +0530
with message-id <56dc2750.7000...@users.sourceforge.net>
and subject line Done: calendarserver: Internal Server Error with ipv4
has caused the Debian Bug report #815440,
regarding calendarserver: Internal Server Error with ipv4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
815440: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815440
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: calendarserver
Version: 7.0+dfsg-1
Severity: important

Dear Maintainer,

Server returns "Internal Server Error" when call with ipv4 (but it is ok with 
ipv4 loopback).

curl -X PROPFIND -H "Content-Type: text/xml" -H "Depth: 0" -u test --digest 
--data-binary '<?xml version="1.0" encoding="UTF-8" ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal/></prop></propfind>'
 http://HOST:8008/principals/

It is OK for HOST = [::1], [fd1f:2b2b:3c3c::4d], ip6-localhost, 127.0.0.1, 
localhost
It doesn't work with HOST = 192.168.1.103

Logs :

2016-02-21 16:23:41+0100 [-] [caldav-1]  [-] [twext.internet.sendfdport#error] 
doRead()
2016-02-21 16:23:41+0100 [-] [caldav-1]         Traceback (most recent call 
last):
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return 
context.call({ILogContext: newCtx}, func, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return 
self.currentContext().callWithContext(ctx, func, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return func(*args,**kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 149, 
in _doReadOrWrite
2016-02-21 16:23:41+0100 [-] [caldav-1]             why = getattr(selectable, 
method)()
2016-02-21 16:23:41+0100 [-] [caldav-1]         --- <exception caught here> ---
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twext/internet/sendfdport.py", line 520, in 
doRead
2016-02-21 16:23:41+0100 [-] [caldav-1]             
protocol.makeConnection(transport)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 494, in 
makeConnection
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.connectionMade()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 814, in 
connectionMade
2016-02-21 16:23:41+0100 [-] [caldav-1]             self._host = 
_cachedGetHostByAddr(address.host)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 119, in 
_cachedGetHostByAddr
2016-02-21 16:23:41+0100 [-] [caldav-1]             hostname = 
socket.gethostbyaddr(hostaddr)[0]
2016-02-21 16:23:41+0100 [-] [caldav-1]         socket.error: Address family 
not supported by protocol
2016-02-21 16:23:41+0100 [-] [caldav-1]         
2016-02-21 16:23:41+0100 [-] [caldav-1]  [HTTPChannel,14,::ffff:192.168.1.103] 
[txweb2.server#info] PROPFIND /principals/ HTTP/1.1
2016-02-21 16:23:41+0100 [-] [caldav-1]  [HTTPChannel,14,::ffff:192.168.1.103] 
[txweb2.server#error] Exception rendering request: <PROPFIND /principals/ (1, 
1)>
2016-02-21 16:23:41+0100 [-] [caldav-1]         Traceback (most recent call 
last):
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 863, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self.chanRequest.lineReceived(line)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 1194, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             
super(HTTPLoggingChannelRequest, self).lineReceived(line)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 251, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.processRequest()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 541, in 
processRequest
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.request.process()
2016-02-21 16:23:41+0100 [-] [caldav-1]         --- <exception caught here> ---
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 399, in process
2016-02-21 16:23:41+0100 [-] [caldav-1]             self._fixupURLParts()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 361, in _fixupURLParts
2016-02-21 16:23:41+0100 [-] [caldav-1]             hostaddr, secure = 
self.chanRequest.getHostInfo()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 653, in 
getHostInfo
2016-02-21 16:23:41+0100 [-] [caldav-1]             return self.channel._host, 
self.channel._secure
2016-02-21 16:23:41+0100 [-] [caldav-1]         exceptions.AttributeError: 
'HTTPChannel' object has no attribute '_host'
2016-02-21 16:23:41+0100 [-] [caldav-1]         
2016-02-21 16:23:41+0100 [-] [caldav-1]  [HTTPChannel,14,::ffff:192.168.1.103] 
[txweb2.server#error] Exception rendering error page
2016-02-21 16:23:41+0100 [-] [caldav-1]         Traceback (most recent call 
last):
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in 
_runCallbacks
2016-02-21 16:23:41+0100 [-] [caldav-1]             current.result = 
callback(current.result, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 723, in 
_cbFinishRender
2016-02-21 16:23:41+0100 [-] [caldav-1]             d.callback(response)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 393, in 
callback
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self._startRunCallbacks(result)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 501, in 
_startRunCallbacks
2016-02-21 16:23:41+0100 [-] [caldav-1]             self._runCallbacks()
2016-02-21 16:23:41+0100 [-] [caldav-1]         --- <exception caught here> ---
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in 
_runCallbacks
2016-02-21 16:23:41+0100 [-] [caldav-1]             current.result = 
callback(current.result, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 713, in filterit
2016-02-21 16:23:41+0100 [-] [caldav-1]             return f(self, response)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/calendarserver/tap/caldav.py", line 1038, in 
responseFilter
2016-02-21 16:23:41+0100 [-] [caldav-1]             ignored, secure = 
request.chanRequest.getHostInfo()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 653, in 
getHostInfo
2016-02-21 16:23:41+0100 [-] [caldav-1]             return self.channel._host, 
self.channel._secure
2016-02-21 16:23:41+0100 [-] [caldav-1]         exceptions.AttributeError: 
'HTTPChannel' object has no attribute '_host'
2016-02-21 16:23:41+0100 [-] [caldav-1]         
2016-02-21 16:23:41+0100 [-] [caldav-1]  [HTTPChannel,14,::ffff:192.168.1.103] 
[txweb2.server#error] Original exception
2016-02-21 16:23:41+0100 [-] [caldav-1]         Traceback (most recent call 
last):
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 863, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self.chanRequest.lineReceived(line)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 1194, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             
super(HTTPLoggingChannelRequest, self).lineReceived(line)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 251, in 
lineReceived
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.processRequest()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 541, in 
processRequest
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.request.process()
2016-02-21 16:23:41+0100 [-] [caldav-1]         --- <exception caught here> ---
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 399, in process
2016-02-21 16:23:41+0100 [-] [caldav-1]             self._fixupURLParts()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/server.py", line 361, in _fixupURLParts
2016-02-21 16:23:41+0100 [-] [caldav-1]             hostaddr, secure = 
self.chanRequest.getHostInfo()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 653, in 
getHostInfo
2016-02-21 16:23:41+0100 [-] [caldav-1]             return self.channel._host, 
self.channel._secure
2016-02-21 16:23:41+0100 [-] [caldav-1]         exceptions.AttributeError: 
'HTTPChannel' object has no attribute '_host'
2016-02-21 16:23:41+0100 [-] [caldav-1]         
2016-02-21 16:23:41+0100 [-] [caldav-1]  [HTTPChannel,14,::ffff:192.168.1.103] 
Unhandled Error
2016-02-21 16:23:41+0100 [-] [caldav-1]         Traceback (most recent call 
last):
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 285, in 
runReactorWithLogging
2016-02-21 16:23:41+0100 [-] [caldav-1]             reactor.run()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1194, in run
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.mainLoop()
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1206, in 
mainLoop
2016-02-21 16:23:41+0100 [-] [caldav-1]             self.doIteration(t)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 143, 
in doSelect
2016-02-21 16:23:41+0100 [-] [caldav-1]             _logrun(selectable, _drdw, 
selectable, method)
2016-02-21 16:23:41+0100 [-] [caldav-1]         --- <exception caught here> ---
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 101, in 
callWithLogger
2016-02-21 16:23:41+0100 [-] [caldav-1]             return 
callWithContext({"system": lp}, func, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return 
context.call({ILogContext: newCtx}, func, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return 
self.currentContext().callWithContext(ctx, func, *args, **kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in 
callWithContext
2016-02-21 16:23:41+0100 [-] [caldav-1]             return func(*args,**kw)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 154, 
in _doReadOrWrite
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self._disconnectSelectable(selectable, why, method=="doRead")
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 255, in 
_disconnectSelectable
2016-02-21 16:23:41+0100 [-] [caldav-1]             selectable.connectionLost(f)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 293, in 
connectionLost
2016-02-21 16:23:41+0100 [-] [caldav-1]             
protocol.connectionLost(reason)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 1006, in 
connectionLost
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self.factory.removeConnectedChannel(self)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/metafd.py", line 174, in 
removeConnectedChannel
2016-02-21 16:23:41+0100 [-] [caldav-1]             
HTTPFactory.removeConnectedChannel(self, channel)
2016-02-21 16:23:41+0100 [-] [caldav-1]           File 
"/usr/lib/python2.7/dist-packages/txweb2/channel/http.py", line 1085, in 
removeConnectedChannel
2016-02-21 16:23:41+0100 [-] [caldav-1]             
self.connectedChannels.remove(channel)
2016-02-21 16:23:41+0100 [-] [caldav-1]         exceptions.KeyError: 
<txweb2.channel.http.HTTPChannel object at 0x7fd55383d110>
2016-02-21 16:23:41+0100 [-] [caldav-1]         





-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (100, 'unstable'), (10, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages calendarserver depends on:
ii  adduser                  3.113+nmu3
ii  memcached                1.4.25-2
ii  python-crypto            2.6.1-6
ii  python-dateutil          2.4.2-1
ii  python-kerberos          1.1.5-2+b1
ii  python-openssl           0.15.1-2
ii  python-pg8000            1.10.2-1
ii  python-psutil            3.4.2-1
ii  python-pycalendar        2.1~svn15020-1
ii  python-service-identity  14.0.0-1
ii  python-setproctitle      1.1.8-1+b1
ii  python-sqlparse          0.1.18-1
ii  python-twext             0.1.b2.dev15059-1
ii  python-twisted           15.5.0-4
ii  python-tz                2012c+dfsg-0.1
ii  python-xattr             0.7.8-3
ii  python-zope.interface    4.1.3-1
pn  python:any               <none>
ii  ssl-cert                 1.0.37

Versions of packages calendarserver recommends:
ii  python-pam  0.4.2-13.2

calendarserver suggests no packages.

-- Configuration Files:
/etc/caldavd/accounts.xml [Errno 13] Permission non accordée: 
u'/etc/caldavd/accounts.xml'
/etc/caldavd/augments.xml changed [not included]
/etc/caldavd/caldavd.plist changed [not included]
/etc/caldavd/resources.xml changed [not included]
/etc/default/calendarserver changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: calendarserver
Version: 7.0+dfsg-1

--- Please enter the report below this line. ---
Workaround has been found for the issue.

--- End Message ---

Reply via email to