Hello,
After a while of fiddling, I found out that running ldconfig solved the
syncevo.dbus-server problem.
Now, one step further, and having a requestmaxtime of 30 minutes set I
am seeing this:
[DEBUG] syncevo-http: reply session 13220194751373803087 connection
/org/syncevolution/Connection/13220194751373803087 (active
/org/syncevolution/Connection/13220194751373803087) final 0 data len 7426
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 7426, binary data
[DEBUG] twisted: 213.211.221.128 - - [14/Jul/2013:11:58:20 +0000] "POST /sync
HTTP/1.1" 200 7426 "-" "Nokia SyncML HTTP Client"
[DEBUG] syncevo-http: done with request in session None, error None
[DEBUG] syncevo-http: POST from 213.211.221.128 config type
application/vnd.syncml+wbxml session 13220194751373803087 args {'sessionid':
['13220194751373803087']} length 65530
[DEBUG] syncevo-http: processing incoming message of type
application/vnd.syncml+wbxml and length 65530, binary data
[INFO] sync: /org/syncevolution/Session/13220194751373803087: addressbook:
starting normal sync from client (peer is client)
[INFO] sync: /org/syncevolution/Session/13220194751373803087: calendar:
starting slow sync from client (peer is client)
[INFO] sync: /org/syncevolution/Session/13220194751373803087: addressbook:
started
[ERROR] sync: /org/syncevolution/Session/13220194751373803087: 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/13220194751373803087: calendar: slow
sync done unsuccessfully
[ERROR] sync: /org/syncevolution/Session/13220194751373803087: external
transport failure (local, status 20043)
[DEBUG] syncevo-http: reply session 13220194751373803087 connection
/org/syncevolution/Connection/13220194751373803087 (active
/org/syncevolution/Connection/13220194751373803087) final 0 data len 2080
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 2080, binary data
[DEBUG] twisted: 213.211.221.128 - - [14/Jul/2013:12:04:28 +0000] "POST
/sync?sessionid=13220194751373803087 HTTP/1.1" 200 2080 "-" "Nokia
SyncML HTTP
Client"
[DEBUG] syncevo-http: done with request in session 13220194751373803087, error
None
[DEBUG] syncevo-http: POST from 213.211.221.128 config type
application/vnd.syncml+wbxml session 13220194751373803087 args {'sessionid':
['13220194751373803087']} length 299
[DEBUG] syncevo-http: processing incoming message of type
application/vnd.syncml+wbxml and length 299, binary data
[INFO] sync: /org/syncevolution/Session/13220194751373803087: addressbook:
normal sync done successfully
[INFO] sync: /org/syncevolution/Session/13220194751373803087: calendar: slow
sync done unsuccessfully
[ERROR] sync: /org/syncevolution/Session/13220194751373803087: external
transport failure (local, status 20043)
[DEBUG] syncevo-http: reply session 13220194751373803087 connection
/org/syncevolution/Connection/13220194751373803087 (active
/org/syncevolution/Connection/13220194751373803087) final 0 data len 311
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 311, binary data
[DEBUG] twisted: 213.211.221.128 - - [14/Jul/2013:12:05:19 +0000] "POST
/sync?sessionid=13220194751373803087 HTTP/1.1" 200 311 "-" "Nokia
SyncML HTTP
Client"
[DEBUG] syncevo-http: done with request in session 13220194751373803087, error
None
[INFO] sync: /org/syncevolution/Session/13220194751373803087:
Synchronization failed, see
/home/christof/.cache/syncevolution/christofphon-2013-07-14-11-58/syncevolution-
log.html for details.
[INFO] sync: /org/syncevolution/Session/13220194751373803087:
Changes applied during synchronization:
[INFO] sync: /org/syncevolution/Session/13220194751373803087:
+---------------|-----------------------|-----------------------|-CON-+
| | LOCAL | REMOTE | FLI |
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| addressbook | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| one-way-from-remote, 0 KB sent by client, 0 KB received |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| calendar | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| refresh-from-remote, 0 KB sent by client, 58 KB received |
| external transport failure (local, status 20043) |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| memo | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| todo | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| start Sun Jul 14 11:58:08 2013, duration 7:12min |
| incomplete sync session (local, status 20023) |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: transport problem: updateAllSubItems REPORT 'list
items': Neon error code 6, no HTTP status: Could not read status line:
connection timed out
[ERROR] sync: /org/syncevolution/Session/13220194751373803087: error code from
SyncEvolution incomplete sync session (local, status 20023): sync failed
[DEBUG] syncevo-http: connection
/org/syncevolution/Connection/13220194751373803087 went down, active
connection /org/syncevolution/Connection/13220194751373803087
[DEBUG] syncevo-http: destructing connection
/org/syncevolution/Connection/13220194751373803087 with code 500 message lost
connection to SyncEvolution
[DEBUG] syncevo-http: self.connection.Close() failed, connection probably
already gone: org.freedesktop.DBus.Error.UnknownMethod: No such interface
`org.syncevolution.Connection' on object at path
/org/syncevolution/Connection/13220194751373803087
[DEBUG] syncevo-http: removed SyncML session <__main__.SyncMLSession instance
at 0x902fa8>
[ERROR] sync: /org/syncevolution/Session/13220194751373803087: sess:
Destroying session.
I am guessing that this is due to a connection timeout to the webdav
server. If so, how can I increase that?
Christof
Am Sonntag, 30. Juni 2013, 19:25:20 schrieben Sie:
On Sat, 2013-06-29 at 23:22 +0200, Christof Schulze wrote:
> Hello,
> > If you want a tar ball, try this:
>
http://downloads.syncevolution.org/tmp/syncevolution-1.3.99.3%2b20130514%2
> bS>
> > E%2bde24470%2bunclean%2bSYSYNC%2b3366831.tar.gz
> > It should use the feature by default. The full
documentation is this:
> I finally managed to use some spare cpu cycles to compile this version.
> When Running it however the debug log shows upon connect:
> [DEBUG] syncevo-http: processing incoming message of type
> application/vnd.syncml+wbxml and length 404, binary data
> [DEBUG] syncevo-http: requesting new session
> [ERROR] twisted: Unhandled Error
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1349,
> in
> dataReceived
> finishCallback(data[contentLength:])
> File
"/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1563,
> in
> _finishRequestBody
> self.allContentReceived()
> File
"/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1618,
> in
> allContentReceived
> req.requestReceived(command, path, version)
> File
"/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 773,
> in
> requestReceived
> self.process()
> --- <exception caught here> ---
> File
"/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 132,
> in
> process
> self.render(resrc)
> File
"/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 167,
> in
> render
> body = resrc.render(self)
> File
"/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line
> 216,
> in render
> return m(request)
> File "/usr/local/bin/syncevo-http-server", line 299,
in render_POST
> urlparse.urljoin(self.url.geturl(), request.path))
> File "/usr/local/bin/syncevo-http-server", line 205,
in start
> self.object = Context.getDBusServer()
> File "/usr/local/bin/syncevo-http-server", line 89,
in getDBusServer
> '/org/syncevolution/Server'),
> File "/usr/lib/python2.7/dist-packages/dbus/bus.py",
line 241, in
> get_object>
> follow_name_owner_changes=follow_name_owner_changes)
> File
"/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
> __init__
> self._named_service = conn.activate_name_owner(bus_name)
> File "/usr/lib/python2.7/dist-packages/dbus/bus.py",
line 180, in
> activate_name_owner
> self.start_service_by_name(bus_name)
> File "/usr/lib/python2.7/dist-packages/dbus/bus.py",
line 278, in
> start_service_by_name
> 'su', (bus_name, flags)))
> File
"/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
> call_blocking
> message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/local/libexec/syncevo-dbus-server exited with status 127
> [DEBUG] twisted: 213.211.221.128 - - [29/Jun/2013:21:19:09
+0000] "POST
> /sync HTTP/1.1" 500 11880 "-" "Nokia SyncML HTTP Client"
> Needless to say - there is no sync working. How can I get a more
useful
> error message than "unhandled Error"?
As a first step, run "syncevo-http-server" with
"--debug" as argument.
But the failure seems to be in syncevo-dbus-server, so it may be
easier
to start it manually in a separate shell. Make sure that both
syncevo-http-server and syncevo-dbus-server have the same
DBUS_SESSION_BUS_ADDRESS env variable.
--
() ascii ribbon campaign - against html e-mail
/\
www.asciiribbon.org - against proprietary attachments