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

Discovery node return tracks as downloadable while streaming url returns 403 #1458

Open
kr4xkan opened this issue May 3, 2021 · 3 comments

Comments

@kr4xkan
Copy link

kr4xkan commented May 3, 2021

In this issue I will use https://discoveryprovider.audius.co as the endpoint.

Expected Behavior:

https://discoveryprovider.audius.co/v1/tracks/VQb0N should be returning downloadable: false because it is deleted.

Current Behavior:

https://discoveryprovider.audius.co/v1/tracks/VQb0N returns downloadable: true
while https://discoveryprovider.audius.co/v1/tracks/VQb0N/stream redirects to https://creatornode2.audius.co/tracks/stream/VQb0N which returns a 403 code because the CID is blacklisted (likely because it is marked as deleted)

I am pretty sure this is unwanted behavior, because I have in the past encountered deleted tracks and they were marked as downloadable: false

@kr4xkan
Copy link
Author

kr4xkan commented May 3, 2021

Actually it seems that there is the same problem but the other way.

https://discoveryprovider.audius.co/v1/tracks/b9ZBk is returning downloadable: false but https://discoveryprovider.audius.co/v1/tracks/b9ZBk/stream is actually working and returning the track

Maybe I don't understand the downloadable field but for me it means: Whether a track is streamable or not.

@mirek11s
Copy link

mirek11s commented Mar 3, 2022

Has this issue been fixed?

@kr4xkan
Copy link
Author

kr4xkan commented Mar 3, 2022

I've checked both of my example links and it seems like not,
My response to this was to check directly the stream URL if you're getting a 200 status code it's good

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

No branches or pull requests

2 participants