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

Error creating GUPnP context: Failed to bind socketError binding to address 10.10.10.122:1990: Cannot assign requested address #21

Open
bigbean17 opened this issue Aug 1, 2024 · 9 comments

Comments

@bigbean17
Copy link

Hi,

I'm using simple-whip-client to broadcast to Dolby. I found that this error Error creating GUPnP context: Failed to bind socketError binding to address 10.10.10.122:1990: Cannot assign requested address always occur after running for around 1-2 hours. During this time nothing was changed. And there are not much debug information for this. What might be the cause of this problem? Any help would be appreciated.

Thank you!

@jessedewild
Copy link

Hi there, we also have this issue.

@jessedewild
Copy link

@bigbean17 Do you already have more information on this?

@bigbean17
Copy link
Author

@jessedewild Sorry, not much information I can provide. I couldn't solve this issue so I switched to gstreamer.

@jessedewild
Copy link

And are you using it with the WHIP server? Or can you give me an example of how you are using GStreamer?

@bigbean17
Copy link
Author

Not sure about your case, I'm trying to stream from an Axis camera to Dolby, so I followed this document . If you are streaming to Dolby as well, you could open a ticket if the example in the document does not work. Hope that helps.

@jessedewild
Copy link

Alright thanks! One more question, do you have a screenshot of when the error occurred in the logs? That way I can implement a restart feature for when that error appears.

@lminiero
Copy link
Member

Apologies for the delay in this response.

It looks like the way GStreamer's webrtcbin uses libnice, it's not disabling UPNP (as we do in Janus, instead). Considering UPNP is useless in WebRTC, my guess is that getting it to be disabled in there would fix your issue.

I don't think there's an easy way to do that programmatically (e.g., finding the nice object in webrtcbin, accessing the NiceAgent instance somehow, and do it there using libnice's API), so fixing this upstream in GStreamer may be easier.

@lminiero
Copy link
Member

@bigbean17 @jessedewild FYI, I opened a suggestion to disable UPNP in webrtcbin on the GStreamer repo:

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3832

If you have more info on what happens, as in the specific issue you experience when you see those errors in the logs, please consider providing it there too. This is to ensure the UPNP log message is not just a red herring, and the cause of the issue potentially being somewhere else.

@jessedewild
Copy link

Is it possible to disable UPNP programmatically then? Or is that sadly not possible? We are using GStreamer 18, because it is installed on an older Debian version

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

3 participants