Open viric opened 1 month ago
With a different error, mbedtls also fails to connect, for example, to live-api-s.facebook.com:443, that also uses TLS1.3.
/build/source/library/ssl_msg.c:3297: 0x7fadb82c77b0: TLS handshake fragmentation not supported
/build/source/library/ssl_msg.c:4244: 0x7fadb82c77b0: mbedtls_ssl_handle_message_type() returned -28800 (-0x7080)
/build/source/library/ssl_tls13_client.c:2367: 0x7fadb82c77b0: mbedtls_ssl_read_record() returned -28800 (-0x7080)
/build/source/library/ssl_tls13_client.c:2547: 0x7fadb82c77b0: <= parse certificate request
/build/source/library/ssl_tls.c:4617: 0x7fadb82c77b0: <= handshake
info: RTMP_Connect1, TLS_Connect failed: -0x7080
/build/source/library/ssl_msg.c:6187: 0x7fadb82c77b0: => write close notify
/build/source/library/ssl_msg.c:6198: 0x7fadb82c77b0: <= write close notify
/build/source/library/ssl_tls.c:5521: 0x7fadb82c77b0: => free
/build/source/library/ssl_tls.c:5583: 0x7fadb82c77b0: <= free
Please check https://github.com/Mbed-TLS/mbedtls/issues/9223 to see if you've encountered one of the known issues.
Summary
I'm using OBS, that uses mbedtls to connect to a rtmps server. My server uses TLS1.3 implemented in nodejs' tls package. If I "curl" to that URL, all works. But obs fails to conect with mbedtls. First, I patched obs for the #8401, because that was the first problem. The second problem I don't know what itis.
System information
Mbed TLS version (number or commit id): 3.6.0 Operating system and version: NixOS Linux 24.05 Configuration (if not default, please attach
mbedtls_config.h
): default Compiler and options (if you used a pre-built binary, please indicate how you obtained it): gcc, nothing strange Additional environment information:Expected behavior
OBS connects well to the rtmps server
Actual behavior
It fails to connect
Steps to reproduce
Try to connect to my rtmps server.
Additional information
Here is the end of debug log, removing big amounts of data