Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge crashes when trying to connect to device, fails to enumerate other devices #296

Open
K900 opened this issue Apr 13, 2024 · 0 comments

Comments

@K900
Copy link

K900 commented Apr 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant