English:
Hi, I have the following problem that I can not solve.
The case is more or less the following:
We are working on a mobile project which is being developed with the Ionic v1 framework and we are using AngularJs to develop the MVC model, the app is a hybrid app and we use Cordova.
The problem that occurs in the following situation, when entering the home of the app are made a series of http requests nested about 16 requests approximately http, what they do is bring about 1kb of information each. All the requests are nested by lime until one does not end does not run the other, everything works perfect, testing has gone wonderfully, the problem is given when the android device goes into stand by mode, after a while To be in standby mode (without closing the application) to return enter and recharge the home can not make the connection to the server, the problem is not in backend nor in database, since after reviewing the server logs there is nothing , Ie the request never reached the backend, ie never left the front end. The “strange” is that the problem never occurs if the application is not blocked, but is given when it enters standby mode, but not always.
I know that I am not putting code or other details, the code is very long and are procedural errors that are made before generating each of the requests.
That 's why I would basically like to know if something happened to you sometime.
I’ve been doing a lot with this problem and I can not solve it [it’s giving me a lot of headaches]
If necessary I will see how I can do to put the code without it being soooo long.
Pd: if something works, we use IIS, windows server + sqlserver (but I think it’s irrelevant since the request never arrives, the logs show it).
Thanks in advance and greetings!
Spanish:
Hola, tengo el siguiente problema que al que no le estoy pudiendo dar solución.
El caso es mas o menos el siguiente:
Estamos trabajando en un proyecto mobile el cual se esta desarrollando con el framework Ionic v1 y estamos usando AngularJs para desarrollar el modelo MVC, la app es una app hibrida y utilizamos cordova.
El problema que se da en al siguiente situación, al entrar al home de la app se hacen una serie de peticiones http anidadas unas 16 peticiones http aproximadamente, que lo que hacen es traer aproximadamente 1kb de información cada una. todas las peticiones estan anidadas por lo cal hasta que una no termina no se ejecuta la otra, todo funciona perfeto, el testing a ido de maravilla, el problema se nos da cunado el dispositivo android entra en modo stand by, luego de un rato de estar en modo stand by (sin cerrar la aplicación) al volver entrar y recargar el home no puede hacer la conexión al server, el problema no esta en backend ni en base de datos, ya que después de revisar los logs del servidor no hay nada, es decir la petición nunca llego al backend , es decir nunca salio del front end. Lo “raro” es que el problema nunca se da si la aplicacion no se bloquea, pero si se da cuando entra en modo stand by, pero no simepre.
Ya se que no estoy poniendo código ni otros detalles, el codigo es muuuy largo y son muichos los procediminetos que se realizan antes de generar cada una de las peticiones.
Por eso básicamente me gustaría saber si a agluien le paso algo parecido alguna vez ?.
Estoy hace bastante con este problema y no lo puedo solucionar [me esta dando muchos dolores de cabeza]
De ser necesario vere como puedo hacer para poner el codigo sin que sea taaaaan largo.
pd: si de algo sirve usamos IIS, windows server + sqlserver (pero creo que es irrelevante ya que la peticion nunca llega, los logs asi lo demuestran)…
Desde ya gracias y saludos !