iPhone publisher Failed by DTLS error

Michael

Member
Hello,

We have updated the Flashphoner server to the build 5.2.631 and we started to see the error "Failed by DTLS error" when publishing via iOS version 13.4.1 - 13.5. Publishing via iOS 13.2 is working fine. We have used your demo application under Streamer and Stream Diagnostic tabs. Both fails.

We are seeing the following message in the log:

16:16:57,956 INFO Session - Stun-Clbk-thread tcp/ Failed to create dtls client protocol, mediaSession fb04d150-a056-11ea-b792-7da79a9e7468 , internal_error(80)

Is it a bug in the version or something we are doing wrong?

Thank you,
 

Max

Administrator
Staff member
Good day.
Please try to increase maximum tries to connect:
Code:
dtls_close_socket_after_tries=30
Please check if problem persist when network is changed to more stable (for example, swicth from 3G to Wi-Fi).
It may also relate to IPV6 connection using, try to use IPV4 only. We're testing the fix for IPV6 support but it is not released yet.
 

Michael

Member
Hello,

We did a few tests with dtls_close_socket_after_tries=30 and changed the network but it did not solved the problem. It's probably due ipv6 compatibility. We will continue in the old version and wait for the fix in order to update.

Thanks,
 

Max

Administrator
Staff member
Good day.
In latest builds, there were some fixes in DTLS and ICE procedures in addition to IPv6 support. So please update to the build 5.2.673 and check.
 
Top