Http Error 400 Bad Request Blackberry Simulator
400 - Bad Request" appears when using the BlackBerry Browser to access an intranet site. Article Number:000005328 First Published:August 15, 2015 Last Modified:August 15, 2015 Type:Support Environment BlackBerry® Device Software 4.1 to 4.7 BlackBerry® Enterprise Server 4.1 and 5.0 BlackBerry® Professional Software BlackBerry® Enterprise Server Express 5.0 SP1 Back to top ↑ Overview When attempting to connect to a web site on an organization's intranet using the BlackBerry® Browser on a BlackBerry smartphone, the following error message appears:HTTP 400 - Bad RequestIf the above error occurs, please see the below checklist.1) Confirm the BlackBerry Enterprise Server is using the correct web address for the proxy serverDepending on the version of the BlackBerry Enterprise Server, complete one of the procedures below. For BlackBerry Enterprise Server 4.1 SP2 and earlier:On the BlackBerry Enterprise Server, open Windows® Internet Explorer® and go to the intranet web site. On the Home screen of the BlackBerry smartphone, open the BlackBerry Browser. Display the menu, and then select Options > Cache Operations. Click Clear History, and then click Clear for Content Cache, Pushed Content, and Cookie Cache. Perform a hard reset on the BlackBerry smartphone. For instructions, see KB02141 . Note: Verify the web address field is set to http://.* For BlackBerry Enterprise Server 4.1 SP2 to 4.1 SP6: Open BlackBerry Manager. In the left pane, select
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > blackberry HTTP error 400 - bad request: socket exception: connection reset Want to Advertise Here? Solved blackberry HTTP error 400 - bad request: socket exception: connection reset Posted on 2008-03-12 BlackBerry Prog BlackBerry Smartphones 1 Verified Solution 15 Comments 5,054 Views Last Modified: http://support.blackberry.com/kb/articleDetail?articleNumber=000005328 2010-05-18 my company server web site randomly gives HTTP error 400 - bad request: socket exception: connection reset when accessed from blackberry browser.. clicking ok and retrying several times, it eventually works.. works fine on Internet explorer I have already tried the following and it did not fix it: On the BES under MDS properties ensure "Support HTTP Authentication" is set to TRUE.. any other ideas? 0 Question by:ODOTServer Facebook Twitter https://www.experts-exchange.com/questions/23236806/blackberry-HTTP-error-400-bad-request-socket-exception-connection-reset.html LinkedIn Google Best Solution byODOTServer Got it fixed... was something wrong with our network switch.. replaced it and the problem went away.. Go to Solution 15 Comments LVL 26 Overall: Level 26 BlackBerry 22 BlackBerry Prog 17 Smartphones 10 Message Expert Comment by:Gary Cutri2008-03-13 If the BES is connecting to the internet via a Proxy server it may be the proxy server dropping or not accepting the connection. Check your proxy logs if you have one in place. 0 Message Author Comment by:ODOTServer2008-03-13 the BES is not talking through a proxy 0 LVL 8 Overall: Level 8 BlackBerry 1 Message Expert Comment by:kind4me2008-03-13 There are two browsers on the bb, the internet browser and the blackberry browser. Does it happen on both of the browsers? One browser goes through RIM networks, the other goes through the BES system. If it is happening on one and not the other then it might be a DNS issue, or a port issue. 0 Message Author Comment by:ODOTServer2008-03-13 the server i am connecting to is on my company network, so I can only use the BES browser 0 LVL 8 Overall: Level 8 BlackBerry 1 Message Expert Comment by:kind4me2008-03-13 Oh this is an Intranet site? 0
here for a quick overview of the site Help Center Detailed answers to any questions you might have http://stackoverflow.com/questions/11322881/blackberry-http-post-request-length-trouble Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with http://www.codefromjames.com/wordpress/?p=97 us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just http error like you, helping each other. Join them; it only takes a minute: Sign up Blackberry http post request length trouble up vote 1 down vote favorite I have a blackberry program that sends data using http post requests to a backend. Now the code works perfectly on my simulators (OS 5/6/7) and even on real devices, http error 400 but on some other devices in some countries, the connection fails when using 3g with http error code 400 (Bad Request) but over WiFi it's ok.. After investigating, i realised that those telecom operators' bis-b proxies were "blocking"/"rejecting" the post request because of the size (>7kb). The problem is i can't shorten the request size, so any ideas on how to go about this? Any would be highly appreciated. Thanks EDIT This is the connection string used when connecting through the BIS. deviceside=false;connectionUID=GPMDSXXXX;ConnectionType=mds-public (XXXX varies from network to network) On further inspection, I realised that the "working" connections use the BIS_B TransportDescriptor type (5) to connect whereas the "failing" connections are using TCP_CELLULAR (1) to connect. i.e. calling connectionDescriptor.getTransportDescriptor().getTransportType() for the working connections gives 5 and for the failing ones gives 1. Any ideas why this could be happening? blackberry share|improve this question edited Jul 5 '12 at 4:25 asked Jul 4 '12 at 5:27 Cool Dude 126212 1 Then do not use BIS an
your ASP.NET sites on iPhone / iOS, Android, and other mobile devices locally with SharpProxy Posted on May 20, 2011 by James ANOTHER update for 2014: Ok, so I've upgraded to Visual Studio 2013 now and I feel your pain with IIS Express. Check out the latest version version of SharpProxy with new support for rewriting HTTP Host Headers. That should fix your issues. Enjoy! Update for 2014: I wrote this back when Visual Studio 2010 was all the rage. It came bundled with a little built-in web server that I believe is different from what more modern versions of Visual Studio use. I haven't had a chance to use them yet, but I believe they are based on IIS Express. I've heard that this server doesn't have the localhost restrictions that the original webserver did. With a little reading and some tweaks, you may be able to access it from your device over Wi-Fi. If you already have good information on this, please leave a comment with details! Thanks, and good luck! Have you ever wanted to test and debug a mobile ASP.NET site on an iPhone, Android phone, Blackberry, or other mobile device? If so, you might have noticed that the development server packaged up by default with Visual Studio is a little bit… limited. It doesn't allow anyone to access your local development web server, and will actually reject requests from outside your local machine outright. Maybe this is a good idea for security. Maybe it was a decision made to keep people from using the development servers instead of getting a real IIS server. Maybe it was just easier to program when developing Visual Studio? I am really not sure what the official reason behind it was. First, let me ask you a few questions about mobile web development issues with ASP.NET that used to be painful for me: Ever had to push a site up to a development server every time you make a change? Tired of waiting FOREVER for sites to publish after changes just so you can test them on your device?