According to the documentation this should never happen but apparently does under certain circumstances. As the sockets are set non-blocking, trying to read from them regardless should not cause any problems. In all cases that were observed so far, the socket in question actually has a packet queued up for reading. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4748>