Am Sonntag, 14. Juli 2013, 21:15:08 schrieb Patrick Ohly: > > I am guessing that this is due to a connection timeout to the webdav > > server. > Yes, looks like it. "connection timed out" is a low-level Unix error > code for a failure to establish (or use) a TCP connection.
> > If so, how can I increase that?
> Tweaking the TCP timeout values is possible in theory, but not
> implemented by SyncEvolution. Instead it resends HTTP requests which
> are idempotent (= can be tried again because if they were already
> executed, making the server execute them again will have the same end
> result). In this case, a query for information could be sent again,
> and NeonCXX.cpp Session::checkError() has a case for error code 6 =
> NE_TIMEOUT:
> case NE_LOOKUP:
> case NE_TIMEOUT:
> case NE_CONNECT:
> retry = true;
> break;
> Also, CalDAVSource::updateAllSubItems() has a while loop over the
> execution of the report.
> Can you check in the server's log for that session whether it really
> tried the "updateAllSubItems REPORT" multiple times? You probably need
> to run with a higher log level to see the HTTP traffic for the REPORT.
> The "updateAllSubItems REPORT 'list items'" line might only be printed
> once.
this is the full server log with the server having the debug flag set:
[DEBUG] syncevo-http: POST from 192.168.142.85 config type
application/vnd.syncml+wbxml session None args {} length 299
[INFO] syncevo-http: new SyncML session for 192.168.142.85
[DEBUG] syncevo-http: processing incoming message of type
application/vnd.syncml+wbxml and length 299, binary data
[DEBUG] syncevo-http: requesting new session
[DEBUG] syncevo-http: started new connection
/org/syncevolution/Connection/5130385871373932780
[DEBUG] syncevo-http: added new SyncML session <__main__.SyncMLSession
instance at 0x9b8030>
[INFO] syncevo-dbus-server: /org/syncevolution/Server: ready to run
[INFO] syncevo-dbus-server: /org/syncevolution/Server: matched deviceID
IMEI:XXXXXXXXXXXXXXXXXXXX against config christofphon
(/home/christof/.config/syncevolution/default/peers/christofphon)
[DEBUG] syncevo-http: reply session 5130385871373932780 connection
/org/syncevolution/Connection/5130385871373932780 (active
/org/syncevolution/Connection/5130385871373932780) final 0 data len 3253
dbus.Dictionary({dbus.UTF8String('URL'): dbus.UTF8String('')},
signature=dbus.Signature('ss'))
[DEBUG] syncevo-http: processing outgoing message of type
application/vnd.syncml+wbxml and length 3253, binary data
[DEBUG] twisted: 192.168.142.85 - - [15/Jul/2013:23:59:48 +0000] "POST /sync
HTTP/1.1" 200 3253 "-" "Nokia SyncML HTTP Client"
[DEBUG] syncevo-http: done with request in session None, error None
[DEBUG] syncevo-http: POST from 192.168.142.85 config type
application/vnd.syncml+wbxml session 5130385871373932780 args {'sessionid':
['5130385871373932780']} length 65276
[DEBUG] syncevo-http: processing incoming message of type
application/vnd.syncml+wbxml and length 65276, binary data
[INFO] sync: /org/syncevolution/Session/5130385871373932780: calendar:
starting slow sync from client (peer is client)
[ERROR] sync: /org/syncevolution/Session/5130385871373932780: transport
problem: updateAllSubItems REPORT 'list items': Neon error code 6, no HTTP
status: Could not read status line: connection timed out
[INFO] sync: /org/syncevolution/Session/5130385871373932780: calendar: slow
sync done unsuccessfully
[ERROR] sync: /org/syncevolution/Session/5130385871373932780: external
transport failure (local, status 20043)
[DEBUG] syncevo-http: reply session 5130385871373932780 connection
/org/syncevolution/Connection/5130385871373932780 (active
/org/syncevolution/Connection/5130385871373932780) final 0 data len 2006
dbus.Dictionary({dbus.UTF8String('URL'): dbus.UTF8String('')},
signature=dbus.Signature('ss'))
[DEBUG] syncevo-http: processing outgoing message of type
application/vnd.syncml+wbxml and length 2006, binary data
[DEBUG] twisted: 192.168.142.85 - - [16/Jul/2013:00:05:18 +0000] "POST
/sync?sessionid=5130385871373932780 HTTP/1.1" 200 2006 "-" "Nokia SyncML HTTP
Client"
[DEBUG] syncevo-http: done with request in session 5130385871373932780, error
None
syncevolution-log.html does show this:
17722 processing time=318813 msec, incoming bytes=65276, outgoing bytes=2006
17723 [2013-07-16 00:05:19.090] D-Bus transport: outgoing message 2006
bytes,
17724 application/vnd.syncml+wbxml,
17725 [2013-07-16 00:05:19.178] D-Bus transport: wait - old state: WAITING,
17726 [2013-07-16 00:10:19.557] D-Bus transport: got error 'timed out after
300s',
17727 current error is '', state WAITING
17728 [2013-07-16 00:10:19.589] D-Bus transport: wait - new state: FAILED,
timed out
17729 after 300s
17730 [2013-07-16 00:10:19.645] TransportException thrown at
src/dbus/server/dbus-
17731 transport-agent.cpp:169
17732 [2013-07-16 00:10:19.657] transport problem: send() on connection
which is not
17733 ready
17734 [2013-07-16 00:10:19.677] aborting after catching fatal error
17735 +
17736 –
what timeout is this that kicks in after 300s?
Christof
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ SyncEvolution mailing list [email protected] https://lists.syncevolution.org/mailman/listinfo/syncevolution
