ICSx5 with outlook 365 calendar


  • I tried to add ics calendar from my outlook 365 calendar…
    When copying url to browser i can download ics file without problem, but when adding it to ics5x i get following error

    Unable to resolve host "outlook.office365.com": No address associated with hostname
    
    java.net.UnknownHostException: Unable to resolve host "outlook.office365.com": No address associated with hostname
    	at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:156)
    	at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:103)
    	at java.net.InetAddress.getAllByName(InetAddress.java:1152)
    	at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
    	at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
    	at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
    	at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
    	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
    	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
    	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
    	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
    	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
    	at at.bitfire.icsdroid.CalendarFetcher.fetchNetwork(CalendarFetcher.kt:129)
    	at at.bitfire.icsdroid.CalendarFetcher.run(CalendarFetcher.kt:44)
    	at java.lang.Thread.run(Thread.java:923)
    Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
    	at libcore.io.Linux.android_getaddrinfo(Native Method)
    	at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:73)
    	at libcore.io.BlockGuardOs.android_getaddrinfo(BlockGuardOs.java:202)
    	at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:73)
    	at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:135)
    	... 23 more
    
  • developer

    @tokariew Hi,

    Android can’t resolve the hostname outlook.office365.com – DNS does not work. Are you on WiFi or mobile data? Did you try with another connection (WiFi / mobile data)?

  • developer

    Hi @Tokariew ,

    I just tried to reproduce thi s problem, but in my case it just worked and I could just use an outlook 365 calendar in ICSx5.

    Just to make sure that we follow the right steps:
    In order to get the URL to the ics-file, you must create a public url for your calendar as I did here:

    Screenshot 2022-01-12 114311.png

    The generated ICS url can be used in ICSx5. As I can see my URL (outlook.live.com/…) looks different than yours (outlook.office365.com/…)

    Did you follow the same steps?


  • Sorry… it was adblocking being to active on my phone, but for some reason it worked fine on browser, and not in icsx5

Similar topics

  • 6
  • 4
  • 1