fx_cast
fx_cast copied to clipboard
Bridge crashes when trying to connect to device, fails to enumerate other devices
OS version: Windows 11 / NixOS 24.05 Browser version: Firefox nightly Extension version: 0.3.1 Bridge version: 0.3.0
Description
The bridge fails to enumerate devices, the browser console shows
stderr output from native app fx_cast_bridge: Error: Client network socket disconnected before secure TLS connection was established
stderr output from native app fx_cast_bridge: at connResetException (node:internal/errors:691:14)
stderr output from native app fx_cast_bridge: at TLSSocket.onConnectEnd (node:_tls_wrap:1585:19)
stderr output from native app fx_cast_bridge: at TLSSocket.emit (node:events:538:35)
stderr output from native app fx_cast_bridge: at endReadableNT (node:internal/streams/readable:1345:12)
stderr output from native app fx_cast_bridge: at processTicksAndRejections (node:internal/process/task_queues:83:21) {
stderr output from native app fx_cast_bridge: code: 'ECONNRESET',
stderr output from native app fx_cast_bridge: path: undefined,
stderr output from native app fx_cast_bridge: host: '192.168.3.6',
stderr output from native app fx_cast_bridge: port: 8009,
stderr output from native app fx_cast_bridge: localAddress: undefined
stderr output from native app fx_cast_bridge: }
192.168.3.6 is an Amlogic Android TV box, I'm not entirely sure why it's failing to connect, but kicking it off the network allows things to work.
Steps to reproduce ???
Expected behaviour The bridge should probably just skip devices it can't connect to, instead of failing entirely.