2 way SMS constantly reprocessing command

2 way SMS constantly reprocessing command SearchSearch
Author Message
Andy
Unregistered guest
Posted on Tuesday, June 15, 2004 - 04:28 pm:   

We are trying to use the NOW SMS gateway to control APC switches (in order to "hard" reboot servers for example via a simple sms command).

When we try the script out it does reboot the server (in our testing case a lamp), but it does this every 5 seconds until the NOW SMS service is stopped or the SMS message deleted.

I have activated the debug logging wich I have included and I suspect it has to do with what the embeded device's webserver is returning as error code.

Any help would be be great !!

Thanks

Andy

PS:
I have removed the password and IP adress of the device in the log file for obvious reasons....

text/plainDebug log
SMSDEBUG.LOG (125.6 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2830
Registered: 10-2002
Posted on Tuesday, June 15, 2004 - 08:34 pm:   

Hi Andy,

The command is returning an HTTP response error, that is indeed why we are retrying.

The sequence in your log is interesting. I see that the issue is that we are sending an
"Authorization:" header in the original request. The server responds back with a redirect response ... and the issue seems to be that we are not sending the "Authorization:" header back for retrieving the redirected URL, even though the request is on the same host.

So this is something that we should fix. Send me an e-mail at nowsms@now.co.uk ... referencing this problem, and I will e-mail you an update that should address this problem.

-bn