pvdung / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

SMS response not being read properly by PWM causing error #620

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Configure SMS using Clickatell configuration from admin guide
2.  Send test message
3.

What is the expected output? What do you see instead?
Expecting SMS test to have positive response.  Instead, I get WARN error 5078 
ERROR_SMS_SEND_ERROR with "result body did not matching any configured reggae 
match settings".  TRACE logs show that result body matched.

What version of PWM are you using?
pwm-20141103.war

What ldap directory and version are you using?
N/A

Please paste any error log messages below:
2014-11-03T15:40:52Z, TRACE, http.PwmRequest, {s} POST request for: 
/pwm/private/config/ConfigEditor [10.0.2.166]
  preventCache='1415058052629'
  pwmFormID='6bZL4863EQSsZS3zK2IQhnAodjyXFAhm14977fffed2Ndp1K'
  processAction='smsHealthCheck'
2014-11-03T15:40:52Z, DEBUG, servlet.ConfigEditorServlet, {s} beginning 
restSmsHealthCheck [10.0.2.166]
2014-11-03T15:40:52Z, TRACE, queue.SmsQueueManager$SmsSendEngine, preparing to 
send SMS data: 
user=XXXXXXXXX&password=XXXXXXXXXX&api_id=0000000000&MO=1&from=17752001000&to=18
005551212&text=Testing+with+trace+on.
2014-11-03T15:40:54Z, TRACE, queue.SmsQueueManager$SmsSendEngine, sms send 
result body: HTTP/1.1 200 OK
ID: ce38ee73060a71b17578acb8dcbf0fb0
2014-11-03T15:40:54Z, TRACE, queue.SmsQueueManager, result body matched 
configured regex match setting: ^ID:.*
2014-11-03T15:40:54Z, DEBUG, servlet.ConfigEditorServlet, {s} completed 
restSmsHealthCheck in 888ms [10.0.2.166]

Original issue reported on code.google.com by para...@gmail.com on 3 Nov 2014 at 11:48

GoogleCodeExporter commented 9 years ago
Whoops, that's supposed to say "regex" not reggae.

Original comment by para...@gmail.com on 3 Nov 2014 at 11:50