Shindig is caching makeRequest failures (specifically error 504) ----------------------------------------------------------------
Key: SHINDIG-1251 URL: https://issues.apache.org/jira/browse/SHINDIG-1251 Project: Shindig Issue Type: Bug Components: Java Environment: Firefox v3.5.6 running on Windows XP. Java Shindig running on the same Windows XP machine. Data source on another machine. Reporter: Bruce Godden I have a gadget that uses a makeRequest to fetch data but the data source is rather slow to respond, particularly in a testing environment. I have increased the timeout for such fetches in Shindig to 30 seconds but even this is sometimes not long enough to fetch the data. When this happens the fetch returns an error 504 which the gadget displays. If I reload the gadget frame then it almost instantly comes back with the error 504 again; there is no long wait for the response this time. It looks like Shindig is caching the timeout response and returning it when the makeRequest is repeated. This is not what I would expect to happen. There are some errors that might be worth caching but this isn't one of them. I haven't investigated Shindig's behaviour with other errors but I suspect it might be similar as I think I have seen other errors behaving similarly when I haven't set up the testing environment correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.