Adding an account - posteo



  • Hi,
    I dont know if this problem is known.
    I dont know what happened. The only thing I know is, that I restarted the phone and maybe davdroid made an update and then my accoun was deleted. Everything was fine.
    When I want to add an account now this error appears: a calDAV nor an CardDAV service was found......
    (Android 6, latest version of DAVdroid)

    Somebody with the same problem?

    Thanks!


  • developer

    Hello,

    The only thing I know is, that I restarted the phone and maybe davdroid made an update and then my accoun was deleted

    This should not happen. :( But it's an Android problem. Where did you get DAVdroid from?

    Did you set it up as described on https://davdroid.bitfire.at/configuration/posteode/? Please post the logs.



  • Hi,
    I reinstalled it from the playstore. Problem is still there. I set it up how it is described on the link you posted.

    Here the log:

    LOGS:
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Checking user-given URL: https://posteo.de/
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/ http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 290
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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><resourcetype /><displayname /><CARD:addressbook-description /><CARD:addressbook-home-set /><current-user-principal /></prop></propfind>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (290-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 35 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 42 more
    
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/carddav http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 198
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Well-known URL detection failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 35 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 42 more
    
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Looking up SRV records for _carddavs._tcp.posteo.de
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Didn't find carddav service, trying at https://posteo.de:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://posteo.de/.well-known/carddav
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/carddav http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 198
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] carddav service discovery failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.java:334)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:140)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 36 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 43 more
    
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Checking user-given URL: https://posteo.de/
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/ http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 435
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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><resourcetype /><displayname /><n0:calendar-color xmlns:n0="http://apple.com/ns/ical/" /><CAL:calendar-description /><CAL:calendar-timezone /><current-user-privilege-set /><CAL:supported-calendar-component-set /><CAL:calendar-home-set /><current-user-principal /></prop></propfind>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (435-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:187)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 35 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 42 more
    
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/caldav http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 198
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Well-known URL detection failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 35 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 42 more
    
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Looking up SRV records for _caldavs._tcp.posteo.de
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Didn't find caldav service, trying at https://posteo.de:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://posteo.de/.well-known/caldav
    2017-01-11 08:45:24 2 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/caldav http/1.1
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-11 08:45:24 2 [HttpClient$1] Content-Length: 198
    2017-01-11 08:45:24 2 [HttpClient$1] Depth: 0
    2017-01-11 08:45:24 2 [HttpClient$1] 
    2017-01-11 08:45:24 2 [HttpClient$1] <?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>
    2017-01-11 08:45:24 2 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-11 08:45:24 2 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    2017-01-11 08:45:24 2 [ui.setup.DavResourceFinder] caldav service discovery failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:443
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)
    	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:212)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
    	at okhttp3.RealCall.execute(RealCall.java:63)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:269)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.java:334)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:140)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to posteo.de/89.146.220.134 (port 443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
    	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    	at libcore.io.IoBridge.connect(IoBridge.java:122)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    	at java.net.Socket.connect(Socket.java:884)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)
    	... 36 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    	at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    	... 43 more
    
    
    
    SOFTWARE INFORMATION
    Package: at.bitfire.davdroid
    Version: 1.3.7.1-gplay (133) Mon Jan 09 21:31:31 GMT+01:00 2017
    Installed from: com.android.vending
    JB Workaround installed: yes
    
    CONFIGURATION
    System-wide synchronization: automatically
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  de_DE |
    ----------
    settings
    	|  setting | value |
    	|  logToExternalStorage | 1 |
    ----------
    services
    	|  _id | accountName | service | principal |
    ----------
    sqlite_sequence
    	|  name | seq |
    ----------
    homesets
    	|  _id | serviceID | url |
    ----------
    collections
    	|  _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
    ----------
    
    SYSTEM INFORMATION
    Android version: 6.0.1 (cm_ks01lte-userdebug 6.0.1 MOB31K efb57ac65b test-keys)
    Device: Samsung GT-I9506 (ks01lte)


  • Looks like it failed to connect to posteo...

    The adress I used was https://posteo.de:8443/


  • developer

    This doesn't seem to be a DAVdroid problem, but a networking problem.

    1. Do you use a proxy? Is it configured correctly?
    2. Do you use any firewalls or privacy settings which could prevent the connection?
    3. Does https://posteo.de:8443 (+ username/password) work in your Android browser?


  • Hi,

    1. No
    2. Yes, but I already deactivated it and never had it problem with it and DAVdroid.
    3. I tried it, but I get a error massage, that my user name/password does not match?! The password is correct. I tried it on the homepage of posteo...

  • developer

    Did you try another type of connectivity (WiFi/mobile)? See the same problem here.



  • Yeah, I tried everything. I also reinstalled my android system!
    Problem is still there.....
    I contacted the posteo support...
    I don't know what to do anymore.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.