Page 1 of 1

REST Service not responding or giving error

Posted: Mon Nov 07, 2016 1:08 pm
by Tooba Atif

I am getting some data from the database which is around 5000 rows and using webservice to load into the app but the app some how stucks as it keep says Pending and not showing the error or if its complete.

I have added alerts and logs on both service error and complete but nothing shows up. I have tried increasing the service timeout as well incase thats the issue but still service wont respond.

taskList.execute({timeout: 1500000});

When I changed the data from 5000 to 2500 rows then it works fine.

Please help its urgent.


REST Service not responding or giving error

Posted: Mon Nov 07, 2016 2:54 pm
by Serhii Kulibaba

Hello,

It seems you get timeout error here.

Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.


REST Service not responding or giving error

Posted: Mon Nov 07, 2016 3:00 pm
by Tooba Atif

I have checked this there isnt any error. Also I have checked from app as well using weinre debugging.. no error just service goes on pending.


REST Service not responding or giving error

Posted: Tue Nov 08, 2016 11:08 am
by Serhii Kulibaba

Could you decrease a limit value of your response just to be sure it works for a small amount of items.

Note: Appery.io database has a max value of the limit=1500: https://docs.appery.io/reference#data...