Files
t3code/apps
Theo BrowneandClaude Fable 5 926ff9baaa fix(mobile): bypass injected URLProtocol classes on iOS websockets
Verified on the simulator: the socket completed its 101 (with
permessage-deflate negotiated) and then died instantly with
NSURLErrorDomain -1005, so JS never saw an open event and the supervisor
reconnected every 15s. The dev client registers custom URLProtocol
classes for its network inspector; they intercept URLSession traffic and
do not understand the WebSocket upgrade. Clearing protocolClasses on the
session config fixes it: one stable socket, no reconnects over 60s.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-28 18:12:33 -07:00
..