Unable to resolve host "xaapi.xamarin.com": No address associated with hostname

TonyDTonyD USMember ✭✭✭

I've been seeing the above error crash my app since last week.

The Insights.Track() and .Report() calls are already all wrapped in try/catches so I assume the exception is being thrown on a different thread/context by the Insights API and not relegated.

Anybody know of a work-around to this?

Answers

  • HemantSharmaHemantSharma INMember ✭✭

    I have the same issue.

    Java.Interop.JniEnvironmentUnable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00084] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeAbstractVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00015] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Javax.Net.Ssl.HttpsURLConnectionInvoker.Connect () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Java.Net.URLConnection.m__0 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallIntMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00085] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualInt32Method (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002f] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Net.HttpURLConnection.get_ResponseCode () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1+c__AnonStorey5.<>m__1 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1.MoveNext () [0x0048c] in <21a40a584977462988300bb3bda9b96d>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at Xamarin.Android.Net.AndroidClientHandler+<SendAsync>c__async0.MoveNext () [0x00196] in <21a40a584977462988300bb3bda9b96d>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Net.Http.HttpClient+c__async0.MoveNext () [0x000f3] in :0
    --- End of managed Java.Net.UnknownHostException stack trace ---
    java.net.UnknownHostException: Unable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    at java.net.InetAddress.getAllByName(InetAddress.java:214)
    at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)
    at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)
    at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)
    at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
    at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
    at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
    at com.android.okhttp.internal.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:161)
    at dalvik.system.NativeStart.run(Native Method)
    Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
    at libcore.io.Posix.getaddrinfo(Native Method)
    at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
    at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
    ... 12 more

  • HemantSharmaHemantSharma INMember ✭✭

    I have the same issue.

    Java.Interop.JniEnvironmentUnable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00084] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeAbstractVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00015] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Javax.Net.Ssl.HttpsURLConnectionInvoker.Connect () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Java.Net.URLConnection.m__0 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallIntMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00085] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualInt32Method (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002f] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Net.HttpURLConnection.get_ResponseCode () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1+c__AnonStorey5.<>m__1 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1.MoveNext () [0x0048c] in <21a40a584977462988300bb3bda9b96d>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at Xamarin.Android.Net.AndroidClientHandler+<SendAsync>c__async0.MoveNext () [0x00196] in <21a40a584977462988300bb3bda9b96d>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Net.Http.HttpClient+c__async0.MoveNext () [0x000f3] in :0
    --- End of managed Java.Net.UnknownHostException stack trace ---
    java.net.UnknownHostException: Unable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    at java.net.InetAddress.getAllByName(InetAddress.java:214)
    at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)
    at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)
    at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)
    at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
    at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
    at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
    at com.android.okhttp.internal.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:161)
    at dalvik.system.NativeStart.run(Native Method)
    Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
    at libcore.io.Posix.getaddrinfo(Native Method)
    at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
    at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
    ... 12 more

  • HemantSharmaHemantSharma INMember ✭✭

    I have the same issue.

    Java.Interop.JniEnvironmentUnable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00084] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeAbstractVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00015] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Javax.Net.Ssl.HttpsURLConnectionInvoker.Connect () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Java.Net.URLConnection.m__0 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Java.Interop.JniEnvironment+InstanceMethods.CallIntMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00085] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualInt32Method (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002f] in <8e6cbb1d2bee47ac8c25baf73afc6ccf>:0
    at Java.Net.HttpURLConnection.get_ResponseCode () [0x0000a] in <21a40a584977462988300bb3bda9b96d>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1+c__AnonStorey5.<>m__1 () [0x00000] in <21a40a584977462988300bb3bda9b96d>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x00012] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Threading.Tasks.Task.Execute () [0x00016] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at Xamarin.Android.Net.AndroidClientHandler+c__async1.MoveNext () [0x0048c] in <21a40a584977462988300bb3bda9b96d>:0
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at Xamarin.Android.Net.AndroidClientHandler+<SendAsync>c__async0.MoveNext () [0x00196] in <21a40a584977462988300bb3bda9b96d>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <3ceca3cfb7fb44c791c414845b3cbe53>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <3ceca3cfb7fb44c791c414845b3cbe53>:0
    at System.Net.Http.HttpClient+c__async0.MoveNext () [0x000f3] in :0
    --- End of managed Java.Net.UnknownHostException stack trace ---
    java.net.UnknownHostException: Unable to resolve host "xaapi.xamarin.com": No address associated with hostname
    at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    at java.net.InetAddress.getAllByName(InetAddress.java:214)
    at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)
    at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)
    at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)
    at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
    at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
    at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
    at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
    at com.android.okhttp.internal.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:161)
    at dalvik.system.NativeStart.run(Native Method)
    Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
    at libcore.io.Posix.getaddrinfo(Native Method)
    at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
    at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
    ... 12 more

  • Shane000Shane000 USMember ✭✭✭
    edited May 24

    Did yall ever figure out this crash? Is it actually affecting users apps?

    It appears to be the user's firewall blocking that Url. Seems like a noisy crash since I still get the insights log for that crash occuring.

  • TonyDTonyD USMember ✭✭✭
    edited May 24

    @Shane000 I believe so, I get verbal reports from users and their timestamp coincides with those crashes.

    Not sure who's in charge of Xamarin Insights now though and can look into this.

    It's affecting between 0.5%-1% of our users.

  • Shane000Shane000 USMember ✭✭✭

    TonyD those crashers could be real crashes and then the attempt to send it to insights is just a secondary non-crash error.

  • TonyDTonyD USMember ✭✭✭

    @Shane000 I believe not.

    Since this was posted 3 weeks ago, for Android, we overwrote the default URL Handler and wrapped it in try/catches and that fixed the issue entirely. i.e. the problem was likely happening when trying to send back the data.

    This leads me to think there might be some threading/synchronization issue somewhere in the insights api.

    However there's no way to do this in iOS since there's no "default URL Handler" option that also affects xamarin insights.

  • JonasStawskiJonasStawski USDeveloper Group Leader ✭✭

    We are seeing the same issue, which was not happening in previous versions of our app. In this new release we changed the HTTP Client Implementation to AndroidClientHandler. Any of you using the same Implementation?

  • Bartdk-Bartdk- USUniversity ✭✭

    Any info on this issue ? We are seeing a lot of these "crashes" in our insights logging as well.

Sign In or Register to comment.