Bug ? no route created for HTTP WAP 2.0 Gateway

Bug ? no route created for HTTP WAP 2.0 Gateway SearchSearch
Author Message
Thomas
New member
Username: Tbe

Post Number: 1
Registered: 08-2005
Posted on Tuesday, August 30, 2005 - 04:15 pm:   

Hello,

Here is my problem and how I resolved it. Sorry in advance for my poor english, hope I make it clear enough :

I am using NowSMS 5.51d to send and receive SMS. I have set it up to work with a WAP1.0 gateway, without problem. I use a GPRS/Edge modem and I let NowSMS create and handle the DUN connection by selecting directly the GPRS Modem.

(In MMS Settings and MMS Routing,
Network Connection : I choose my GPRS modem instead of a manually created DUN connection)

I have noticed that connection created by NowSMS doesn't check "use default gateway on remote network" but it works fine, NowSMS start the GPRS connection, and add a new route to the WAP 1.0 Gateway IP Address.

Next, I tried it with a WAP 2.0 Gateway (in fact, an HTTP proxy).

So I set the WAP Gateway IP to : http://myip:port
and let the others settings intact.

When I click Test Connection, I get an error "Gateway could not be contacted".

If I do a "route print" when the connection is opened, it seems there is no route to the WAP 2.0 Gateway IP.

So I created a DUN connection in which I checked "use default gateway on remote network" (TCP IP Properties, Advanced TCP/IP Settings, General tab), and choose this connection in NowSMS.

Now the connection test is OK.

So I think route creation process failed when an HTTP WAP 2.0 Gateway is specified.

Here is a few logs:

DUN Connection created by NowSMS:
11:53:00:343 [570] GetCIDForAPN: Found CID=2 for APN -------.com
11:53:00:359 [570] WSPRasDial: Before RasDial NowSMS - Sierra Wireless AirCard EDGE Modem
11:53:12:062 [570] WSPRasDial: RasDial connected to NowSMS - Sierra Wireless AirCard EDGE Modem
11:53:12:093 [570] WSPRestoreRoute: Modem: Sierra Wireless AirCard EDGE Modem
11:53:12:093 [570] WSPAddRoute: Routing http://x.x.x.x via 10.x.x.x
11:53:12:281 [570] WSPConnect: Proxy connection failed: http://x.x.x.x:yyyy
11:53:12:281 [570] WSPRasDial: Unable to connect to WAP gateway at http://x.x.x.x:yyyy
11:53:12:281 [570] WSPRasHangUp: Disconnecting RAS connection NowSMS - Sierra Wireless AirCard EDGE Modem
11:53:25:656 [570] WSPRasHangUp: Complete

DUN Connection manually created with default gateway checked:
12:09:19:265 [6E0] WSPRasDial: Before RasDial Sierra Wireless AirCard EDGE Modem
12:09:29:734 [6E0] WSPRasDial: RasDial connected to Sierra Wireless AirCard EDGE Modem
12:09:29:765 [6E0] WSPRestoreRoute: Dial-up: Sierra Wireless AirCard EDGE Modem
12:09:29:765 [6E0] WSPAddRoute: Routing http://x.x.x.x via 10.x.x.x
12:09:30:125 [6E0] WSPConnect: Connected to proxy: http://x.x.x.x:yyyy
12:09:30:125 [6E0] WSPRestoreRoute: Dial-up: Sierra Wireless AirCard EDGE Modem
12:09:30:390 [6E0] WSPRasDial: Connection to WAP gateway at http://x.x.x.x:yyyy OK!
12:09:31:390 [6E0] WSPRestoreRoute: Dial-up: Sierra Wireless AirCard EDGE Modem
12:09:31:609 [6E0] WSPConnect: Connected to proxy: http://x.x.x.x:yyyy
12:09:31:609 [6E0] WSPRestoreRoute: Dial-up: Sierra Wireless AirCard EDGE Modem
12:09:32:078 [6E0] HttpResponseWait: Ok
12:09:32:078 [6E0] WSPRestoreRoute: Dial-up: Sierra Wireless AirCard EDGE Modem
12:09:32:078 [6E0] WSPRasHangUp: Disconnecting RAS connection Sierra Wireless AirCard EDGE Modem
12:09:43:281 [6E0] WSPRasHangUp: Complete


That's all.

HTH,
Thomas
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4981
Registered: 10-2002
Posted on Tuesday, September 20, 2005 - 05:00 am:   

Hi Thomas,

Thanks for the feedback. We will fix this issue in a patch release planned for this week.

I will post a follow-up here when it is available.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5014
Registered: 10-2002
Posted on Thursday, September 22, 2005 - 08:50 pm:   

An update for NowSMS v5.51 (any subversion) has been uploaded to address the issue discussed in this thread.

The update patch is available at http://www.nowsms.com/download/latestpatch.zip.

To install this update, unzip the attached files into the NowSMS program directory, and use them to replace the existing files of the same name.

This update is for the v5.51 release of the Now SMS/MMS Gateway product only. Applying these updates to other versions may cause unpredictable results.

Remember to stop the NowSMS services before attempting to install these updates.

Specific details regarding the issue discussed in this thread:


* MMS/MM1 via Operator MMSC: Fix for HTTP/WAP2 proxy connections reporting "unable to connect to WAP gateway" because of routing definitions. (Note: To define an HTTP/WAP2 proxy connection, specify http://ip.addresS:port in the "WAP Gateway IP Address" field. Note that if you are using multiple GSM/GPRS modems to connect to the same mobile operator, we recommend using standard WAP/WSP proxy connections for best results.)