newrelic / newrelic-android-agent

SDK to enable instrumentation of Android mobile apps in New Relic
Apache License 2.0
13 stars 12 forks source link

Several crashes okio.InputStreamSource.read javax.net.ssl.SSLException - Read error: ssl=<address>: I/O error during system call #254

Open sbadiwag opened 1 month ago

sbadiwag commented 1 month ago

Description

Steps to Reproduce

Relevant Logs / Console output

Exception javax.net.ssl.SSLException:
  at com.google.android.gms.org.conscrypt.NativeCrypto.SSL_read
  at com.google.android.gms.org.conscrypt.NativeSsl.read (:com.google.android.gms@242335038@24.23.35 (190400-646585959):34)
  at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read (:com.google.android.gms@242335038@24.23.35 (190400-646585959):11)
  at okio.InputStreamSource.read (JvmOkio.kt)
  at okio.AsyncTimeout$source$1.read (AsyncTimeout.kt)
  at okio.RealBufferedSource.request (RealBufferedSource.kt)
  at okio.RealBufferedSource.require (RealBufferedSource.kt)
  at okio.RealBufferedSource.readHexadecimalUnsignedLong (RealBufferedSource.kt)
  at okhttp3.internal.http1.Http1ExchangeCodec$ChunkedSource.readChunkSize (Http1ExchangeCodec.kt)
  at okhttp3.internal.http1.Http1ExchangeCodec$ChunkedSource.read (Http1ExchangeCodec.kt)
  at okhttp3.internal.connection.Exchange$ResponseBodySource.read (Exchange.kt)
  at okio.RealBufferedSource.read (RealBufferedSource.kt:193)
  at okio.RealBufferedSource.exhausted (RealBufferedSource.kt)
  at okio.InflaterSource.refill (InflaterSource.kt)
  at okio.InflaterSource.readOrInflate (InflaterSource.kt)
  at okio.InflaterSource.read (InflaterSource.kt)
  at okio.GzipSource.read (GzipSource.kt)
  at okio.RealBufferedSource.read (RealBufferedSource.kt:193)
  at okio.ForwardingSource.read (ForwardingSource.kt)
  at retrofit2.OkHttpCall$ExceptionCatchingResponseBody$1.read (OkHttpCall.java)
  at okio.RealBufferedSource$inputStream$1.read (RealBufferedSource.kt:162)
  at sun.nio.cs.StreamDecoder.readBytes (StreamDecoder.java:291)
  at sun.nio.cs.StreamDecoder.implRead (StreamDecoder.java:355)
  at sun.nio.cs.StreamDecoder.read (StreamDecoder.java:181)
  at java.io.InputStreamReader.read (InputStreamReader.java:180)
  at okhttp3.ResponseBody$BomAwareReader.read (ResponseBody.kt)
  at com.google.gson.stream.JsonReader.fillBuffer (JsonReader.java)
  at com.google.gson.stream.JsonReader.nextNonWhitespace (JsonReader.java)
  at com.google.gson.stream.JsonReader.doPeek (JsonReader.java)
  at com.google.gson.stream.JsonReader.peek (JsonReader.java)
  at retrofit2.converter.gson.GsonResponseBodyConverter.convert (GsonResponseBodyConverter.java:41)
  at retrofit2.converter.gson.GsonResponseBodyConverter.convert (GsonResponseBodyConverter.java:27)
  at retrofit2.OkHttpCall.parseResponse (OkHttpCall.java)
  at retrofit2.OkHttpCall$1.onResponse (OkHttpCall.java)
  at com.newrelic.agent.android.instrumentation.okhttp3.CallbackExtension.onResponse (CallbackExtension.java)
  at okhttp3.internal.connection.RealCall$AsyncCall.run (RealCall.kt)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

Your Environment