mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1277] librespot unable to play songs #587
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#587
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @isolatedvirus on GitHub (Apr 23, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1277
Describe the bug
Failure to decrypt file for playback. No audio.
To reproduce
Steps to reproduce the behavior:
librespotLog
Unable to load encrypted file: Error { kind: Unavailable, error: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: Other, error: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) } } }) }
Host (what you are running
librespoton):Additional context
Connecting via android phone, using official spotify app. Some songs work, but appear to be songs that have been played before and are likely in the cache.
@roderickvd commented on GitHub (Sep 16, 2024):
So it’s saying there’s something up with the cerificate. Do you know what that could be, is there indeed tampering, wrong certificates, anything like that?
@SilverMira commented on GitHub (Nov 19, 2024):
Can this be reopened? It does reproduce even on 0.6.0 when running librespot on Android.
logcat looks something like this when trying to Session::connect
logcat
I'm suspecting we are hitting this issue, where rustls-native-certs doesn't actually support Android/IOS and instead recommends using
rustls-platform-verifierinstead.Relevant
rustls-native-certsusage hereI will try to put up a minimal repro repo sometime, currently my repro uses docker to cross compile apk since I couldn't actually get aws-lc-sys to compile from Windows
Edit: maybe I misunderstood this issue, it seems to be about using librespot on another desktop and connecting from the official android app, whereas the issue I'm facing is running librespot directly on Android for playback.
@roderickvd commented on GitHub (Nov 19, 2024):
Yes, let's make it a separate issue.