[Bug 795229] New: WARN: do_handshake encountered BIO error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 13 09:01:52 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795229

            Bug ID: 795229
           Summary: WARN: do_handshake encountered BIO error
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bugzilla at poradnik-webmastera.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I see this in logs repeatedly when DTLS handshake is performed:

0:00:00.404539920 19083      0x130ead0 WARN          dtlsconnection
gstdtlsconnection.c:737:openssl_poll:<GstDtlsConnection at 0x137dde0> do_handshake
encountered BIO error

Here are additional details:
SSL_do_handshake() returned -1
SSL_get_error() returned 5 (SSL_ERROR_SYSCALL)
errno is 0 (Success)
ERR_error_string() returned "error:00000005:lib(0):func(0):DH lib"

Real sockets do not return EOF when there is no data available. Your custom BIO
does this when buffer is empty. I suspect that it should not do this, to match
way how sockets operate:
https://github.com/GStreamer/gst-plugins-bad/blob/3caf16a1994b55b4ca19e2d5802b6a60e0a1149c/ext/dtls/gstdtlsconnection.c#L954

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list