Wrong message being displayed

Wrong message being displayed SearchSearch
Author Message
Sachin Purohit
Posted on Friday, January 03, 2003 - 10:26 am:   

I am using Nokia 7110 handset with NowSMS gateway for providing SMS message based facility. The user would send a message like "EQ 1234 5". The message is processed by an asp file and a response is redirected to the sender of the message. This was working properly in the past. However, today it gives some error message back to the sender.
When I send the http request using a browser, the expected message gets sent to the user.

I don't know what is the problem. I wonder if I have not configured Now SMS Gateway properly. I tried various things. But failed. Can you please help.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Friday, January 03, 2003 - 06:40 pm:   

Sachin,

Is the error something like:

Command not completed. Request returned invalid content type:

If it was working in the past, and just stopped working, then is there any chance that something has changed at the web server?

One of the problems that we have found with the "2-way" configuration, when you are using HTTP "commands to execute", is that when we issue the HTTP command, we are not including a "Host:" header in the request. The lack of the "Host:" header can cause a multihomed web server to be unable to interpret the request (the web server needs to see which of its hosts the request is for).

We're preparing a fix for this problem in the next release.

Since it was working on your system, and is not working now, I'm wondering if something changed with your web server configuration?

I'd suggest that you put the gateway into debug mode (manually edit SMSGW.INI, and add Debug=Yes under the [SMSGW] section header, then restart the gateway service). Then repeat your attempt, and e-mail the SMSDEBUG.LOG file to nowsms@now.co.uk, and we'll take a closer look at it.

-bn