2 way SMS constantly reprocessing command | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2004 ⬆ |
◄ ► |
Author | Message | ||||
Andy Unregistered guest |
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....
| ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2830 Registered: 10-2002 |
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 |