GNOME Bugzilla – Bug 794800
GstDtlsConnection throws a warning every minute
Last modified: 2018-11-03 14:20:13 UTC
During a WebRTC session, we've encountered dtlsconnection gstdtlsconnection.c:747:openssl_poll:<GstDtlsConnection@0x7fb63c0aa160> do_handshake encountered BIO error after 15, 30, 60 seconds and then every minute. further digging shows that the BIO read gets an EOF and the SSL syscall errno is actually 0 (success) and the error queue is empty. it may indicate that the peer simply terminated the TCP connection. maybe something goes wrong with rtcp here, or is this intentional behaviour?
This, unfortunately seems to be reasonably normal behaviour for openssl/dtls elements. The question is if it causes any problems.
that's what we thought. it doesn't seem to be triggering any apparent problems. we were thinking about de-escalating that WARNING to a DEBUG
Or detecting the success case and not throwing the warning would probably be better :)
Created attachment 370289 [details] [review] dtls: Properly display all errors/warnings from ERR queue
Review of attachment 370289 [details] [review]: ::: ext/dtls/gstdtlsconnection.c @@ +775,3 @@ + case SSL_ERROR_SYSCALL: + GST_LOG_OBJECT (self, "SSL syscall error: errno %d: %s", errno, + strerror (errno)); Since you have errno, maybe upgrade the log to a warning if errno != 0?
-- 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/677.