Websites Discussion
The webserver returns a 500 when I download the playlist overview
Talk about our websites Serato.com and Whitelabel.net
To talk about a Serato product such as Scratch Live or ITCH please find the appropriate forum area.
To talk about a Serato product such as Scratch Live or ITCH please find the appropriate forum area.
The webserver returns a 500 when I download the playlist overview
discordianfish
2:47 PM - 7 May, 2010
Product: scratchlive
Version: 2.0
Computer: mac
---
I try to write a small script, to take new entries from a "Live Playlist" and scrobblem them or send a twitter message about it.
So in a first step, I try to fetch the playlist overview under serato.com - but I always get a 500 response from the server. The content is there, but the response code is 500 which obviously is wrong.
Looks like it not happens with firefox or google chrome, but via curl, wget and lwp:
curl -I 'serato.com
HTTP/1.0 500 Internal Server Error
Date: Fri, 07 May 2010 14:45:54 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.8-0.dotdeb.1
Set-Cookie: session=a%3A2%3A%7Bs%3A3%3A%22key%22%3Bs%3A32%3A%2271bff2246a11b40a187
0401e859630eb%22%3Bs%3A2%3A%22id%22%3Bs%3A8%3A%2291153371%22%3B%7D;path=/; domain=.serato.com
Connection: close
Content-Type: text/html; charset=UTF-8
Version: 2.0
Computer: mac
---
I try to write a small script, to take new entries from a "Live Playlist" and scrobblem them or send a twitter message about it.
So in a first step, I try to fetch the playlist overview under serato.com - but I always get a 500 response from the server. The content is there, but the response code is 500 which obviously is wrong.
Looks like it not happens with firefox or google chrome, but via curl, wget and lwp:
curl -I 'serato.com
HTTP/1.0 500 Internal Server Error
Date: Fri, 07 May 2010 14:45:54 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.8-0.dotdeb.1
Set-Cookie: session=a%3A2%3A%7Bs%3A3%3A%22key%22%3Bs%3A32%3A%2271bff2246a11b40a187
0401e859630eb%22%3Bs%3A2%3A%22id%22%3Bs%3A8%3A%2291153371%22%3B%7D;path=/; domain=.serato.com
Connection: close
Content-Type: text/html; charset=UTF-8
Eru G
3:59 AM - 10 May, 2010
Hi discordianfish,
Thanks for bringing this to our attention - it looks as though playlists was throwing a 500 error when you tried to visit the page without being logged in (which is what curl will try to do by default)
You should have more luck now :)
Thanks for bringing this to our attention - it looks as though playlists was throwing a 500 error when you tried to visit the page without being logged in (which is what curl will try to do by default)
You should have more luck now :)