Skip to content

DTLS handshake fails with OpenSSL 3.6.0 on aarch64 (Nerves/RPi) #54

Description

@ChivukulaVirinchi

Running ex_dtls 0.18.0 on a Raspberry Pi Zero 2 W with Nerves (OpenSSL 3.6.0, aarch64). ExDTLS.init and do_handshake work fine - ClientHello is generated correctly. But when the
browser responds, handle_data returns {:error, :handshake_error} immediately (~3ms).

ICE connects successfully, DTLS goes connecting → failed within milliseconds. Same behavior with ex_dtls 0.17.0.

  • Erlang/OTP 27, Elixir 1.19.4
  • OpenSSL 3.6.0 (compiled and linked)
  • nerves_system_rpi0_2 1.33.1
  • Tested with Chrome, browser-offers-server-answers flow

Works fine: ExDTLS.init(mode: :client, dtls_srtp: true) → ExDTLS.do_handshake(ctx) produces valid packets.

Fails: any call to handle_data with real browser DTLS response.

Is this an actual problem, or am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions