Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 986
    • Issues 986
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #689

Closed
Open
Created Apr 13, 2018 by Bugzilla Migration User@bugzilla-migration

WARN: do_handshake encountered BIO error

Submitted by Daniel F

Link to original bug (#795229)

Description

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

Version: 1.14.0

Assignee
Assign to
Time tracking