yandexmobile/metrica-sdk-android

java.lang.SecurityException: failed to connect to certificate.mobile.yandex.net/2a02:6b8::3:115

Closed this issue · 2 comments

Вот с такой ошибкой прила пару раз крашнулась у одного юзера. v.2.62

STACK_TRACE=java.lang.SecurityException: failed to connect to certificate.mobile.yandex.net/2a02:6b8::3:115 (port 443) after 2500ms: isConnected failed: EACCES (Permission denied)
	at libcore.io.IoBridge.isConnected(IoBridge.java:252)
	at libcore.io.IoBridge.connectErrno(IoBridge.java:178)
	at libcore.io.IoBridge.connect(IoBridge.java:112)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
	at java.net.Socket.connect(Socket.java:860)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
	at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
	at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
	at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
	at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:469)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:433)
	at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
	at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
	at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:292)
	at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:505)
	at libcore.net.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:134)
	at com.yandex.metrica.impl.ob.fc.a(SourceFile:63)
	at com.yandex.metrica.impl.ob.ff.a(SourceFile:41)
	at com.yandex.metrica.impl.ob.fh$b.handleMessage(SourceFile:62)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:194)
	at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: libcore.io.ErrnoException: isConnected failed: EACCES (Permission denied)
	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
	... 24 more
libcore.io.ErrnoException: isConnected failed: EACCES (Permission denied)
	at libcore.io.IoBridge.isConnected(IoBridge.java:234)
	at libcore.io.IoBridge.connectErrno(IoBridge.java:178)
	at libcore.io.IoBridge.connect(IoBridge.java:112)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
	at java.net.Socket.connect(Socket.java:860)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
	at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
	at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
	at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
	at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:469)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:433)
	at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
	at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
	at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:292)
	at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:505)
	at libcore.net.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:134)
	at com.yandex.metrica.impl.ob.fc.a(SourceFile:63)
	at com.yandex.metrica.impl.ob.ff.a(SourceFile:41)
	at com.yandex.metrica.impl.ob.fh$b.handleMessage(SourceFile:62)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:194)
	at android.os.HandlerThread.run(HandlerThread.java:60)

360 crashes from 12 users in the last week, 230 of crashes in the last 24 hours
Devices: Meizu M5 (85%), Prestigio MultiPad PMT5777, and HTC One X
Android 6.0 (85%) and 4.2.2

Library version: 2.73

Fixed in 3.0.0.