cf-console
cf-console copied to clipboard
Ajax error has been happened when loop 120 times to send request to the cloud foundry for getting the app's info
If i try to start an unable to started app which will be only 0 perscent of all instances strated after I click the start link on the applications list screen, an ajax error will be happened. Since checking the code,I find that the ajax call will be aborted after the request is send to the server client about 30 seconds.What's more, I get the status is 0 ,the readystate is 4 through firebug tool.
@dorisxt I believe you can raise the ajax timeout at the #start-app-link beforeSend event. Just add/modify the timeout setting received at the settings var. Let me know if if works.
@frodenas I have tried to do as you suggested( I set the setting.timeout = 3600000), but this issue is still exiting. The responseText is empty,the status and readyState are 0. What's more,the server side received twice requests but the client side only send one.