<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Testing and Support</title><link>http://developer.myspace.com/community/forums/16.aspx</link><description>Got code that just won't work? Discuss and troubleshoot here.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>Re: 500 server error makeRequest JSON</title><link>http://developer.myspace.com/community/forums/thread/50994.aspx</link><pubDate>Tue, 26 Oct 2010 18:08:36 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:50994</guid><dc:creator>Joel</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/community/forums/thread/50994.aspx</comments><wfw:commentRss>http://developer.myspace.com/community/forums/commentrss.aspx?SectionID=16&amp;PostID=50994</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, there is a time out issue:&lt;/p&gt;&lt;p&gt;HTTP/1.1 500 The operation has timed out.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is a LONG delay and I don&amp;#39;t see anything we could possibly do on our end. I don&amp;#39;t understand why this would be delayed by so much, but our server cannot wait forever, so this is something that would need to be improved on your end.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks,&lt;/p&gt;&lt;p&gt;Joel &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: 500 server error makeRequest JSON</title><link>http://developer.myspace.com/community/forums/thread/50990.aspx</link><pubDate>Tue, 26 Oct 2010 09:56:47 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:50990</guid><dc:creator>BBC Radio 1 - Dev</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/community/forums/thread/50990.aspx</comments><wfw:commentRss>http://developer.myspace.com/community/forums/commentrss.aspx?SectionID=16&amp;PostID=50990</wfw:commentRss><description>&lt;p&gt;Hi Joel, Bemmu,&lt;br /&gt;&lt;br /&gt;Many thanks for your replies and looking into this.&lt;br /&gt;&lt;br /&gt;Bemmu, unfortunately this file needs to be served from the BBC servers and so catching on my server is not an option.&lt;br /&gt;&lt;br /&gt;Joel, i have run the Wireshark .pcap http capture as requested and this data has now been sent to developerrelations@myspace-inc.com as you suggested so thanks for that.&lt;br /&gt;&lt;br /&gt;Whilst i&amp;#39;m new to Network Analysis i could glean certain information from the file and that was from the 500 response. From that i can see that some of the .json file is returned but it is never fully returned i believe due to the network timeout. I&amp;#39;m sure the guys at Developer Relations would be able to get more information from the .pcap file than i can but it does seem that the timeout is at the root of the issues.&lt;br /&gt;&lt;br /&gt;Once again thanks for your time.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Brendan&lt;br /&gt; &lt;/p&gt;</description></item><item><title>Re: 500 server error makeRequest JSON</title><link>http://developer.myspace.com/community/forums/thread/50983.aspx</link><pubDate>Tue, 26 Oct 2010 02:04:51 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:50983</guid><dc:creator>Bemmu</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/community/forums/thread/50983.aspx</comments><wfw:commentRss>http://developer.myspace.com/community/forums/commentrss.aspx?SectionID=16&amp;PostID=50983</wfw:commentRss><description>The error seems to be just what it says: a timeout. When I try to retrieve that URL, it takes 50 seconds. I suggest proceeding like you are doing now, caching the URL on your server. You wouldn&amp;#39;t want to make your users wait for 50 seconds even if it was possible.

I confirmed that other URLs work fine (I tested with &amp;quot;http://www.xul.fr/ajax-json-menu.json&amp;quot;).</description></item><item><title>Re: 500 server error makeRequest JSON</title><link>http://developer.myspace.com/community/forums/thread/50971.aspx</link><pubDate>Mon, 25 Oct 2010 21:23:34 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:50971</guid><dc:creator>Joel</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/community/forums/thread/50971.aspx</comments><wfw:commentRss>http://developer.myspace.com/community/forums/commentrss.aspx?SectionID=16&amp;PostID=50971</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can you get a Wireshark .pcap http capture of the request and 500 response so we can see exactly what is being sent over that is causing a server problem? You can send to developerrelations@myspace-inc.com.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks,&lt;/p&gt;&lt;p&gt;Joel &lt;br /&gt;&lt;/p&gt;</description></item><item><title>500 server error makeRequest JSON</title><link>http://developer.myspace.com/community/forums/thread/50959.aspx</link><pubDate>Mon, 25 Oct 2010 12:05:04 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:50959</guid><dc:creator>BBC Radio 1 - Dev</dc:creator><slash:comments>0</slash:comments><comments>http://developer.myspace.com/community/forums/thread/50959.aspx</comments><wfw:commentRss>http://developer.myspace.com/community/forums/commentrss.aspx?SectionID=16&amp;PostID=50959</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m in the process of building a gallery but i am consistently having issues with using makeRequest trying to parse a json document. I have stripped out all unnecessary code from my app but even with this core i&amp;#39;m getting constant 500 server errors. I hav eset up obj checks to confirm the errors:&lt;br /&gt;&lt;br /&gt;obj.text = undefined&lt;br /&gt;obj.errorCode = internalError&lt;br /&gt;obj.errorMessage = The operation has timed out&lt;br /&gt;&lt;br /&gt;I have included my bare-bones app content below. I have two urls in there the request to the json feed on my server &amp;quot;http://www.thewoom.co.uk/bbc/mscdn/radio1/5532.json&amp;quot; works perfectly fine but the call to the BBC url &amp;quot;http://www.bbc.co.uk/radio1/photos/chrismoyles/5532.json&amp;quot; gives me the errors listed above every time. Any help on this would be greatly appreciated:&lt;br /&gt;&lt;br /&gt;////////////////////// Begin app src /////////////////////////////////////////////////&lt;/p&gt;&lt;p&gt;&amp;lt;div id=&amp;quot;content_div&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Request Function&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function makeJSONRequest() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var params = {};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.JSON;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var url = &amp;quot;http://www.bbc.co.uk/radio1/photos/chrismoyles/5532.json&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //var url = &amp;quot;http://www.thewoom.co.uk/bbc/mscdn/radio1/5532.json&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; gadgets.io.makeRequest(url, response, params);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Response&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function response(obj) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var html = obj.text + &amp;quot;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; html += obj.errorCode + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; html += obj.errorMessage;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(&amp;#39;content_div&amp;#39;).innerHTML = html;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Call request function&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; makeJSONRequest();&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;////////////////////// End app src /////////////////////////////////////////////////&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>