pyamsoft / tetherfi

TetherFi - Internet sharing without Root
Apache License 2.0
276 stars 24 forks source link

Too many failed connection attempts #298

Open HenryFL79 opened 1 month ago

HenryFL79 commented 1 month ago

Hello,

When connecting to my PS5, I am able to download updates. I have been taking turns using two phones (both Galaxy S24+ models/both updated to latest version of Android 14) to download updates. On one phone, I randomly began getting an error a few seconds after beginning to download the update. On the other phone, everything works perfectly fine. All in-app settings are the same, including the tether info (name, address, password, port #) and the Stubborn Proxy setting is active. The port number used is the default 8228. Can you help me please? Thanks in advance!

Screenshot_20240516_055054_TetherFi

[D] Starting Proxy... [D] Start Foreground Service! [D] Creating service [D] Starting runner! [D] Starting Proxy! [D] Start WiDi Network [D] Started foreground notification: NotifyId(id=42069): ServerNotificationData(status=NotRunning, clientCount=0, blockCount=0) [D] #################################### [D] Acquire WiFi wakelock: com.pyamsoft.tetherfi:PROXY_WIFI_LOCK [D] #################################### [D] #################################### [D] Acquire CPU wakelock: com.pyamsoft.tetherfi:PROXY_WAKE_LOCK [D] #################################### [D] Starting Wifi Network... [D] START NEW NETWORK [D] WiDi Status Changed: Starting [D] Starting broadcast network [D] Creating WifiP2PManager Channel [D] Attempt open connection with channel [D] Updated foreground notification: NotifyId(id=42069): ServerNotificationData(status=Starting, clientCount=0, blockCount=0) [D] Cannot re-use Wi-Fi group connection, make new one [D] Creating new wifi p2p group [D] New network created [D] New Wi-Fi group connection created! [D] Network started, store data source: android.net.wifi.p2p.WifiP2pManager$Channel@bd76242 [D] Network update Group=Connected(ssid=DIRECT-TF-TetherFi, password=Tether54321!) [D] Network update Connection=Connected(hostName=192.168.49.1) [D] Track new proxy job! [D] Wifi Direct is fully set up! [D] WiDi Status Changed: Running [D] Hotspot was turned ON, refresh network settings to update [D] Attempt update network info with source android.net.wifi.p2p.WifiP2pManager$Channel@bd76242 [D] Create a new cachedThreadPool dispatcher for Server [D] Limit Server CoroutineDispatcher n=(24) [D] Limit Server CoroutineDispatcher n=(2) [D] Clear client tracker [D] Starting proxy server ... [D] Proxy Status Changed: Starting [D] TCP Begin proxy server loop: Connected(hostName=192.168.49.1) [D] Updated foreground notification: NotifyId(id=42069): ServerNotificationData(status=Running, clientCount=0, blockCount=0) [D] Register Wifi Receiver [D] Bind TCP server to local address: /192.168.49.1:8228 [D] Proxy has fully launched, update status! [D] Proxy Status Changed: Running [D] Awaiting TCP connections on /192.168.49.1:8228 [D] WiFi Direct: Enabled [D] Attempt update network info with source android.net.wifi.p2p.WifiP2pManager$Channel@bd76242 [D] Attempt update network info with source android.net.wifi.p2p.WifiP2pManager$Channel@bd76242 [D] Attempt update network info with source android.net.wifi.p2p.WifiP2pManager$Channel@bd76242 [D] Proxy Request: ProxyRequest(host=ps5.np.playstation.net, method=CONNECT, port=443, raw=CONNECT ps5.np.playstation.net:443 HTTP/1.1) [D] First time seeing client: IpAddress(ip=192.168.49.4, nickName=, mostRecentlySeen=2024-05-16T05:14:42.445, totalBytes=ByteTransferReport(internetToProxy=0, proxyToInternet=0)) [D] Attempt to purge old clients before 2024-05-16T05:09:42.445 [D] Updated foreground notification: NotifyId(id=42069): ServerNotificationData(status=Running, clientCount=1, blockCount=0) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=envelope2.np.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT envelope2.np.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=ps5.np.playstation.net, method=CONNECT, port=443, raw=CONNECT ps5.np.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=ena.net.playstation.net, method=GET, port=80, raw=GET http://ena.net.playstation.net/netstart/icst HTTP/1.1) [D] Proxy Request: ProxyRequest(host=fus01.ps5.update.playstation.net, method=GET, port=80, raw=GET http://fus01.ps5.update.playstation.net/update/ps5/official/tJMRE80IbXnE9YuG0jzTXgKEjIMoabr6/list/us/updatelist.xml HTTP/1.1) [D] Proxy Request: ProxyRequest(host=envelope2.np.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT envelope2.np.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=ppr-crl.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT ppr-crl.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=fus01.ps5.update.playstation.net, method=CONNECT, port=443, raw=CONNECT fus01.ps5.update.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=home.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT home.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=envelope2.np.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT envelope2.np.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=fus01.ps5.update.playstation.net, method=GET, port=80, raw=GET http://fus01.ps5.update.playstation.net/update/ps5/official/tJMRE80IbXnE9YuG0jzTXgKEjIMoabr6/list/us/updatelist.xml HTTP/1.1) [D] Proxy Request: ProxyRequest(host=fus01.ps5.update.playstation.net, method=CONNECT, port=443, raw=CONNECT fus01.ps5.update.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=control-center.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT control-center.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=player-selection-dialog.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT player-selection-dialog.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=invitation-dialog.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT invitation-dialog.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=uam-fs.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT uam-fs.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=settings.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT settings.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=millenniumfalcon.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT millenniumfalcon.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=notification-overlay.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT notification-overlay.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=profile.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT profile.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=search.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT search.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=monte-carlo.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT monte-carlo.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gaming-lounge.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT gaming-lounge.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=capture-menu.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT capture-menu.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=trophy.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT trophy.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=lfps-bc.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT lfps-bc.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=igc-browse.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT igc-browse.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=bgft.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT bgft.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=service-hub-psnow.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT service-hub-psnow.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=game-hub.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT game-hub.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000006 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=action-cards-host-app.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT action-cards-host-app.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=service-hub-psplus.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT service-hub-psplus.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000003 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000003 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=titlestore-preview.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT titlestore-preview.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=broadcast.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT broadcast.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000005 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=profile-dialog.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT profile-dialog.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=0000000d HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000007 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=elysion.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT elysion.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000022 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=agent-popupgui.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT agent-popupgui.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=ppr-bgs.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT ppr-bgs.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000006 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=universal-checkout.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT universal-checkout.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000023 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=explore-hub.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT explore-hub.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000006 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=0000000f HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000025 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000011 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=x-wing.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT x-wing.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000018 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000006 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_17.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000015 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=system-message-client.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT system-message-client.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_18.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000004 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=library.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT library.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=telemetry-console.api.playstation.com, method=CONNECT, port=443, raw=CONNECT telemetry-console.api.playstation.com:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=cosmiccube.rnps.dl.playstation.net, method=CONNECT, port=443, raw=CONNECT cosmiccube.rnps.dl.playstation.net:443 HTTP/1.1) [D] Proxy Request: ProxyRequest(host=gst.prod.dl.playstation.net, method=GET, port=80, raw=GET http://gst.prod.dl.playstation.net/gst/prod/00/PPSA04873_00/app/pkg/84/f_38f5f4bd02376811130c454ba5fad916f57ba29d1529e0f87d5fe5c6ac5e66be/UP0006-PPSA04873_00-APEXLEGENDRSPWN1_18.pkg?product=0284&serverIpAddr=192.168.49.1&r=00000190 HTTP/1.1) [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at io.ktor.network.sockets.ServerSocketImpl.acceptSuspend(SourceFile:76) at io.ktor.network.sockets.ServerSocketImpl$acceptSuspend$1.invokeSuspend(SourceFile:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:113) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [E] Error during session io.ktor.network.sockets.SocketImpl@281d2d5 java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:55) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:512) at io.ktor.network.sockets.CIOWriterKt$attachForWritingDirectImpl$1$1.invokeSuspend(SourceFile:223) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at coil.util.-Logs.resume(SourceFile:51) at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(SourceFile:76) at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(SourceFile:33) at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(SourceFile:17) at io.ktor.network.selector.SelectorManagerSupport.handleSelectedKeys(SourceFile:105) at io.ktor.network.selector.ActorSelectorManager.access$process(SourceFile:154) at io.ktor.network.selector.ActorSelectorManager$process$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:113) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Broken pipe [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] Error during session io.ktor.network.sockets.SocketImpl@8b9b1db java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:55) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:512) at io.ktor.network.sockets.CIOWriterKt$attachForWritingDirectImpl$1$1.invokeSuspend(SourceFile:223) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at coil.util.-Logs.resume(SourceFile:51) at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(SourceFile:76) at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(SourceFile:33) at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(SourceFile:17) at io.ktor.network.selector.SelectorManagerSupport.handleSelectedKeys(SourceFile:105) at io.ktor.network.selector.ActorSelectorManager.access$process(SourceFile:154) at io.ktor.network.selector.ActorSelectorManager$process$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:113) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Broken pipe [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [D] In YOLO mode, we ignore IOException and just try again. Yolo! [E] We've caught an IOException opening the ServerSocket! java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Invalid argument [W] Too many IOExceptions thrown, even for YOLO mode :( [E] Error running server loop: TCP java.io.IOException: Too many failed connection attempts. at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.prepareToTryAgainOrThrow(SourceFile:214) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$prepareToTryAgainOrThrow$1.invokeSuspend(SourceFile:13) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:105) at androidx.fragment.app.Fragment$4.run(SourceFile:77) 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) Caused by: java.io.IOException: Invalid argument at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager.access$ensureAcceptedConnection(SourceFile:205) at com.pyamsoft.tetherfi.server.proxy.manager.TcpProxyManager$ensureAcceptedConnection$1.invokeSuspend(Unknown Source:12) ... 6 more Too many failed connection attempts. [D] Clear client tracker [D] Stopping timer flow 5m [D] Proxy Status Changed: ProxyError(throwable=java.io.IOException: Too many failed connection attempts.) [D] Shutdown event received! [D] Shutdown event received! [D] Updated foreground notification: NotifyId(id=42069): ServerNotificationData(status=Running, clientCount=0, blockCount=0) [D] Stop Foreground Service! [D] Destroying service [D] Stopped Proxy Server [D] Shutting down proxy... [D] Shutdown Primary Dispatcher [D] Shutdown SideEffect Dispatcher [D] Clear client tracker [D] Proxy Server is Done! [D] Unregister Wifi Receiver [D] Stop foreground notification [D] Stopping Wifi Network... [D] STOP NETWORK [D] Shutting down network [D] Stopped proxy job [D] WiDi Status Changed: Stopping [D] Stop broadcast server source [D] Stop existing WiFi Group [D] Hotspot was turned OFF, refresh network settings to clear [W] Failed to stop network: Busy [D] Close Group failed but continue teardown anyway [D] Close WiFiP2PManager channel [D] Reset last info refresh times [D] WiDi Status Changed: NotRunning [D] Network was stopped [D] Attempt update network info with source null [W] Cannot get group info without Wifi source [W] Cannot get connection info without Wifi source [D] #################################### [D] Release WIFI wakelock: com.pyamsoft.tetherfi:PROXY_WIFI_LOCK [D] #################################### [D] WifiP2PManager Channel died! Do nothing :D [D] #################################### [D] Release CPU wakelock: com.pyamsoft.tetherfi:PROXY_WAKE_LOCK [D] #################################### [D] Stopping runner!

pyamsoft commented 1 month ago

Weird that this only happens on one phone but not the other. How big is the download on your ps5 and how long does it take before the error starts happening?

Phone could be running out of memory if too many downloads start without finishing?

Not sure, I've reworked some of the download code on the Dev branch, so the next release may have some changes that positively effect this.

Thanks for the report!

pyamsoft commented 1 month ago

I have rewrote the parser used to handle requests.

The old version would fail sporadically on URLs with query arguments, so hopefully this change in a future version will resolve the problem

pyamsoft commented 3 weeks ago

Confirmed a memory leak from never closing sockets does at least effect this issue.

The next version will have a tweak to close inactive socket connections after 1 minute (if a network connection is started, but no data is transferred for a full minute, it will close the connection). This should help us clean up and reduce memory usage, which should avoid the IOException that causes these rejected connections.