cf-console icon indicating copy to clipboard operation
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

Open dorisxt opened this issue 12 years ago • 2 comments

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 avatar Aug 14 '13 06:08 dorisxt

@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 avatar Aug 17 '13 18:08 frodenas

@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.

dorisxt avatar Aug 19 '13 03:08 dorisxt