0 Replies Latest reply on Nov 17, 2010 3:09 PM by seattleflex

    How to handle InvocationTargetException response code: 500 for URL because database slow




      I am new to Flex and recently created a Flex app. The app fetches data from a MySQL database using a PHP service. Everything works fine until I throw it a complex query. While the query is sent to the database and resolves fine (in 13 mins) , the Flex app fails very early after rougly 3 mins and returns this error message :


      InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.


      Reason: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost/spot_dashboard-debug/gateway.php


      I suspect that because the db takes a while to return results, the flex app fails. Is there a way to change my configurations such that flex does not timeout early?