11-19-2010 08:46 AM
Hi all.
We're having some trouble while trying to access our mobile application (running in SAP WebAS java) via the native browser. Every time we make an AJAX call (XHR), using the device (BES) or the simulator (MDS installed in my workstation) we get HTTP/1.0 400 Bad Request, and looking at the WebAS logs we find this exception with the following message:
HTTP request parsing and processing failed. HTTP error response [400 Bad Request] will be returned. com.sap.engine.services.httpserver.exceptions.HttpIllegalArgumentException: The time format is not valid.
Looking at the BES logs I also found we get some 400's while loading css and javascript files, however they seem to be retransmitted without further problems:
2010-11-18 18:15:50.666 BRST>:[2203]:<MDS-CS_S6004AS415_MDS-CS_6>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 20de5f55, USERID = u187b, CONNECTIONID = 736709289, DESTINATION = http://devportalsap.petrobras.com.br/irj/portalapp s/com.sap.portal.design.portaldesigndata/themes/po ... HTTPTRANSMISSION = HTTP/1.0 400 Bad Request> <2010-11-18 18:15:50.666 BRST>:[2203]:<MDS-CS_S6004AS415_MDS-CS_6>:<DEBUG>: <LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 20de5f55, USERID = u187b, CONNECTIONID = 736709289, DESTINATION = http://devportalsap.petrobras.com.br/irj/portalapp s/com.sap.portal.design.portaldesigndata/themes/po ... HTTPTRANSMISSION = [Headers Section]: 8 headers>
I think it may have to do with this retransmission, here is the log for the AJAX request (app.html makes the XHR call):
<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToTranscoder, DEVICEPIN = 20de5f55, USERID = u187b, CONNECTIONID = 736709296, DESTINATION = http://devportalsap.petrobras.com.br/irj/portalapps/br.com.petrobras.mobile.clientside/app.html?app= ... HTTPTRANSMISSION = HTTP/1.0 400 Bad Request> <2010-11-18 18:16:00.901 BRST>:[2608]:<MDS-CS_S6004AS415_MDS-CS_6>:<DEBUG>: <LAYER = IPPP, HANDLER = HTTP, EVENT = SentToTranscoder, DEVICEPIN = 20de5f55, USERID = u187b, CONNECTIONID = 736709296, DESTINATION = http://mysite.com/irj/portalapps/br.com.mysite.mob ile.clientside/app.html?app=Roteiro×tamp=1, HTTPTRANSMISSION = [Headers Section]: 8 headers>
Any clues or possible solutions?
Thanks in advance!
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
11-19-2010 09:31 AM
are you usiing the BlackBerry Browser?
KB16463 - How to change the default browser on a BlackBerry smartphone
11-19-2010 11:14 AM - last edited on 11-19-2010 11:17 AM
Yes, I've tried using both browsers (Internet Browser and our company's), with the same results.
I forgot to mention it, but while accessing from the simulator using a simulated wi-fi connection we get no errors. It only happens when using 3G simulation (MDS), as well as using the physical BB (and thus the company's BES).
Thanks!
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
11-19-2010 11:42 AM
can you try with an Ip address instead of a URL and see if it make a differenece with the BlackBerry browser?
02-04-2012 04:35 AM
Hi,
I have the same problem, webapplication on SAP was and i gat a 400 bad request when the mds or bes try to get some images or a css, this problem not always happen, have you resolved your problem?
Can you help me?
I try also with ip address