Giter Site home page Giter Site logo

Comments (5)

neonphog avatar neonphog commented on June 15, 2024 2

@ThetaSinner @mattyg - This isn't a real problem, but we do need a real solution.

WebRTC is a bit of a shotgun, it hits up DNS on every single interface on your system, and some of them report errors either because they're loopback or actually docker interfaces, or whatever other reason. The ones that respond correctly are used to actually connect to the TURN server, the others are ignored. So, you get the warning, and it's also working correctly at the same time.

But, it indeed looks bad in the logs, and when something else is not working it is a problem when people have to spend time dismissing this warning. Unfortunately, the warning is generated in the go pion webrtc library we are using. Short of doing a string identification on it, I'm not sure how to suppress it, and if you actually do not have DNS access on any of your local interfaces, so it is actually a real problem, it might be bad if we were suppressing it.

Does anyone have any additional thoughts/suggestions for this?

from holochain.

ThetaSinner avatar ThetaSinner commented on June 15, 2024

We've definitely seen this before but it does seem to be a transient problem. My main concern with this is what happens to the state within Holochain when these kinds of errors happen.

I believe we've had problems reproducing this before @neonphog but is there anything new we might be able to add to our understanding of this problem here?

Either way I'm happy to keep this open to track the problem until we get it resolved.

from holochain.

ThetaSinner avatar ThetaSinner commented on June 15, 2024

If I were the library author for the Go code I'd be looking at doing something like capturing errors while running through possible interfaces and only log when you have either

  • found some that work and log those; or
  • found none that work and dump what was tried.

So by default a few problem interfaces can just be ignored.

Is it worth sharing this question with the library authors and seeing what they suggest?

from holochain.

github-actions avatar github-actions commented on June 15, 2024

This item has been open for 30 days with no activity.

from holochain.

github-actions avatar github-actions commented on June 15, 2024

This item has been inactive for 14 days since being marked as stale.

from holochain.

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.