Sync errors and possible reasons
Below you'll find an explanation of some error reports and possible reasons.
Contents
- 1 org.apache.http.conn.HttpHostConnectException: Connection to YOUR SERVER URL refused
- 2 org.dmfs.dav.exceptions.UnauthorizedException: null
- 3 org.apache.http.client.ClientProtocolException: calendar-query failed
- 4 javax.net.ssl.SSLException: Read error: ssl=0x34b548: I/O error during system call, Connection reset by peer
- 5 javax.net.ssl.SSLException: Read error: ssl=0x351428: I/O error during system call, Connection timed out
org.apache.http.conn.HttpHostConnectException: Connection to YOUR SERVER URL refused
The name of this error may be somewhat misleading. In many cases it just means the connection to the server has timed out - i.e. no connection could be established. This may happen due to insufficient connectivity or when a sync is triggered during a phone call (many devices loose their data connection during a voice call).
org.dmfs.dav.exceptions.UnauthorizedException: null
This means the server refused the stored credentials by responding with "401 Unauthorized". If you changed your password recently you can update it in the account settings. That should fix it. If that doesn't help, please contact me.
org.apache.http.client.ClientProtocolException: calendar-query failed
This is probably a server bug. You're probably using ownCloud or an older version of SabreDAV (see known issues in ownCloud). Try to upgrade your SabreDAV installation (or the SabreDAV part of ownCloud). If you're not using SabreDAV or ownCloud and you get this error send me an email, please!
javax.net.ssl.SSLException: Read error: ssl=0x34b548: I/O error during system call, Connection reset by peer
Probably a connectivity issue. If this happens very often you should check your connectivity or your server.
javax.net.ssl.SSLException: Read error: ssl=0x351428: I/O error during system call, Connection timed out
Probably a connectivity issue. If this happens very often you should check your connectivity or your server.