No Calendar found on posteo account



  • Hi I'm using v1.3.6-ose of DAVdroid.

    I got problems to connect to my posteo-account. I tried all mentioned settings for posteo, but I always get the error "No CalDAV- or CardDAV-Service found".

    In the logfile I got the error:

    LOGS:
    2017-01-16 22:44:28 1 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
    2017-01-16 22:44:28 1 [ui.setup.DavResourceFinder] Checking user-given URL: https://posteo.de:8443/
    2017-01-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de:8443/ http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 290
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (290-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    	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 8443) 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-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de:8443/.well-known/carddav http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 198
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Well-known URL detection failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    	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 8443) 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-16 22:44:29 1 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Looking up SRV records for _carddavs._tcp.posteo.de
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Didn't find carddav service, trying at https://posteo.de:443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://posteo.de/.well-known/carddav
    2017-01-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/carddav http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 198
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- 403 Forbidden https://posteo.de/.well-known/carddav (249ms)
    2017-01-16 22:44:29 1 [HttpClient$1] Date: Mon, 16 Jan 2017 21:44:49 GMT
    2017-01-16 22:44:29 1 [HttpClient$1] Server: Apache
    2017-01-16 22:44:29 1 [HttpClient$1] Strict-Transport-Security: max-age=31536000; preload
    2017-01-16 22:44:29 1 [HttpClient$1] X-Frame-Options: SAMEORIGIN
    2017-01-16 22:44:29 1 [HttpClient$1] Frame-Options: SAMEORIGIN
    2017-01-16 22:44:29 1 [HttpClient$1] Public-Key-Pins: pin-sha256="fN88JfnaJETU3r1IBBELkRBvZI27UHb5fjqFdqntyGo="; pin-sha256="cDZJWRCnbfSbwWjSKoFUeIO+2q2mpgt8qovVIyyI8/I="; pin-sha256="YHg6lF6c81F7j83apmWtrzgANaHRN1gjRXGqMNGm5C0="; pin-sha256="n7PGfQw+GvUXtmEEEly4Uz0EhXpmWRh25lxDSmTdjAU="; pin-sha256="sfmSmDBmXyNx2UzwERrXQwON4WRfyPqvMMSkB8GL7UI="; pin-sha256="DMWN7Y2jmVhlgbHt84oHcjNOtd+teEsIktgmgfG/x9U="; max-age=2592000
    2017-01-16 22:44:29 1 [HttpClient$1] X-Xss-Protection: 1; mode=block
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 221
    2017-01-16 22:44:29 1 [HttpClient$1] Keep-Alive: timeout=5, max=100
    2017-01-16 22:44:29 1 [HttpClient$1] Connection: Keep-Alive
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: text/html; charset=iso-8859-1
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /.well-known/carddav
    on this server.</p>
    </body></html>
    
    2017-01-16 22:44:29 1 [HttpClient$1] <-- END HTTP (221-byte body)
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] carddav service discovery failed
    EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
    	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)
    
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Checking user-given URL: https://posteo.de:8443/
    2017-01-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de:8443/ http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 435
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (435-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    	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 8443) 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-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de:8443/.well-known/caldav http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 198
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Well-known URL detection failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    	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 8443) 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-16 22:44:29 1 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Looking up SRV records for _caldavs._tcp.posteo.de
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Didn't find caldav service, trying at https://posteo.de:443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://posteo.de/.well-known/caldav
    2017-01-16 22:44:29 1 [HttpClient$1] --> PROPFIND https://posteo.de/.well-known/caldav http/1.1
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 198
    2017-01-16 22:44:29 1 [HttpClient$1] Depth: 0
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [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-16 22:44:29 1 [HttpClient$1] --> END PROPFIND (198-byte body)
    2017-01-16 22:44:29 1 [HttpClient$1] <-- 403 Forbidden https://posteo.de/.well-known/caldav (43ms)
    2017-01-16 22:44:29 1 [HttpClient$1] Date: Mon, 16 Jan 2017 21:44:50 GMT
    2017-01-16 22:44:29 1 [HttpClient$1] Server: Apache
    2017-01-16 22:44:29 1 [HttpClient$1] Strict-Transport-Security: max-age=31536000; preload
    2017-01-16 22:44:29 1 [HttpClient$1] X-Frame-Options: SAMEORIGIN
    2017-01-16 22:44:29 1 [HttpClient$1] Frame-Options: SAMEORIGIN
    2017-01-16 22:44:29 1 [HttpClient$1] Public-Key-Pins: pin-sha256="fN88JfnaJETU3r1IBBELkRBvZI27UHb5fjqFdqntyGo="; pin-sha256="cDZJWRCnbfSbwWjSKoFUeIO+2q2mpgt8qovVIyyI8/I="; pin-sha256="YHg6lF6c81F7j83apmWtrzgANaHRN1gjRXGqMNGm5C0="; pin-sha256="n7PGfQw+GvUXtmEEEly4Uz0EhXpmWRh25lxDSmTdjAU="; pin-sha256="sfmSmDBmXyNx2UzwERrXQwON4WRfyPqvMMSkB8GL7UI="; pin-sha256="DMWN7Y2jmVhlgbHt84oHcjNOtd+teEsIktgmgfG/x9U="; max-age=2592000
    2017-01-16 22:44:29 1 [HttpClient$1] X-Xss-Protection: 1; mode=block
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Length: 220
    2017-01-16 22:44:29 1 [HttpClient$1] Keep-Alive: timeout=5, max=99
    2017-01-16 22:44:29 1 [HttpClient$1] Connection: Keep-Alive
    2017-01-16 22:44:29 1 [HttpClient$1] Content-Type: text/html; charset=iso-8859-1
    2017-01-16 22:44:29 1 [HttpClient$1] 
    2017-01-16 22:44:29 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /.well-known/caldav
    on this server.</p>
    </body></html>
    
    2017-01-16 22:44:29 1 [HttpClient$1] <-- END HTTP (220-byte body)
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] caldav service discovery failed
    EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
    	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)
    
    
    
    SOFTWARE INFORMATION
    DAVdroid version: 1.3.6-ose (131) Wed Jan 04 02:09:36 GMT+01:00 2017
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  de_DE |
    ----------
    settings
    	|  setting | value |
    	|  distrustSystemCerts | 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_mako-userdebug 6.0.1 MOB31K 87a9c9942e test-keys)
    Device: LGE Nexus 4 (mako)
    

    Anyone got an idea, what I'm doing wrong?


  • developer

    Hello,

    2017-01-16 22:44:29 1 [HttpClient$1] <-- HTTP FAILED: java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    2017-01-16 22:44:29 1 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.ConnectException: Failed to connect to posteo.de/89.146.220.134:8443
    at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:189)

    ConnectException… Proxy settings are ok? Any firewalls or privacy apps/settings?

    Can you connect to https://posteo.de:8443 with your Android browser?



  • that simple ? you are right. my wifi blocked https. now it works. nice to know. thanks for fast help :) donation incoming.


Log in to reply
 

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