Giter VIP home page Giter VIP logo

Comments (16)

hensm avatar hensm commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

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.

  1. Is there a possibility that an error communicating with one device will cause the bridge to fail?
  2. If so, would it be possible to trap errors with single devices so that the extension could still be used?
  3. Are there any deeper logs I can provide that might indicate why these two devices are causing issues?

from fx_cast.

hensm avatar hensm commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

They devices are definitely reachable - I can cast to both from Chrome on the same laptop.

from fx_cast.

hensm avatar hensm commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

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.

hensm avatar hensm commented on May 20, 2024

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.

davetansley avatar davetansley commented on May 20, 2024

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?

fxcastlog.txt

from fx_cast.

davetansley avatar davetansley commented on May 20, 2024

Oh! And I've just realised that the bridge is now working with this build! So many thanks for that! :)

from fx_cast.

gtridr avatar gtridr commented on May 20, 2024

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.

evmoriarty avatar evmoriarty commented on May 20, 2024

Can confirm too, I'm seeing this same issue on Ubuntu 22.04 LTS.

from fx_cast.

TomTasche avatar TomTasche commented on May 20, 2024

Can confirm that the above build works fine on Ubuntu 23.10 and Firefox 120.0. Thanks a lot!

from fx_cast.

zavbala avatar zavbala commented on May 20, 2024

I've installed on my Mac M1, same issues :(

from fx_cast.

BenoitDuffez avatar BenoitDuffez commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.