After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795229 - WARN: do_handshake encountered BIO error
WARN: do_handshake encountered BIO error
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.14.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-13 09:01 UTC by Daniel F
Modified: 2018-11-03 14:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel F 2018-04-13 09:01:52 UTC
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@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
Comment 1 Matthew Waters (ystreet00) 2018-05-07 06:50:55 UTC
Do you want to make a patch for this?
Comment 2 GStreamer system administrator 2018-11-03 14:21:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/689.