[CalendarServer-users] Connection aborted - took too long to close

Andre LaBranche dre at apple.com
Mon Feb 9 10:02:57 PST 2015


Hi,

That is really weird, and I don’t think I’ve seen this symptom before.

A tcpdump of an affected connection might help.

Can you reproduce this problem when accessing the server locally? It would help to rule out any sort of network-level influence, such as a firewall.

-dre

> On Feb 6, 2015, at 6:36 PM, Jacques Distler <distler at golem.ph.utexas.edu> wrote:
> 
> 
>> On Feb 6, 2015, at 1:49 PM, Jacques Distler <distler at golem.ph.utexas.edu> wrote:
>> 
>> On the client side, the errors look like
>> 
>> 2/6/15 1:37:43.588 PM CalendarAgent[91270]: [com.apple.calendar.store.log.caldav.queue] [Account refresh failed with error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo=0x7fe5df29be10 {AccountName=Yyyyy Yyyyyy, CalDAVErrFromRefresh=YES, NSUnderlyingError=0x7fe5df2d2ee0 "The network connection was lost.", NSErrorFailingURLKey=https://distler@golem.ph.utexas.edu:8443/calendars/__uids__/E8983642-8809-5ED0-9EDE-60D056E0A81B/, NSLocalizedDescription=The network connection was lost., _kCFStreamErrorDomainKey=4, NSErrorFailingURLStringKey=https://distler@golem.ph.utexas.edu:8443/calendars/__uids__/E8983642-8809-5ED0-9EDE-60D056E0A81B/, _kCFStreamErrorCodeKey=-4}]
>> 
>> 
>> Could it be that the CLIENT is the one timing out (rather than the server)?
> 
> Nope. That definitely ain't the problem.
> 
> I can reproduce the problem on the client side by opening up an appropriate URL
> 
>    https://golem.ph.utexas.edu:8443/calendars/users/Yyyyyyy/calendar/
> 
> in a web browser. The page starts to load, but times out after 20 seconds, with a
> 
>    Connection Interrupted
>    The document contains no data.
>    The network link was interrupted while negotiating a connection. Please try again.
> 
> The timing exactly coincides with the "Connection aborted" error message on the server.
> 
> So it's definitely the server that is timing out the connection, and the timeout interval is 20 seconds.
> 
> Jacques



More information about the calendarserver-users mailing list