iOS Safari silently rejects wss:// connections to servers using self-signed certificates — the trust exception accepted for the page does not extend to WebSocket handshakes. This causes the UI to hang on "Establishing WebSocket connection..." indefinitely. - Make --certificate and --key optional; server runs plain HTTP when omitted - When TLS is enabled, also start a plain HTTP listener on --http-port (default 8081) so iOS clients can connect via ws:// instead of wss:// - Add a 5-second connection timeout on the frontend that detects the hang and shows a clickable link to the HTTP fallback URL https://claude.ai/code/session_01VJ4CsBALnYcVhFJpY5cD5k |
||
|---|---|---|
| .. | ||
| main.rs | ||