From 5640ee094dc7e73c03bc47144fec22456bdc7226 Mon Sep 17 00:00:00 2001 From: goon-foss Date: Sat, 19 Sep 2026 22:30:35 +0200 Subject: [PATCH] fix(mobile): blad certyfikatu to nie usuniety film "Trust anchor for certification path not found" lapal sie na "not found", wiec odtworzenia eporner z bledem SSL szly jako "gone" (93 w tydzien): zly komunikat i zla telemetria. Wejdzie z najblizsza paczka OTA. Co-Authored-By: Claude Opus 5 --- mobile/src/screens/PlayerScreen.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/src/screens/PlayerScreen.tsx b/mobile/src/screens/PlayerScreen.tsx index 009f39d..3cf2f82 100644 --- a/mobile/src/screens/PlayerScreen.tsx +++ b/mobile/src/screens/PlayerScreen.tsx @@ -106,6 +106,10 @@ function useMarkSourceBroken(params: RouteParams) { // 403 NIE liczy się (auth/IP-bound → fallback proxy/WebView może uratować). function isGoneError(msg: string | undefined | null): boolean { if (!msg) return false; + // Blad certyfikatu to nie usuniety film. "Trust anchor for certification path not found" + // lapal sie na "not found", wiec 93 odtworzenia eporner w tydzien (CDN z GlobalSign R6, + // ktorego starsze Androidy nie znaja) szly jako "gone": zly komunikat i zla telemetria. + if (/SSLHandshake|CertPathValidator|Trust anchor|certificate/i.test(msg)) return false; return /\b(404|410)\b|response code:\s*4(0[14])|not found|gone/i.test(msg); }