07-09-2009 08:06 PM - edited 07-09-2009 08:43 PM
Im from Ecuador, and me and other 4 people from the same country are getting this error response when a native java application is trying to make a http post to mydomain.com
The requested URL could not be retrieved:
While trying to process the request:
POST /somedir/more?var1=abc&var2=xyz& HTTP/1.1
Expect: 100-continue
Host: mydomain.com
Content-Length: 40
Content-Type: text/plain; charset=utf-8
Accept: */*
Connection: close
Invalid request. Some aspect of the HTTP Request is nivalid. Possible problems:
Missing or unknwon request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT request
...
Generated by Blackberry.Internet.Browsing.Service (squd/2.7.STABLE6)
This issue is only happening in my country (Ecuador). I have some friends in Argentina and they have no problems at all. What are the posible causes for this problem?
07-10-2009 12:54 PM
Hello andufo,
What is the application you are trying to use? Is it a custom made application? That error may be known to the provider of it, or included in their FAQ on their website.
From the error it seems that it was just rejected by the server because it was not a valid response it was expecting.
Thanks
07-10-2009 01:45 PM
Hi,
actually it is an application developed in our studio. It works on every country (more than 15.000 users by now) but it doesnt work where we live (Ecuador). The error comes from the carrier's server it self, and i need to know if there is a workaround for this issue.
Best regards,
Andufo
07-10-2009 01:59 PM
Well here are some followup questions,
What does the program actually do?
What is it trying to send when you submit a request?
What url is it posting the information to?
Is it the 'exact' same application that works in other countries?
Is it supposed to be useing the Internet Browser?
Are you on a BlackBerry Enterprise Server?
Cheers!
07-10-2009 02:29 PM
Hi again,
im attaching all the info you request:
What does the program actually do?
Social network (because of the TOS of this forum im not allowed to post project names or urls)
What is it trying to send when you submit a request?
What url is it posting the information to?
Im attaching all this at the end of the post.
Is it the 'exact' same application that works in other countries?
Yeap, the exact same one...
Is it supposed to be useing the Internet Browser?
No, it is a native app. The Browser is not used at all.
Are you on a BlackBerry Enterprise Server?
Im on BIS, all the users use BIS.
Technical details:
1) The app makes an Http Connection (POST) to:
http://mydomain.com/api/call?param1=abc¶m2=xyz
2) This is the Http connection configuration:
httpConnection = (HttpConnection) Connector.open(url);
HttpConnection.POST;
("Content-Type", "text/plain; charset=utf-8");
("Host", 'mydomain.com');
("Content-Length", 100); //depends on sent data
("User-Agent", 'BlackBerry8300... etc');
("Expect", "100-continue");
07-10-2009 03:02 PM
Hello andufo,
Would it be possible to see the HTTP configuration of a known working device? Something about it doesnt look right to me, but I just cannot put my finger on it.
07-10-2009 05:13 PM