Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Ajax error has been happened when loop 120 times to send request to the cloud foundry for getting the app's info #15

Open
dorisxt opened this issue Aug 14, 2013 · 2 comments

Comments

@dorisxt
Copy link

dorisxt commented Aug 14, 2013

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.
@frodenas
Copy link
Owner

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

@dorisxt
Copy link
Author

dorisxt commented Aug 19, 2013

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants