"Internal Error" on phone when connecting...

"Internal Error" on phone when connecting... SearchSearch
Author Message
Chris W
Unregistered guest
Posted on Thursday, February 12, 2004 - 07:04 am:   

I have the proxy set up and running, all pertinent ports routed to the server. When trying to connect to a site through the proxy on a Samsung x426, I'm recieving an "Internal Error" message, even when the phone seems to be conencting fine and the proxy program is indicating both requests and a user session. Is this an http 500 "internal error" or is it just a coincidence in terminology? In either case, I'm not quite sure how to go about fixing it... any help is appreciated
Kent Williams
Moderator
Username: Kent

Post Number: 43
Registered: 10-2003
Posted on Thursday, February 12, 2004 - 05:40 pm:   

It's hard to say for certain.

We don't generate the text "internal error" anywhere. But if the request went to a web server, and the web server returned a 500 error code ... when that got routed back to the phone, the phone might display "internal error".

I'd suggest we enable the WAPDEBUG.LOG, and take a look at the raw transaction to figure out what is going on. Manually edit WAPGW.INI, and under the [WAPGW] section header, add Debug=Yes.

Repeat the request that you are making, and that should generate a WAPDEBUG.LOG. Either e-mail it to wap@now.co.uk, or post in reply here.

--
Kent Williams
Now Wireless Support
Anonymous
 
Posted on Tuesday, February 17, 2004 - 10:26 pm:   

hi all,
i'm new in j2me.
we use lan networking, so we share internet access together behind proxy. how
can i connect to internet behind gateway ? because when i try to access internet
with set up wtk20 preferences using ip address our gateway,there always error
messages, and i failled to acces internet.
here are the error message :
Exception reading from http
java.io.IOException: Error initializing HTTP tunnel connection:
HTTP/1.0 403 Forbidden
Server: ......
Mime-Version: 1.0
Date: Mon, 16 Feb 2004 15:25:05 GMT
bla..bla..


regards
ar_reedho
Kent Williams
Moderator
Username: Kent

Post Number: 53
Registered: 10-2003
Posted on Thursday, March 18, 2004 - 06:30 pm:   

ar_reedho,

I need more details on your configuration in order to understand.

Is the gateway that you are using a Now.WAP gateway?

Are you connecting to it as an HTTP/WAP2 proxy? (If so, do you have "Allow SSL/TLS Tunnel to non-standard ports" enabled? If not, we will only allow you to tunnel to port 443 on a destination server.)

Is Now.WAP configured to use a proxy itself? If so, maybe that proxy will not allow tunneled connections to non-standard ports?

--
Kent Williams
Now Wireless Support
Vinay
Unregistered guest
Posted on Wednesday, August 25, 2004 - 09:07 am:   

Hi,
i am also in the same situation as many has sent the problems,i am also getting run time error as

Caught IOException : java.io.IOException: Error initializing HTTP tunnel connection:
HTTP/1.0 403 Forbidden
Server: Squid/2.4.STABLE6
Mime-Version: 1.0
Date: Wed, 25 Aug 2004 07:56:35 GMT
Content-Type: text/html
Content-Length: 788
Expires: Wed, 25 Aug 2004 07:56:35 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from 192.168.0.1
Proxy-Connection: keep-alive




Kent Williams
Moderator
Username: Kent

Post Number: 101
Registered: 10-2003
Posted on Wednesday, September 01, 2004 - 09:47 pm:   

Hi Vinay,

You say that you are having the same problem as the people above, yet you did not provide any additional information.

This is the support forum for the Now.WAP proxy. Are you using the Now.WAP proxy?

Basically, a 403 error means that the proxy server is rejecting your request saying that you do not have access rights to do what you are attempting to do.

If you are using Now.WAP, then please refer to the message above this one for configuration guidance.

--
Kent Williams
Now Wireless Support
Anonymous
 
Posted on Friday, October 29, 2004 - 07:45 am:   

Kent,

I'm getting same problem with Chris above.
You said, in order to debug I need to create WAPGW.ini file. Where should I create?

And the other thing is "(If so, do you have "Allow SSL/TLS Tunnel to non-standard ports" enabled? If not, we will only allow you to tunnel to port 443 on a destination server.) "
you mentioned above.
How do I tunnel not secured port to server?

Thanks.
Anonymous
 
Posted on Thursday, December 01, 2005 - 08:00 am:   

Hi
I am new in here; and I have a problem.
I using a system that monitoring MMS services, sometimes I get "Service Failure: 500" I wondering is it before it connect to the wap getway or this is response of the wapgetway
Thanks for ant help and best regards

pkq
New member
Username: Pkq2008

Post Number: 1
Registered: 10-2006
Posted on Sunday, October 15, 2006 - 06:33 pm:   

I also met 403 error in J2ME.
What should we do for it?
Does HTTP proxy in WAP2.0 gateway has some specific settings for CONNECT method?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6700
Registered: 10-2002
Posted on Wednesday, October 18, 2006 - 09:28 pm:   

Hi,

This is the support forum for the NowWAP product.

I can answer your questions in the context of support for our product ... but it is not clear to me that you are actually using our product.

As Kent stated above:

"Basically, a 403 error means that the proxy server is rejecting your request saying that you do not have access rights to do what you are attempting to do."

If you are issuing a "CONNECT" request via a WAP 2 proxy, then it is very possible that the proxy is limiting these requests. They might not allow these requests at all, or they might only support them to port 443 (the standard HTTPS port).

If you are using NowWAP as the proxy, then you need to enable "Allow SSL/TLS Tunnel to non-standard ports" in the configuration settings in order to support the CONNECT request going to ports other than 443.

If you are an end user, then you are at the mercy of your mobile operator.
pkq
New member
Username: Pkq2008

Post Number: 2
Registered: 10-2006
Posted on Thursday, October 19, 2006 - 04:56 pm:   

Hi,Bryce,

I met this problem at our mobile operator, so, it
may not use nowWap product. I just enter into this forum by google link and then post my questions. If you think it is not relevant to this forum, please feel free to delete it.

Let me clarify my problem again.
I have a Windows Mobile 5.0 phone, which needs to set some gateway parameters, including wap gateway IP/port. Of course, I can get these parameters from mobile operator.
In the phone's Internet Explorer Mobile, I can surf to wap sites successfully.
But When I write one J2ME midlet to http-connect to the wap gateway's port, the gateway always return "403" error.
So, it is a little strange.
I may try this on the NowWap gateway and see again.
Kent Williams
Moderator
Username: Kent

Post Number: 139
Registered: 10-2003
Posted on Friday, October 20, 2006 - 08:36 pm:   

The discussion has definitely strayed off topic ... but here's a pointer ...

Unless you can change the settings on the device, so that it does not connect through this proxy, then you are most likely out of luck. (Unless you can reconfigure your server to accept connections on port 443 ... this might work, as the proxy server probably allows connections on this port, as this is the port that a web browser would use for connecting to "https" links.)

I would not bother with trying to setup a different proxy. Ideally, you'd want to try to connect without a proxy ... if it is supported in your operator environment.