02-21-2014 06:55 PM
We have an web application (conventional HTML/JS/CSS) that uses jquery/jquery-mobile that communicates with a msSQL server using Ajax/XML. It worked nearly perfectly for two years logging over 100,000 transactions by over 100 users. We had few complains about timeouts and usually related to poor reception.
We are upgrating from Bold/Storm to Z10 device. We also upgraded to recent jQuery/Jquery Mobile. Initial tests are showing errors (400 - Bad Request) in about 2 to 5% of transactions.
Examination of BES server logs show errors are received there with http "400" errors.
To reduce possibility of application error, I wrote a very small jQuery/Ajax test script which makes request to remote server every 5 seconds. Over 2 60 minute period results show Success: Z10= 97%, Bold=100% my desktop=100%. This leads me to believe that problem is with Z10 or new BES server or communications in between.
I know that there are lots of variables here, but generally what should be my next step? Are there any relevant, known issues for Z10? Server setup considerations? Relevant tests? Are there logs on BES to examine?
I want to know what to check next. I see a Development Mode in Security and Privacy Section but can't find documentation. Is this useful for web pages or just blackberry "Apps"
02-24-2014 09:21 AM
Can you help provide some more info for troubleshooting:
02-24-2014 01:04 PM
Thanks for your reply!
Rogers in both cases
it's an internal application, not accessible outside our firewall/BES server
Can I use BlackBerry remote web inspector or similar tool to debug into web page on Blackberry to see what is happening on the device?
02-24-2014 01:35 PM
Yes, you can use remote web inspector in the BlackBerry browser (settings) or from a WebWorks application:
I would expect this to be 100% broken if it were a reproducible issue. The fact that you're seeing this only 2-5% of the time is odd. 400 errors can be caused by caching behavior sometimes. I'm curious if there is any steps along the network where data may becoming stale?
Does the URL you are accessing sit behind a load balancer?
02-25-2014 10:59 PM
I will check question of load balancer.
Are there anything special considerations in the ajax call? Here is example in jQuery.
url: '/mylib/myPgm ,
dataType: 'xml' ,
data: 'data=' + myData ,