soundnode-app icon indicating copy to clipboard operation
soundnode-app copied to clipboard

tracks will not play

Open kiingkiller opened this issue 8 years ago • 194 comments

it was working fine this morning but when i got home when ever i try and play a track nothing happends and if i try and click into the track i get the oh no message.

kiingkiller avatar Jun 30 '16 02:06 kiingkiller

Try removing the LocalStorage in the Soundnode setting and then rrstart Soundnode…

ghost avatar Jun 30 '16 04:06 ghost

Problem appeared 30.06.2016. It is not possible to listen any track. Everything I got is silence. When I try to move forward a current track, I got the message: "Oh No. Something went wrong. I can't play this track :(". I tried to clean up local storage, run as admin. It didn't help. Version 0.6.4.

Flukky avatar Jun 30 '16 06:06 Flukky

Same here :( Tried removing the LocalStorage, no help. Version 0.6.4.

eisenbergrobin avatar Jun 30 '16 08:06 eisenbergrobin

Same problem i clean the LocalStorage and download the app again from the website. It's work now :)

clemlycao avatar Jun 30 '16 08:06 clemlycao

Same here :( Tried removing the LocalStorage, no help. Version 0.6.4 on Ubuntu 14.04

EDIT solution for me -> remove localstorage and relaunch app

cpatti97100 avatar Jun 30 '16 10:06 cpatti97100

Exactly same problem here. Version 0.6.4, appeared yesterday.

Edit: Cleaning the local storage and restarting the app, helped. Thanks @clivend

Mattijah avatar Jun 30 '16 11:06 Mattijah

It appears that we exceeded the Rate limit

stream:1 GET https://api.soundcloud.com/tracks/XX/stream?client_id=XX
429 (Too Many Requests)

jakejarrett avatar Jun 30 '16 11:06 jakejarrett

@jakejarrett hey there, how did you find that log message? I haven't built from source (should probably do that) - but since it's a nodejs app - can I enable logging somehow? view a console even? would be good to know so I can make more meaningful bug reports!

also +1 on this issue. Clearing local cache and restarting app resolved for me.

GrayedFox avatar Jun 30 '16 12:06 GrayedFox

@GrayedFox You can just press Control (Command on Mac) + / and it will open the devtools :smile:

jakejarrett avatar Jun 30 '16 12:06 jakejarrett

And on Linux? :penguin:

GrayedFox avatar Jun 30 '16 12:06 GrayedFox

Linux is Control + / :smile_cat:

jakejarrett avatar Jun 30 '16 12:06 jakejarrett

@jakejarrett how could we avoid exceeding the rate limit? I was thinking of at least implementing session-based caching (so when you listen again to a song you won't make a new request) as allowed in the Terms of Use:

Your app may employ session-based caching, but only to the extent reasonably necessary for the operation of your app during that session, and any cached content must cease to be available, accessible or playable within your app at the end of that session.

ghost avatar Jun 30 '16 13:06 ghost

We hit the Soundclou API limit that's the reason we can't play tracks.

I'm going to use the long weekend (starting tomorrow) to make some improvements on Soundnode and try to come up with a solution for this issue.

weblancaster avatar Jun 30 '16 16:06 weblancaster

@weblancaster Jake Jarrett has already said that, what about my idea above to hit the rate limit less fast?

ghost avatar Jun 30 '16 16:06 ghost

Cache doesn't sound good for me, especially that most queries comes from playing stream, so cache would let us save maybe few percents at most.

Pitros avatar Jun 30 '16 17:06 Pitros

And what about adding an option for using the user's Client ID?

ghost avatar Jun 30 '16 17:06 ghost

Eh? Cache would potentially save the end user a lot of data usage, and reduce how many times we hit the API. Not sure the best way to get the stats, but I could record all my traffic coming from Soundnode over several sessions using a proxy and gather data based on those requests most repeated. This would give us a base to decide what to cache first, based on traffic. Would be more useful with a larger user base (I.e. not just me) but hey, it's a start :)

GrayedFox avatar Jun 30 '16 17:06 GrayedFox

I think caching will barely (if at all) help with this issue.

How about using a rotating pool of clientIds/tokens? If we just generate a few tokens and rotate between them wouldn't that mitigate the problem?

eisenbergrobin avatar Jun 30 '16 17:06 eisenbergrobin

When soundcloud added limits, we talked about that but I don't remember what @weblancaster thought when I proposed using more api tokens and just randomly assigning them while user logs to app. That is still the best idea for me.

Pitros avatar Jun 30 '16 17:06 Pitros

I'm just going to build something to let we know when Soundnode is close to hit the limit and swao to another developer id (I'm going to create two more developer ID)

weblancaster avatar Jun 30 '16 18:06 weblancaster

#804 and #805

weblancaster avatar Jun 30 '16 18:06 weblancaster

@weblancaster that's not a scalable solution at all my friend. Also, possibly breaks terms of service?

Why don't we just ask the kids at Soundcloud what they think is the best solution? Maybe they have workarounds

GrayedFox avatar Jul 01 '16 08:07 GrayedFox

You are correct not scalable but that's the only short term solution we have at the moment (I also have asked someone at Soundcloud.. there is nothing we can do)

Let me know if you have any idea (preferably following Soundcloud third party rules)

weblancaster avatar Jul 01 '16 15:07 weblancaster

Clearing local storage and restarting Soundnode does not work for me.

Here are the contents of the JSON

{"errors":[{"meta":{"rate_limit":{"bucket":"by-client","max_nr_of_requests":65000,"time_window":"PT24H","name":"plays"},"remaining_requests":0,"reset_time":"2016/08/30 05:08:57 +0000"}}]}

Maybe there should be an option in the settings for the end-user to enter a developer id, if they wish.

I'm on Soundnode 0.6.4, since 0.6.5 is broken on Ubuntu 16.04 and I am in no mood to compile it from source (have better things to do with my time).

onedrawingperday avatar Aug 29 '16 11:08 onedrawingperday

@onedrawingperday While not as friendly as a field in settings, you can open up Help > Developer Tools > Console, then run the following command:

window.localStorage.scClientId = "YOUR_PERSONAL_SOUNDCLOUD_CLIENT_ID"; // replace with your actual SoundCloud Client ID

It should persist across app relaunches so that you can keep rocking out even in the rare event that Soundnode's client id has been rate limited. See #858.

Hope that helps if this hasn't been resolved more directly by an app update before the next time the rate limit is exceeded.

bryguy avatar Sep 01 '16 16:09 bryguy

Thanks @bryguy will check this out as soon as time permits.

onedrawingperday avatar Sep 02 '16 10:09 onedrawingperday

resetting localstorage did'nt solve the issue for me, nor did re downloading, help would be apreciated :)

poltergeistG avatar Oct 28 '16 22:10 poltergeistG

It seems we hit the rate limit again...

Racer500 avatar Oct 30 '16 23:10 Racer500

yes we did @Racer500 .. I'm going to figure out something about it.

weblancaster avatar Oct 30 '16 23:10 weblancaster

any updates? i run a really weak computer and the only way for me to listen to music and multi - task w/o google taking all my resources is with this :)

poltergeistG avatar Nov 04 '16 22:11 poltergeistG