Problem in IWeb | developer.brewmp.com Problem in IWeb | developer.brewmp.com

Developer

Problem in IWeb

Forums:

Hello guys,

I am a BREW Programmer, just facing a problem with using IWEB API, the problem is i am making a web request and for two times the response is coming correctly, but whenever i make a hit for the third time, it's gives error and the response code which is coming is -1289 always, i suppose -ve response code means it's some system error, but i am not able to get it why it's coming, please help me out if somebody is familiar with this problem.

search the forum..i have seen couple of threads with same Iweb error - 1289

search the forum..i have seen couple of threads with same Iweb error - 1289

When you try to connect to a server in Internet or any other profile(Brew or Wap) and your device don't set to that profile you will get this error...

When you try to connect to a server in Internet or any other profile(Brew or Wap) and your device don't set to that profile you will get this error...

Brewin wrote:When you try to connect to a server in Internet or any other profile(Brew or Wap) and your device don't set to that profile you will get this error...
HI Brewin
Could you explain me the meaning of setting a device to a particular profile. I too encountered this issue often , despite the fact that handset that i 'm using is enabled for making web requests.

Brewin wrote:When you try to connect to a server in Internet or any other profile(Brew or Wap) and your device don't set to that profile you will get this error...
HI Brewin
Could you explain me the meaning of setting a device to a particular profile. I too encountered this issue often , despite the fact that handset that i 'm using is enabled for making web requests.

When you sure that the url is right and network availability,
Then you should check, which profile is set to establish network connection.
brewuser profile is used to connect to operator network.
internet profile is used to connect to public domain.
By default all handsets will set this to username:brewuser password:brewuser
To access your server which is in public domain i.e Internet one has to use
username:internet password:internet
username/password may vary from one operator to another operator but the profiles and usage are same.....
if mobile set the profile to internet, then the mobile can't access the operator network(all the operator url's become invalid..) i.e importantly catlog (ADS,BDS).
So always handset profile is set to brewuser, i.e handset can only reach those IP which are in operator network. In this case when you try to connect to ur server which is in public domain , the handset won't able to find it and you get this error.
Generally this error popup, when the specified url is unreachable or no connection to that domain network
When a data call is initiated by a handset, the handset will recieve a private IP from the network pool of IP's.
All public domain data call request's will go through operator firewall server. At this place based on the domain IP the firewall can allow/deny the request.
Generally the firewall deny requests that want to connect to public domain IP.
But some trusted vendor application have to connect to their respective servers in order to run the application.
For this, When the vendor send the application for testing that needs to connect to their server for some data then their public domian sever IP is white listed in the firewall server as trusted IP.
When a request is sent with the url that is under trusted list, the firewall will allow the request to connect to the server outside its network.
Operators will do this as part of maintaining their network secure.

When you sure that the url is right and network availability,
Then you should check, which profile is set to establish network connection.
brewuser profile is used to connect to operator network.
internet profile is used to connect to public domain.
By default all handsets will set this to username:brewuser password:brewuser
To access your server which is in public domain i.e Internet one has to use
username:internet password:internet
username/password may vary from one operator to another operator but the profiles and usage are same.....
if mobile set the profile to internet, then the mobile can't access the operator network(all the operator url's become invalid..) i.e importantly catlog (ADS,BDS).
So always handset profile is set to brewuser, i.e handset can only reach those IP which are in operator network. In this case when you try to connect to ur server which is in public domain , the handset won't able to find it and you get this error.
Generally this error popup, when the specified url is unreachable or no connection to that domain network
When a data call is initiated by a handset, the handset will recieve a private IP from the network pool of IP's.
All public domain data call request's will go through operator firewall server. At this place based on the domain IP the firewall can allow/deny the request.
Generally the firewall deny requests that want to connect to public domain IP.
But some trusted vendor application have to connect to their respective servers in order to run the application.
For this, When the vendor send the application for testing that needs to connect to their server for some data then their public domian sever IP is white listed in the firewall server as trusted IP.
When a request is sent with the url that is under trusted list, the firewall will allow the request to connect to the server outside its network.
Operators will do this as part of maintaining their network secure.