Comments (16)
Seen this error a few times before (not the Avahi stuff, that's always there). It's trying to send a message when there isn't an open socket. I don't think this would be related to Firefox 118 since it happens entirely within the bridge. I can't reproduce this on 118 either. Is there anything else that might have changed?
from fx_cast.
Hmmm, I can't think of anything else that would have changed in that timeframe (that's why I initially suspected FF118). Do you have any idea of the kind of config changes that would cause the bridge to not be able to open a socket? Are there any more detailed logs for the bridge component?
from fx_cast.
I did some more sleuthing with this issue, though I'm not sure I have the answer.
Given that the list of devices appears momentarily, then is replaced by the "Something went wrong with the bridge" error, I reasoned that maybe one of my cast devices was causing issues.
So initially I moved my laptop and one cast device to a guest network. Sure enough, fx_cast was stable and could cast to this one device.
Next, I moved back to my normal network and turned off every cast device. I then tried adding them back one by one. This seemed to work, to a point. The list of devices was stable with every one added back, until it started crashing again after three or four.
However, I've not been able to single out a particular device. Number seems somehow more important than actual device, and I've even had a situation where the cast menu was stable at four devices, then would start crashing after ten minutes or so.
Which leads me to suspect there's maybe a networking thing going on with my mesh devices.
I'll keep sleuthing.
from fx_cast.
I've narrowed it down a little more.
The extension is stable until I add in one of two particular devices: A "Chromecast with Google TV" and a "Google Nest Hub".
The rest of my network (2 Google Homes, 1 Google Nest Mini and 2 Chromecast Ultras) seem to work fine. I've tried excluding everything from my network except the two breaking devices. With just one of them connected, it causes the extension to crash (which would rule out conflicts with other devices).
There's nothing odd about these devices, and their config hasn't changed recently (they may have received OTA updates). They have different IPs, different MAC addresses etc.
- Is there a possibility that an error communicating with one device will cause the bridge to fail?
- If so, would it be possible to trap errors with single devices so that the extension could still be used?
- Are there any deeper logs I can provide that might indicate why these two devices are causing issues?
from fx_cast.
Interesting, I'm not sure what would be causing this behaviour. I don't have a Chromecast with Google TV anymore so I can't test this myself.
Is there a possibility that an error communicating with one device will cause the bridge to fail?
Yeah, it's a bug in the bridge really that it's not handling the error and allowing the entire process to crash. The bridge isn't really in a great state, honestly. The only logs will be what Firefox picks up from stderr.
Maybe see if the devices are reachable at all?
from fx_cast.
They devices are definitely reachable - I can cast to both from Chrome on the same laptop.
from fx_cast.
Difficult to find the time to work on this lately, but I'll try to do a bit of digging and maybe put together a bridge build with some better logging. At the very least I'd like to prevent one device from taking down the entire bridge.
from fx_cast.
Yeah, no worries, and much appreciated. I can work around it for now. But, if you need help testing a build, let me know.
from fx_cast.
Got a build with some extra logging (source):
fx_cast_bridge-0.3.0-x64.zip
Should work for Linux Mint (I assume you use the deb package). Haven't changed the version number, so you need to remove any existing deb package since package upgrade won't work.
from fx_cast.
Great, thanks for this.
I've attached the log from the browser console when it starts up. I've removed any device IDs... no idea if it's safe to share there, but just to be on the safe side.
The device at 192.168.1.117 which seems to be mentioned in all the errors is the Google Nest Hub that I mentioned as being one of the problem devices.
Does this shine a light on the issue?
from fx_cast.
Oh! And I've just realised that the bridge is now working with this build! So many thanks for that! :)
from fx_cast.
Can confirm I'm also seeing this issue on arch. I'll test tomorrow, once I can set aside time to rework the PKGBUILD
from fx_cast.
Can confirm too, I'm seeing this same issue on Ubuntu 22.04 LTS.
from fx_cast.
Can confirm that the above build works fine on Ubuntu 23.10 and Firefox 120.0. Thanks a lot!
from fx_cast.
I've installed on my Mac M1, same issues :(
from fx_cast.
Same on Ubuntu 23.10 with FF 125. I can collect traces or install debug builds if needed. The traces are the same as in OP.
from fx_cast.
Related Issues (20)
- Default action policy is not handled correctly
- Improve bridge error handling
- Implement chrome.cast.Session#queueLoad
- I have a Chromecast device, and casting works fine from Chrome, but not from Firefox and fx_cast. HOT 8
- Updated translations for 'ru': Russian (Русский) HOT 1
- Unable to cast from Jellyfin web client
- Won't install on Asahi Linux HOT 3
- No devices found + weird error logs HOT 1
- Error with the bridge HOT 3
- error with the bridge on MBP 14" early 2023 m2 pro chip
- Whitelist menus don't handle IP address hosts properly
- mozTCPSocket API HOT 2
- Issue With Cloudflare CAPTCHA on some websites HOT 2
- cant seem to cast videos from primevideo and various other streaming sites HOT 1
- macOS Bridge not compatible with Apple Silicon HOT 1
- "Bridge not found" after install on Arch, presumably caused by an invalid /opt/fx_cast/fx_cast_bridge binary HOT 5
- After choosing Source never ending "fx_cast Waiting for connection ..." screen on outpout device
- Bridge crashes when trying to connect to device, fails to enumerate other devices
- Netflix blocks fx_cast HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx_cast.