-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dtls handshake failed:Certificate[Reassembly error, protocol DTLS: New fragment overlaps old data (retransmission?)] #1225
Comments
Can you please provide some more details like which version of the SDK you are using? We recommend using the most recent tagged release 1.6.0. For debugging one thing you can do is expand the switch here to check for all of the possible profile types (including the unset one), they are listed here: https://github.com/ARMmbed/mbedtls/blob/448c80727dab5ad99c4ab1c82e4cee1125acafb1/programs/ssl/ssl_client2.c#L712-L716 The switch statement to add the additional cases to is here: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/blob/master/src/source/Crypto/Dtls_mbedtls.c#L502-L511 Inside the remaining 3 profile types you can put a log statement like:
|
Also I saw the Wireshark issue, do you think it could be related to this: https://www.wireshark.org/lists/wireshark-bugs/201508/msg00490.html It looks like that could be an issue with Wireshark. It looks like if there are Server-Client Certificate frames and Client-Server Certificate frames with the same dtls.handshake.message_seq then that would confuse Wireshark and cause that error message you're seeing. You can validate this by examining those values. |
@hassanctech I upgrade release 1.6.0 use the demo , but core cmake .. -DBUILD_STATIC_LIBS=TRUE -DUSE_OPENSSL=OFF -DUSE_MBEDTLS=ON -DBUILD_LIBSRTP_HOST_PLATFORM=x86_64-unknown-linux-gnu -DBUILD_LIBSRTP_DESTINATION_PLATFORM=arm-unknown-linux-uclibcgnueabi |
my chip is Anyka |
Do you have a stack trace we can look at? |
Hmmm. This is not informative. We will need backtrace with thread info to understand what is happening. From this, it is not clear what the source is within the SDK. |
the core file only this, cmakelists I have added add_definitions(-g) |
Hmm. This does not make a lot of sense. Doesnt look like all thread info is there, unless your application exists as soon as it starts, which does not seem to be the case based on the previous screenshot. Please run your application under GDB and run |
Closing due to no response. Feel free to reopen if you have an update. |
my app and device use mbedtls
app.txt
The text was updated successfully, but these errors were encountered: