Skip to content
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

SSL handshake aborted #2081

Open
1 task
Tr736 opened this issue Jan 28, 2025 · 2 comments
Open
1 task

SSL handshake aborted #2081

Tr736 opened this issue Jan 28, 2025 · 2 comments
Assignees
Labels

Comments

@Tr736
Copy link

Tr736 commented Jan 28, 2025

Version

Media3 main branch

More version details

1.5.1

Devices that reproduce the issue

Pixel 4

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

I am unable to play the following URL in Android Media3. However, it works fine on iOS and Web Players:

https://op3.dev/e,pg=f8bc1df7-2915-5299-b78b-632a7d3e8061/castopod.it/audio/@digidati/61-libera-il-tuo-computer-con-dario-di-alternativa-linux.mp3

The error I encounter is:

V/NativeCrypto(7034): SSL handshake aborted: ssl=0xb4000073dcc71d18: Failure in SSL library, usually a protocol error
V/NativeCrypto(7034): error:1000042e:SSL routines:OPENSSL_internal:TLSV1_ALERT_PROTOCOL_VERSION (third_party/openssl/boringssl/src/ssl/tls_record.cc:592 0xb40000739ccaa0f0:0x00000003)
D/TrafficStats(7034): tagSocket(73) with statsTag=0xffffffff, statsUid=-1
V/NativeCrypto(7034): SSL handshake aborted: ssl=0xb4000073dcc90018: Failure in SSL library, usually a protocol error

Does anyone have an idea on how to resolve this issue?

Expected result

.

Actual result

.

Media

.

Bug Report

  • You will email the zip file produced by adb bugreport to [email protected] after filing this issue.
@microkatz
Copy link
Contributor

@Tr736

I tested this with the demo app on a Pixel 3 and also a Pixel 6 and the media content you supplied played as expected.

Would you be able to share a bug report? If you're unable to share the bug report publicly, please send them to [email protected] with the subject Issue #2081. Please also update this issue to indicate you've done this.

@Tr736
Copy link
Author

Tr736 commented Jan 29, 2025

you're right. ive also tested in the demo app and it appears to be working. ive looked through the demo app code and cannot find why this is happening on my end.

I see you have an OKHttpDatasource and wonder if this is the solution

Thanks for checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants