SMS module not replying otp

Any communication concerning the SMS module

Moderators: hugo, alexandre, rmvanarkel

Post Reply
adhiw
Posts: 2
Joined: Mon Apr 01, 2013 9:25 am

SMS module not replying otp

Post by adhiw » Wed Apr 03, 2013 3:44 am

Hi everyone,
currently i am running cyclos + sms monitor in my computer.

when i'm trying to make payment request via sms, from sms monitor by sending this message : rq USER2 10000

then i got these informations in the log:
-LOGGER RequestPaymentCommand
Executing command: requestPayment Cyclos = cyclos Message = trace = 9 provider = null from = USER1 to = 9999 words = 3 text = ************************ driverId = aioDriver Parameters = PAYER = USER2 AMOUNT = 10000 CURRENCY = units
-LOGGER RequestPaymentCommand
Request payment confirmation was sent. Listening to incomming request payment from Cyclos. Driver Message: trace = 9 provider = null from = USER1 to = 9999 words = 3 text = ************************ driverId = aioDriver

Strange thing is, there is no otp reply from sms module. For now i couldn't figure out what's the problem I will appreciate any help from any of you. . .
Last edited by adhiw on Wed Apr 03, 2013 4:03 am, edited 1 time in total.

adhiw
Posts: 2
Joined: Mon Apr 01, 2013 9:25 am

Re: About Cyclos SMS module

Post by adhiw » Wed Apr 03, 2013 3:53 am

after logging in to cyclos there is an error notification

Code: Select all

Date 	03/04/2013 13:47:23
Logged user 	No logged user
Path 	http://192.16.30.145:8080/sms/services/paymentRequest
Parameters 	
payer username= USER2
receiver username= USER1
ticket= NAVKKA17ELMXOAJC0UUGDE6WPCGLWQRD
Java error details 	
javax.xml.ws.WebServiceException: Could not send Message.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
at com.sun.proxy.$Proxy211.requestPayment(Unknown Source)
at nl.strohalm.cyclos.utils.paymentrequest.PaymentRequestHandlerImpl$PaymentRequestSenderThreads$1.doInTransactionWithoutResult(PaymentRequestHandlerImpl.java:88)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at nl.strohalm.cyclos.utils.TransactionHelperImpl$1.doInTransaction(TransactionHelperImpl.java:242)
at nl.strohalm.cyclos.utils.TransactionHelperImpl$1.doInTransaction(TransactionHelperImpl.java:1)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at nl.strohalm.cyclos.utils.TransactionHelperImpl.runInCurrentThreadWithResult(TransactionHelperImpl.java:236)
at nl.strohalm.cyclos.utils.TransactionHelperImpl.runInCurrentThread(TransactionHelperImpl.java:197)
at nl.strohalm.cyclos.utils.paymentrequest.PaymentRequestHandlerImpl$PaymentRequestSenderThreads.process(PaymentRequestHandlerImpl.java:79)
at nl.strohalm.cyclos.utils.paymentrequest.PaymentRequestHandlerImpl$PaymentRequestSenderThreads.process(PaymentRequestHandlerImpl.java:1)
at nl.strohalm.cyclos.utils.WorkerThreads$WorkerThread$1.call(WorkerThreads.java:71)
at nl.strohalm.cyclos.utils.WorkerThreads$WorkerThread$1.call(WorkerThreads.java:1)
at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
at nl.strohalm.cyclos.utils.WorkerThreads$WorkerThread.run(WorkerThreads.java:67)
Caused by: java.net.SocketTimeoutException: SocketTimeoutException invoking http://192.168.30.145:8080/sms/services/paymentRequest: connect timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1457)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1442)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:658)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
... 14 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
at sun.net.www.http.HttpClient.New(HttpClient.java:290)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1394)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1336)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1414)
... 24 more 

Post Reply