solved No SoundCloud Tracks found

alt=
@dim
9 years ago
167 posts
The SoundCloud Search tool stopped working a few days ago. Now, nobody is able to add new tracks - "No SoundCloud Tracks found".
Also, the field "SoundCloud ID or URL" is not working. We always get the answer: Unable to extract ID from URL, or an invalid SoundCloud ID.

I did not make any changes to the jrSoundCloud (1.1.6).
The SoundCloud API Client ID code and the SoundCloud API Client Secret code are correct.

Thanks for any ideas.
updated by @dim: 03/20/16 07:00:39PM
alt=
@dim
9 years ago
167 posts
I tried to remove the module and reinstall it.
But it did not help.
michael
@michael
9 years ago
7,714 posts
Still working here as expected. Check on soundcloud to see if they have sent you any messages.

Check the error log in the ACP to see if there is any error messages about what could be happening.

If the module is up to date and the credentials are correct, then it should be going
alt=
@dim
9 years ago
167 posts
michael:
Still working here as expected. Check on soundcloud to see if they have sent you any messages.
There are no any messages.
michael:
Check the error log in the ACP to see if there is any error messages about what could be happening.
There are no error messages in the error log.

michael:
If the module is up to date and the credentials are correct, then it should be going
The module suddenly stopped working a few days ago. I just keep getting messages from users. They wrote that their SoundCloud tracks are disappeared. And they can not add new SoundCloud tracks (See above.) It's only 9 old SoundCloud tracks are visible on the site now.
michael
@michael
9 years ago
7,714 posts
Not sure what to say, you say it doesn't work, but its working here for me.

Without any errors or other clues to go on, I don't have any other ideas why that would be the case.

Perhaps try creating a new soundcloud user and use those developer credentials.
alt=
@dim
9 years ago
167 posts
michael:
Perhaps try creating a new soundcloud user and use those developer credentials.
Unfortunately it did not help :(

michael:
Not sure what to say, you say it doesn't work, but its working here for me.
I understand it. But I do not see any errors. What can I do more? I just want to use this module.
paul
@paul
9 years ago
4,326 posts
Can you send us your site url, admin and ftp logins? We'll take a look directly.
support [at] jamroom [dot] net


--
Paul Asher - JR Developer and System Import Specialist
alt=
@dim
9 years ago
167 posts
@paul,
I send you my email.
Thank you for all your help.
michael
@michael
9 years ago
7,714 posts
Got your login details. I can see that it is not working on your site.

Checks I did.
#1: I put your soundcloud credentials into my system to see if they worked, they did. This means your credentials are not the problem.

#2: I put my soundcloud credentials into your system. They did not work. This means it has nothing to do with soundcloud credentials.

#3: I downloaded your version of jrSoundCloud and put it on my server. It does work on my server. This points to there being no problem with the module although does leave space that it might be another jamroom function that could still be to blame.

Conclusion: My best guess at this point is the server. My guess is that your server is not letting the jrCore_load_url() function out to go and get the response from soundcloud.

I would have expected to see errors in the activity log showing this though. Firewall perhaps. Does your server have any server level logs, access or error? maybe some more clues in there.
michael
@michael
9 years ago
7,714 posts
I've done a bit of debugging on this and its an issue on soundcloud's side.

The url being used to try to retrieve the info is:
http://api.soundcloud.com/tracks.json?client_id=(YOUR SOUNDCLOUD CLIENT ID HERE)&q=Newb&offset=0&limit=10
When I open that url in a browser it displays as expected, a json encoded array of information.

I've added some debug code to your soundcloud module so the returned response shows in your debug log in the ACP and it returns:
Array ( 

[what] => trying to find out why soundcloud not responding 

[$_sc] => 

[$res] => <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html> 

[$url] => http://api.soundcloud.com/tracks.json?client_id=(YOUR SOUNDCLOUD CLIENT ID HERE)&q=Newb&offset=0&limit=10 

)

The key point to note is:
403 - Forbidden

For whatever reason, soundcloud is not letting your server contact it. Its not a problem you can solve by doing anything on your end. Your server appears to be banned.
alt=
@dim
9 years ago
167 posts
Wow! Do I understand correctly, they blocked the IP of my server? It`s strange! We did not use SoundCloud too often. And I did not get information from them about blocking.
paul
@paul
9 years ago
4,326 posts
dim:
Wow! Do I understand correctly, they blocked the IP of my server? It`s strange! We did not use SoundCloud too often. And I did not get information from them about blocking.

That's Michael's conclusion. Maybe worth contacting them to see their take on it?


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
9 years ago
10,148 posts
dim:
Wow! Do I understand correctly, they blocked the IP of my server? It`s strange! We did not use SoundCloud too often. And I did not get information from them about blocking.

I would double check that the API key is correct - if it is, then you've definitely hit some sort of rate limit and you've been blocked - SoundCloud support would have to help you out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags